diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 05:40:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 05:40:31 +0000 |
commit | d117dce29795dfc5a9824d31a128decaa37f73d2 (patch) | |
tree | ef95e8fa6dfdf9a769d594a457e755c8782a345b /app-text/qpdf | |
parent | fa49bc1447d334c70e45ded349d3c37319dab7b4 (diff) |
gentoo auto-resync : 25:02:2024 - 05:40:31
Diffstat (limited to 'app-text/qpdf')
-rw-r--r-- | app-text/qpdf/Manifest | 4 | ||||
-rw-r--r-- | app-text/qpdf/qpdf-11.9.0.ebuild | 99 |
2 files changed, 103 insertions, 0 deletions
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest index e5911e641207..f9994254219c 100644 --- a/app-text/qpdf/Manifest +++ b/app-text/qpdf/Manifest @@ -4,6 +4,10 @@ DIST qpdf-11.7.0.tar.gz.asc 833 BLAKE2B e0b15e6ed6b67fc222f7b4d9f863e8630af814be DIST qpdf-11.8.0-doc.zip 6886718 BLAKE2B de4e706cc27a73dffa40561fc1b0342a6c6d5e2b3bced0dbf6dbe43c969911b61f6e74fd3fd871833078ed70c50fca28dd316ad8d6ff0344d668a958a9d1840b SHA512 5b2748d4b0b0367d4fd2773e697f6e125d92c397b62ee63388bce85c74a051e1b17d487941128927e3493669bd00196caa842eee76db0f05827a650a067b6939 DIST qpdf-11.8.0.tar.gz 18150965 BLAKE2B 6843a268d472c83169d33ef5f216da9428ec84a73a93cd81fde8f122c088ad1401df47c209d7aa4f3a5b950ddef0d8926908b0a9efefad13757eb0ea7dc1db86 SHA512 e558cd4f0066ace73670ead7a49b0343862cdd275bd013eb10cbef6e161a13955101e6d78de8e87bb05a68498c3018152e9d20d61c01dce55d3810e7f5768aa9 DIST qpdf-11.8.0.tar.gz.asc 833 BLAKE2B 02c0cfec3bab48a3d49783cb68bd6b6c6382536f5d15a54357b54e02b7ef2b5a3517c7448cebf255eebac60feeef2cfe6b42ffe5bfeec5db07db24059f97df69 SHA512 4dce7d90fef819edbb5bb5a46983c9cd6d181f1e58e36b439a0e9e38aca9cb9954fb5f6886cd2284f9852e205a3a4035827f4baa693a96c293ea604dcddb430e +DIST qpdf-11.9.0-doc.zip 6893438 BLAKE2B 102b7bbe0a7c1b12c2956c3f8e400b4259ca1c95e359308a940a4f8b4c304f6b0866f794fb58eba792fec2e7ad52209cb0c2cad4494358a185b6a9720d0a7cfb SHA512 91a94cbda66a9c3bbbad9a433d9de78b83989757917fb150aa175cebb3aa295ba3e631e84e97cba3df3bdb4715fba411984b293a6b0df0f4549de2a77a4c257f +DIST qpdf-11.9.0.tar.gz 18552462 BLAKE2B 3f79bef4b8d276cb73db1a08eb72cc67dec803c942c5e6f5322ecfc2fb017c7169aebb6b0790f1789970c86f4c8790465d0315ff8b355dd7e395a02192a605cb SHA512 5e0a990797081f121b3a52fddedea199baf1af260093a384ed6df347e052601622b03c9ff62b7ea069d81464eb0381932428cb8c0565b3686961f7505021a165 +DIST qpdf-11.9.0.tar.gz.asc 833 BLAKE2B 6f00b52643b76828f65ce45ac031a72369753495ee96d5facaf708c80a41a669f5eb407c0e5d25492214813b307fc4cc7ae42b97f9ad6d78d92cc51cc98a87ed SHA512 dd58a1721ce6e15b77bfde1ab68bb37a9d2b1d755872811fb24fadef7be4cf562bb8f8371fd56bdc583d0f6da50654696cc4576234d9fd74319e3f1f2bb7b5cf EBUILD qpdf-11.7.0.ebuild 2259 BLAKE2B 32818e0fb63640328c1f9d71f9c869f6cb17c34fc9c15b396c73f6c5c5074f129345cf7f75091fa5be388fbd1a160e0628e44672fbf364dac7bc82f1fc4c98e9 SHA512 64de2e586bcda0b81aa78838d9d490ec33f731267afdb0fbbfbd0477d357c09fc4e034ee5a56ca3d1544dad464b8a55fee4f5b3d24f97f75c83e96e7b4b9c7f4 EBUILD qpdf-11.8.0.ebuild 2267 BLAKE2B ca085253af322e80a5fecd4453ee71bd9d4fe1fe2c290a76b3658965f45704b4434a8921fa3f4a63f9e62f75049153c1b57adfe4e6d9a4482f362ae0d1d39777 SHA512 d2b95baa69ab421755708297e5e4f68a1436f797d73d849c40a7eb4427dff05d547f97f2fcbd9c43a4a100a68ca6c7c89c10c89eec5bee03ec4150a8603061ef +EBUILD qpdf-11.9.0.ebuild 2267 BLAKE2B ca085253af322e80a5fecd4453ee71bd9d4fe1fe2c290a76b3658965f45704b4434a8921fa3f4a63f9e62f75049153c1b57adfe4e6d9a4482f362ae0d1d39777 SHA512 d2b95baa69ab421755708297e5e4f68a1436f797d73d849c40a7eb4427dff05d547f97f2fcbd9c43a4a100a68ca6c7c89c10c89eec5bee03ec4150a8603061ef MISC metadata.xml 444 BLAKE2B 1febc86d8f85aff5ec02d910550aca3bde66111c3e7364b264db3fca10020ea9bc2887dc8283217e2cb8d05ba46c176a92993e0d418528cbe590771dccc49d90 SHA512 dde5e34ef0d6c65df8a2ca8d630182413800f4c10f4b9860ed752623b6f4864dd4969c757e06b2689c8c5da3377bfcc28ec223e531432add083cd4a68211ea1c diff --git a/app-text/qpdf/qpdf-11.9.0.ebuild b/app-text/qpdf/qpdf-11.9.0.ebuild new file mode 100644 index 000000000000..055841cf1036 --- /dev/null +++ b/app-text/qpdf/qpdf-11.9.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 cmake verify-sig + +DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files" +HOMEPAGE=" + https://qpdf.sourceforge.io/ + https://github.com/qpdf/qpdf/ +" +SRC_URI=" + https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz + doc? ( + https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}-doc.zip + ) + verify-sig? ( + https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz.asc + ) +" + +LICENSE="|| ( Apache-2.0 Artistic-2 )" +# Subslot for libqpdf soname version (just represent via major version) +SLOT="0/$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples gnutls test" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libjpeg-turbo:= + sys-libs/zlib + 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 ) + verify-sig? ( sec-keys/openpgp-keys-jberkenbilt ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # glibc only (bug #899052) + malloc_info +) + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jberkenbilt.asc + +src_unpack() { + if use verify-sig ; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + fi + + default +} + +src_configure() { + local crypto_provider=$(usex gnutls GNUTLS OPENSSL) + local crypto_provider_lowercase=${crypto_provider,,} + + # Keep an eye on https://qpdf.readthedocs.io/en/stable/packaging.html. + local mycmakeargs=( + -DINSTALL_EXAMPLES=$(usex examples) + + # Avoid automagic crypto deps + -DUSE_IMPLICIT_CRYPTO=OFF + -DALLOW_CRYPTO_NATIVE=ON + + # Breaks install with USE=-doc in 11.0.0? + #-DINSTALL_MANUAL=ON + + -DDEFAULT_CRYPTO=${crypto_provider_lowercase} + -DREQUIRE_CRYPTO_${crypto_provider}=ON + ) + + cmake_src_configure +} + +src_install() { + if use doc ; then + mv "${WORKDIR}"/${P}-doc "${BUILD_DIR}"/manual/doc-dist || die + fi + + cmake_src_install + + # Completions + dobashcomp completions/bash/qpdf + + insinto /usr/share/zsh/site-functions + doins completions/zsh/_qpdf +} |