diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-09 13:01:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-09 13:01:22 +0000 |
commit | c6985b401141ea8b5ec4b95c4ad3a5a21ef32571 (patch) | |
tree | 56249d49d47e3dde9d3298ed175d983defedf23b /app-text/qpdf | |
parent | 6790f1eddc7029fda1a6bae94751a4ff1eb57776 (diff) |
gentoo auto-resync : 09:01:2024 - 13:01:22
Diffstat (limited to 'app-text/qpdf')
-rw-r--r-- | app-text/qpdf/Manifest | 4 | ||||
-rw-r--r-- | app-text/qpdf/qpdf-11.8.0.ebuild | 99 |
2 files changed, 103 insertions, 0 deletions
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest index 0aa9b40a69c9..a3a481b0a535 100644 --- a/app-text/qpdf/Manifest +++ b/app-text/qpdf/Manifest @@ -8,8 +8,12 @@ DIST qpdf-11.6.4.tar.gz.asc 833 BLAKE2B 423552746f54f52dc7149bc1ba6854dfc4df8e4b DIST qpdf-11.7.0-doc.zip 6874893 BLAKE2B b14b0f68f4599bd4f396cccbc35b13b0f52b72856de1afd3fdb0c70b33e1702c4afd7c954011df72905c06ff262b08dc9519e44dcef9b7633423d38208542795 SHA512 7ceeff62788defe3649a8d242220c7c8208ebe92dbd9d67b4b53d5036afb1cdbcfe46b4140b064b0542cba2d8eaaad6eedec1ed7b7bd0ccafe2dd7aa20efaa69 DIST qpdf-11.7.0.tar.gz 18124824 BLAKE2B aa10e154899a7fd53d696b9521cc8a44d4a336094711ddc2a506dac8841ae12ce5bcd604555725d2b6bae3c63a6a3f6ef0e9ab6baf38dd3d7fa71507234378a3 SHA512 6ee302671fd4513c5b22f101feb773b4101de6cc5ff6b0e25d1daa03df82420f87ce7db49a6c47758d7e8bbc3beeb997d4671d52e4cf0ac0d4f817f10677d1f9 DIST qpdf-11.7.0.tar.gz.asc 833 BLAKE2B e0b15e6ed6b67fc222f7b4d9f863e8630af814bede3605ca56b83b287d7e02c700092e59f3805565884b55af96c4ddd407331cae26273287b546c32a7975c331 SHA512 ef5aa1661944fd56c3f929ee1ffc78229667ed1d1c639aab82a0ff3a3891455e4dcf3dffbb17e9d22862d6426a263182360b19dd58435a2413c19761abc9b966 +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 EBUILD qpdf-11.5.0.ebuild 1815 BLAKE2B bdbb5f1e63f8dcf2d18279231fbd6ed1045576ba63e71f0b5147d8f0c0de04add76f241439f9a5ee60ff2f23cf28638eedc3ecce2e41b450539693771c4422ce SHA512 1d293b365a2b64fdd653de98a21f49f86aca5f6c0f454597c759b7df817d04a8d706fa1301af755303bc432384caad8a9025592efc73fa41979f96493f76834a EBUILD qpdf-11.6.3-r1.ebuild 1928 BLAKE2B 67599b8713bada251f786da78d5ec3a05efc1d7a6124bba59b40feac29ba3225c4ac5c23540dc09e742a3d649aa9a056c1e461690b5072ccb5bd3547c59d8b50 SHA512 56e862cccc70e9ce92f0cf403c1dbf277d118c15023ab05b88f349a667cf1fe786ce1bcc8100bed88002a1db7f4b6e4342207ae8a76edee037e528731b4a04c0 EBUILD qpdf-11.6.4.ebuild 2275 BLAKE2B c5d2d3f8d75a757cfabd23da66a89a054a1745b178884d7b3935a1d959c5157d536956e60b2e0cc1149b4217800ae269fb470a352bc883fa033c9c86419ddc90 SHA512 80c3406c3d44bdb80f226339b9165ea81b2f195bf1253bb893364f7bb24cdd816876828b09ad1d88ece67e3abda2bba3d3fbbf1da6dbbcbf4e21488f18608d15 EBUILD qpdf-11.7.0.ebuild 2267 BLAKE2B 98816d842e7d7656f3e67a124cdb113a13839ac7d7be48b40a35b75450ae147e2d5be5e2dc7bb8725eeaa0aeb2f1b59e1ddcb4890b655452103a2cc816b07a0e SHA512 be81457b518dea32d4d151831147978d8d1c1eb9365d28ee7f020b66bdcd65883e181d11722ac3b9fa971db32faf7befeef73544d0b2f21ce02589962dbd6798 +EBUILD qpdf-11.8.0.ebuild 2267 BLAKE2B ca085253af322e80a5fecd4453ee71bd9d4fe1fe2c290a76b3658965f45704b4434a8921fa3f4a63f9e62f75049153c1b57adfe4e6d9a4482f362ae0d1d39777 SHA512 d2b95baa69ab421755708297e5e4f68a1436f797d73d849c40a7eb4427dff05d547f97f2fcbd9c43a4a100a68ca6c7c89c10c89eec5bee03ec4150a8603061ef MISC metadata.xml 444 BLAKE2B 1febc86d8f85aff5ec02d910550aca3bde66111c3e7364b264db3fca10020ea9bc2887dc8283217e2cb8d05ba46c176a92993e0d418528cbe590771dccc49d90 SHA512 dde5e34ef0d6c65df8a2ca8d630182413800f4c10f4b9860ed752623b6f4864dd4969c757e06b2689c8c5da3377bfcc28ec223e531432add083cd4a68211ea1c diff --git a/app-text/qpdf/qpdf-11.8.0.ebuild b/app-text/qpdf/qpdf-11.8.0.ebuild new file mode 100644 index 000000000000..055841cf1036 --- /dev/null +++ b/app-text/qpdf/qpdf-11.8.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 +} |