From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4ADA1158086 for ; Wed, 22 Dec 2021 05:24:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BBBE2BC00E; Wed, 22 Dec 2021 05:24:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7984A2BC00E for ; Wed, 22 Dec 2021 05:24:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30B68343024 for ; Wed, 22 Dec 2021 05:24:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CAA8257 for ; Wed, 22 Dec 2021 05:24:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1640149519.59a511f3eb46bb4dcc9569513497509699bf1d38.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/qpdf/Manifest app-text/qpdf/qpdf-10.5.0.ebuild X-VCS-Directories: app-text/qpdf/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 59a511f3eb46bb4dcc9569513497509699bf1d38 X-VCS-Branch: master Date: Wed, 22 Dec 2021 05:24:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 14a2fd93-416d-4a7c-b16c-2df2ca161c1b X-Archives-Hash: 7747e3eb8edfb01a070e8ffadc953ebb commit: 59a511f3eb46bb4dcc9569513497509699bf1d38 Author: Sam James gentoo org> AuthorDate: Wed Dec 22 05:05:19 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 22 05:05:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a511f3 app-text/qpdf: add 10.5.0 Signed-off-by: Sam James gentoo.org> app-text/qpdf/Manifest | 2 + app-text/qpdf/qpdf-10.5.0.ebuild | 88 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest index c7ed6bb77b41..22144477787b 100644 --- a/app-text/qpdf/Manifest +++ b/app-text/qpdf/Manifest @@ -1,2 +1,4 @@ DIST qpdf-10.3.2.tar.gz 18943834 BLAKE2B 5b4e320ddd663721d8201139842bb09a752347f86c3e33116063b2fff1426aed5ff6e3c581c120771a712a8ed278102e0d41816db207a25dabd84e5b89490d35 SHA512 4e630959abf27d1801e36d0cbd754945ded42ade9299057a6b9a642c7cb2a3f8242e274642f1c33a65b4a5a77562d91dcbe64fd5772d483cbe5edb4a6a389219 DIST qpdf-10.4.0.tar.gz 18942833 BLAKE2B bc984c742bec582b5b67f7a4f4f00bb22a36e8e14d78b8e8848baed0c94489f6920070bc317928c53aca855c252c2fa5de0fba8b64ba16ba37afc2362d6ae7ba SHA512 7a17cc2b3168bb60ac05d01b585d34d94f62e44e309b86635351b2564bc2c3b7846d3a008ae0d6c068bce3b1d9c42d3a3ab40de3f85a1ec4952280cf8321a041 +DIST qpdf-10.5.0-doc.zip 6621139 BLAKE2B 9297946619df67799a450495ead8a980d8e2cfa92556e9eb6ac6f365b80d489bb11a9c5dd95e13df9a8fb013a3f254e89ae1682e8be73799ba0c872dc50075c5 SHA512 75c4eac6e828eb5f8544b4194b775e8258a769aa5e18006b9491d9658981abcd286cd082a233122805e785f283704dccaf2078cd84965ab58ebc6c80fdb4a06f +DIST qpdf-10.5.0.tar.gz 18362586 BLAKE2B efb0a051df9824c6324ce3c4de7b6f5890a04e0a0e1e08a1086c7b7a7e3d29e01d8b6760eeb36cd5461f5ea8a9ac1e6453711df53b514c223abd3d2a41ae1a93 SHA512 758dd4fd86b79a8b08738abb36685cf4a458dcf70a480efe3207d1148a691cf06a8040c83075ace9c3bbaf372cefe78508df2e52513cc969dca76442ed43775d diff --git a/app-text/qpdf/qpdf-10.5.0.ebuild b/app-text/qpdf/qpdf-10.5.0.ebuild new file mode 100644 index 000000000000..d83ec13d06ca --- /dev/null +++ b/app-text/qpdf/qpdf-10.5.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files" +HOMEPAGE="http://qpdf.sourceforge.net/" +SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz" +SRC_URI+=" doc? ( mirror://sourceforge/qpdf/${P}-doc.zip )" + +LICENSE="|| ( Apache-2.0 Artistic-2 )" +# subslot = libqpdf soname version +SLOT="0/28" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris" +IUSE="doc examples gnutls ssl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib + virtual/jpeg:0= + ssl? ( + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( dev-libs/openssl:= ) + ) +" +DEPEND="${RDEPEND} + test? ( + app-text/ghostscript-gpl[tiff(+)] + media-libs/tiff + sys-apps/diffutils + ) +" +BDEPEND="dev-lang/perl + doc? ( app-arch/unzip )" + +DOCS=( ChangeLog README.md TODO ) + +src_configure() { + # Keep an eye on https://qpdf.readthedocs.io/en/stable/packaging.html. + local myeconfargs=( + --disable-check-autofiles + + --disable-implicit-crypto + --enable-crypto-native + + --disable-oss-fuzz + $(use_enable test test-compare-images) + ) + + if use ssl ; then + local crypto_provider=openssl + + if use gnutls ; then + crypto_provider=gnutls + fi + + myeconfargs+=( + --with-default-crypto=${crypto_provider} + --enable-crypto-${crypto_provider} + ) + fi + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use doc ; then + docompress -x /usr/share/doc/${PF}/singlehtml + dodoc -r "${WORKDIR}"/${P}-doc/. + + fi + + if use examples ; then + dobin $(find examples/build/.libs -maxdepth 1 -type f -executable || die) + fi + + # Completions + dobashcomp completions/bash/qpdf + + insinto /usr/share/zsh/site-functions + doins completions/zsh/_qpdf + + find "${ED}" -type f -name '*.la' -delete || die +}