summaryrefslogtreecommitdiff
path: root/app-text/qpdf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /app-text/qpdf
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'app-text/qpdf')
-rw-r--r--app-text/qpdf/Manifest8
-rw-r--r--app-text/qpdf/qpdf-10.5.0.ebuild4
-rw-r--r--app-text/qpdf/qpdf-10.6.1.ebuild88
-rw-r--r--app-text/qpdf/qpdf-10.6.2.ebuild89
4 files changed, 186 insertions, 3 deletions
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
index eb086fa32522..3c3adc8cba7c 100644
--- a/app-text/qpdf/Manifest
+++ b/app-text/qpdf/Manifest
@@ -2,7 +2,13 @@ DIST qpdf-10.3.2.tar.gz 18943834 BLAKE2B 5b4e320ddd663721d8201139842bb09a752347f
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
+DIST qpdf-10.6.1-doc.zip 6850012 BLAKE2B 866bfd1261f392b9e666a948c4002a625952950aeeca974402ddbf1172329a8186fd6c74282002e566cf844a9af5f1a78d433717e9ec350faac5b9649f517fe9 SHA512 73180e1fc562b163a70b4c2c7342b1d7769fe070137db9d5c4e3345d4d994400a39d64c4364b2188681a915e1df4ab3f2ab6ce28e5dad1d710b254d1d1b021ab
+DIST qpdf-10.6.1.tar.gz 18518114 BLAKE2B a51e856cf6af380845b30a396d2f4a73ddc2ea6d85ce29198744b781556782d9b9e02a3b575c2f94aa1bcbb5e94818e8a4d7e19625258032b09f2e5d98f6efca SHA512 01bc02da2e389423d575053f1460638efb0af069bc63cd898b958e7105990c21670a281c834e3d72846542c74f2bda083f1cb786b4599332fec5b817934e44df
+DIST qpdf-10.6.2-doc.zip 6850957 BLAKE2B cc287e7b5dee4829a150b536ae2f092a1773fd7b1449ef7c249893cde756b82e503579149c4907f9d7f268de1f34c393d02ff96fe071641f55f8d6c33e164a39 SHA512 aecce306e334f172b9d3beb3f1a0d56eb8e5066682fc549741c1c5db2f0390b050f55fb97a9f2bd5efc48fc5c654dde0b14772c05d22ee6605ca9231f8b28bff
+DIST qpdf-10.6.2.tar.gz 18524447 BLAKE2B caf5b0c683c26ace1afbd83c454a4a787bbf49ac08d1ace8652e57866fba3f0f2e05b97ab36db59db78c5dbcb841935ddbd2fab5e57bd92c33e1eec776e83d1c SHA512 87a76c5e199b9af9744114120649f80aa271347262646c1b4a3c6008668f8a5ec215f6389a1f3202a61904f1ba74db442df59132f5090555b29ccedea60481f0
EBUILD qpdf-10.3.2.ebuild 1251 BLAKE2B a6c12b3178f671060f2c01633ec3a6b0de3343ca9087998ca54a3364f06ae055d442595ad173057c936c55024cb90b81f170d09259f2d14b7f82aa414c7701df SHA512 84fe44d555383379f59fac01481619e3282ee334e862ba16df186f58ecf73ced5a6a1877e2ac8519ae604850910c07133b4e1cf60be0caeb29d129e81cb7e8c2
EBUILD qpdf-10.4.0.ebuild 1247 BLAKE2B e769fc2ee7cb79b7311f193ef3cca6d2733255f24ce4c1d854ce0f7d4a2c6c49a9d7c4d351be4faff5d76ad098c3f144e54130699c6a307551af0e8196a2de4b SHA512 e5642af4915aaad62124c6df5c2bb8d16d5006c0e84166b4ee9cd37468bcc34b71d8cd556d7b84d2d2b68b036724a007581dcf1eb53f425d6245a9215bd14149
-EBUILD qpdf-10.5.0.ebuild 1895 BLAKE2B 4f655622af49383d4cea2354042215f58e25e5241e0c6f378a7c65f9739c60adb9aee8d8bc1ab5c5879e15e0ebf2c0513899504a13bf9e9594b0b46efe90310f SHA512 0a90e110633cd12a3fa5d115cb0b3cd189dfbd0ac8985433dbc57106deb296457108f64a1bcb0126deeb1bec78c1a440baee8f0a18898d7cc3bc7da3a7472bf5
+EBUILD qpdf-10.5.0.ebuild 1887 BLAKE2B 61a270a2743e608c1d5131774d30b0aec81338c8d3d427d2d5093b57bc671594361b2e10be669b03057f24e50738e1205f1fb03a2dabcef0fd858791ffb8cf2e SHA512 553425265679b4c58a2a0c612cbd3c1ceab7e6031436d1b15297ff9a32276caf3cfb4c478305b0ca0dc0982a65bf0062bb522b47274d92856a86920f4b8d8bb1
+EBUILD qpdf-10.6.1.ebuild 1895 BLAKE2B 82efd2fa7f5a6d4057c99f52b0511567292b3f9c2d2d90e922bfe3004d7789c8d0c5bd7f8d6535c692162d0792765de4da41b7aef4902bb21a9c51382d6c362c SHA512 87a392c575c22b987e5a62f9889231a986264cb5ad7df080640e88e7101b69c4fae5155f14ec0c6c6316e29d7d003e65bab7ebd9767924edb505446a4fd898b3
+EBUILD qpdf-10.6.2.ebuild 1856 BLAKE2B f491e4961857ec4f4dc54852268f12a1c057b128e620ad242eaa0f691f58ced77bb0f113761b45c2c0b44ea6448cf091a5cfb99d2383953ca7a42d70767add78 SHA512 256fe8e5016f57b9c8ebbd36aa7c9c5e9cc85cdd05cd0dfa3c23510b4e985dbcebd173078ffef5a25f2f83a46349908fed79393d848a6803aeb8cc83d2c97ca0
MISC metadata.xml 444 BLAKE2B 1febc86d8f85aff5ec02d910550aca3bde66111c3e7364b264db3fca10020ea9bc2887dc8283217e2cb8d05ba46c176a92993e0d418528cbe590771dccc49d90 SHA512 dde5e34ef0d6c65df8a2ca8d630182413800f4c10f4b9860ed752623b6f4864dd4969c757e06b2689c8c5da3377bfcc28ec223e531432add083cd4a68211ea1c
diff --git a/app-text/qpdf/qpdf-10.5.0.ebuild b/app-text/qpdf/qpdf-10.5.0.ebuild
index d83ec13d06ca..ed57a49349ff 100644
--- a/app-text/qpdf/qpdf-10.5.0.ebuild
+++ b/app-text/qpdf/qpdf-10.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ 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"
+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 )"
diff --git a/app-text/qpdf/qpdf-10.6.1.ebuild b/app-text/qpdf/qpdf-10.6.1.ebuild
new file mode 100644
index 000000000000..0b1fa0eff5ea
--- /dev/null
+++ b/app-text/qpdf/qpdf-10.6.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 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
+}
diff --git a/app-text/qpdf/qpdf-10.6.2.ebuild b/app-text/qpdf/qpdf-10.6.2.ebuild
new file mode 100644
index 000000000000..85eaaf317a88
--- /dev/null
+++ b/app-text/qpdf/qpdf-10.6.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2022 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
+ 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 myconf=(
+ --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=$(usex gnutls gnutls openssl)
+ myconf+=(
+ --with-default-crypto=${crypto_provider}
+ --enable-crypto-${crypto_provider}
+ )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ if use doc ; then
+ docompress -x /usr/share/doc/${PF}/singlehtml
+ dodoc -r "${WORKDIR}"/${P}-doc/.
+
+ fi
+
+ if use examples ; then
+ find examples/build/.libs -maxdepth 1 -type f -executable \
+ -exec dobin {} + || 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
+}