diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-10 10:26:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-10 10:26:59 +0100 |
commit | 870be9524d5a85e6be7803b3f4eae71fd93cb530 (patch) | |
tree | 69e71d2202044c302e1f9209a0a40d7418d8e48d /app-text/qpdf | |
parent | 9e8f96c1b33dc01bc5dfbed0cfb2702bb299f1e0 (diff) |
gentoo auto-resync : 10:07:2023 - 10:26:59
Diffstat (limited to 'app-text/qpdf')
-rw-r--r-- | app-text/qpdf/Manifest | 3 | ||||
-rw-r--r-- | app-text/qpdf/qpdf-11.5.0.ebuild | 75 |
2 files changed, 78 insertions, 0 deletions
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest index d00173b2c291..ef413e7bb37c 100644 --- a/app-text/qpdf/Manifest +++ b/app-text/qpdf/Manifest @@ -6,8 +6,11 @@ DIST qpdf-11.3.0-doc.zip 6781831 BLAKE2B 0b494ff62e197a60d82a170a27816676dc465d1 DIST qpdf-11.3.0.tar.gz 18732977 BLAKE2B 80dd2a96f3b82b9e530f26c72cd24cd3b111e2e1cbe821b12af13807e8d54fbc7f5632130f5cbd03df1b7c70de3c94a7e889d4ea4f1a3670a28f726364564b16 SHA512 1c8a0b62d50efb4c09885f36244048797dea44f28917aefe0266e2b158858ea19d477bbc445abbd3b7180a3de56d6a819ff44275cdc0979827effba9739b53d2 DIST qpdf-11.4.0-doc.zip 6854262 BLAKE2B 58b55287fbef37beae452803db409e163f3fcf4fb32e2b154cd815452192550217e63771a5be39a43e6425f558a1064bc2257c24c90b842029eb373dfd865223 SHA512 25aab31b8481034bba876411eab2034375a9ffed97666c221b211400b1a7e60cfc11b5237406733058fbbbd2412baad7aa6029ad4303d0ddd879f6d7aff3b2b0 DIST qpdf-11.4.0.tar.gz 18643945 BLAKE2B cde1c4db4c51733fe71a7e46fc271817825b5a56ce81053edf0f886eabdf13bce55308dd36ebf9b5067dcf173f371135bbc651253a7df214b9863c2b62cdde8f SHA512 6f31a37a9a52752c89d319e0d29d8e6c1e4885ca494de47a65f9374cdb5672497ab93f754481300c8e6c68fc2874860997b778dc05386b6f3e6a5a70a3f9f754 +DIST qpdf-11.5.0-doc.zip 6858454 BLAKE2B bd1e7f974eb2b0e22395216a1e3d55b18b1140c2210b230e5382934e5465314f8c73db5e24b8daf2478b89d94eba6214452be5f9f1ec4eb06fe6f5b254742caf SHA512 263fa79a9a1d14086787adf8ce2cfb1e951f504cb214a9c4b44e261a72e715a33e03dc3084a8aaa76e0b068ac0fe5905c6a1ec99e52e962c1589f1f4d0e6f678 +DIST qpdf-11.5.0.tar.gz 18638138 BLAKE2B 54545665a31cf0cbfc50faa18f1dc64f036cd5bfd2b274ff443718e704e26f3a8cf83600f9dd7d8039cf4bdcaf42e1c14f03db775226b56c8ba53be33e0ca522 SHA512 3c8504de11c34e7d623b829c0c987ba5555c2bdcfdd5d4408d29f321fd79154ec2d6fa76f45556046dfc931b51bd75e3062973c36c8020383acacbe56c90e04c EBUILD qpdf-11.1.1-r1.ebuild 1850 BLAKE2B 5e52d82411d166b3d1959f72a5ba9672473ce50c78f01284cd9d42163ef20d61b29893e554773c61a63d4244da8fea22402591eabeef1c5835200d08b6fde4b3 SHA512 133fcaeae8de4256704cb55c0670d8c664ddbf1f11f28577e2bf73bea961b8755757aadbeda4222e5a2d5c80792cdf6beb2d3918729866270d6b930503622f67 EBUILD qpdf-11.2.0-r1.ebuild 1850 BLAKE2B 574271ba3fc5b19da071d62a32357a108de174f0c26ea93d91d81b35e6d1928c685cd9da8edc4499d090d2080f96f8ffd12f82eb748f7223c940b3986e66faa3 SHA512 b53654535d13f84095569a40fa36785228a8c2447815ab6a7a3ee3b0ebb480200bafe25a7bccb160a719a45c28ff12c36fceb7a7384af55ec4304a7e817aad28 EBUILD qpdf-11.3.0.ebuild 1850 BLAKE2B 574271ba3fc5b19da071d62a32357a108de174f0c26ea93d91d81b35e6d1928c685cd9da8edc4499d090d2080f96f8ffd12f82eb748f7223c940b3986e66faa3 SHA512 b53654535d13f84095569a40fa36785228a8c2447815ab6a7a3ee3b0ebb480200bafe25a7bccb160a719a45c28ff12c36fceb7a7384af55ec4304a7e817aad28 EBUILD qpdf-11.4.0.ebuild 1858 BLAKE2B 93f474844536a0e75fec9a5e9d3cd3fc6b8c02cbdf8b6c99165554dd8c6c01de8f0e1abf2e2bb7f0fefc2c4d48fa4db69f7bff27a1d92e2325437e9a9fc6f1d9 SHA512 0a2cb5e0e92357711027e14ffa5791a5d99e7f4a2ed70dbe702e52c180c81259300740fcb947e09867f9e20828781199527a8359dcd4d532ab4ab83aab5888e8 +EBUILD qpdf-11.5.0.ebuild 1823 BLAKE2B bff9ca5cf2f998df67137b7df24a43204e08b136b00b610149e2da71365d4f651232664329cb8651177fda271bf7f523b171aee057e39ab45e25fe5eb3c68e44 SHA512 d0178fa1b535655df38c46418f0407ccc3d6a7da955e93c46a2d9f87eb1a97ced42273cb1edc5cb1d70c9e6a962b35d1aec4b96e2ec3aacd654ce949b572b2b3 MISC metadata.xml 444 BLAKE2B 1febc86d8f85aff5ec02d910550aca3bde66111c3e7364b264db3fca10020ea9bc2887dc8283217e2cb8d05ba46c176a92993e0d418528cbe590771dccc49d90 SHA512 dde5e34ef0d6c65df8a2ca8d630182413800f4c10f4b9860ed752623b6f4864dd4969c757e06b2689c8c5da3377bfcc28ec223e531432add083cd4a68211ea1c diff --git a/app-text/qpdf/qpdf-11.5.0.ebuild b/app-text/qpdf/qpdf-11.5.0.ebuild new file mode 100644 index 000000000000..12e307695db6 --- /dev/null +++ b/app-text/qpdf/qpdf-11.5.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake bash-completion-r1 + +DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files" +HOMEPAGE="https://qpdf.sourceforge.net/" +# TODO: verify-sig +SRC_URI="https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz" +SRC_URI+=" doc? ( https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}-doc.zip )" + +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 ssl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libjpeg-turbo:= + sys-libs/zlib + 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 ) +" + +src_configure() { + # Keep an eye on https://qpdf.readthedocs.io/en/stable/packaging.html. + local mycmakeargs=( + -DINSTALL_EXAMPLES=$(usex examples) + + # Breaks install with USE=-doc in 11.0.0? + #-DINSTALL_MANUAL=ON + ) + + if use ssl ; then + local crypto_provider=$(usex gnutls GNUTLS OPENSSL) + local crypto_provider_lowercase=${crypto_provider,,} + mycmakeargs+=( + -DDEFAULT_CRYPTO=${crypto_provider_lowercase} + -DREQUIRE_CRYPTO_${crypto_provider}=ON + ) + fi + + 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 +} |