summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/Manifest.gzbin49634 -> 49640 bytes
-rw-r--r--app-text/lesspipe/Manifest2
-rw-r--r--app-text/lesspipe/files/all-completions.patch51
-rw-r--r--app-text/lesspipe/lesspipe-2.11-r1.ebuild68
-rw-r--r--app-text/qpdf/Manifest10
-rw-r--r--app-text/qpdf/qpdf-11.5.0.ebuild75
-rw-r--r--app-text/qpdf/qpdf-11.6.3-r1.ebuild80
-rw-r--r--app-text/qpdf/qpdf-11.6.4.ebuild97
8 files changed, 121 insertions, 262 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz
index 5f19d3eafd65..cd1b474fbe2d 100644
--- a/app-text/Manifest.gz
+++ b/app-text/Manifest.gz
Binary files differ
diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
index bf557d95d76f..b81b63c212d4 100644
--- a/app-text/lesspipe/Manifest
+++ b/app-text/lesspipe/Manifest
@@ -1,5 +1,7 @@
+AUX all-completions.patch 2037 BLAKE2B 92a706e0dce6a6dd316b168fd4a93a8d6e52f80ceb5bdd5e762399125aea7cf9bbe3a36df519ceb97391309776c832cd0e5ddf414e144c17e79eb70109d3ef2d SHA512 11ee08eb7cccdc6f1470354dae28ebf20c083b9ff96899694ba67d21306a169768a2e50bb6a0a41939d2770f5962217edea5ef3afe9bf3bfa38e9f9abe55d48f
DIST lesspipe-2.10.tar.gz 170918 BLAKE2B 156fe53975252ac6c59a637ffe0ee9862be0699f325a0b328e5c0f2cb5e6f7d8324481f3d3211cbb15a585a5dabde45adf87ac4e0af91cd34540359331684264 SHA512 3fe122cf0adf8dd3e0782ae65132c58d76f7131a2e8c30d9a10eb426c6f63e50b4b5e02b6792524a37b27ca572bd3e2661a6c82118e9c4ed5ecbccaf2c5a42e2
DIST lesspipe-2.11.tar.gz 171212 BLAKE2B aa7cf35f00d9db4ad7cb48ae89089a4d0c5d6c6e41ec902bc7ba6d4fd218f8ea90e1fdf3d6fcbac1dd1f86eb841a0daa6838b0086905fd4b0535d91040ef85aa SHA512 ed75d8529bd24876b11a50d0ada476299569d0fe716c390de84a0630ae475594f96370ffbed64fc5d9e2417dcbaa7b2f68630e32f665dff799667c2653b0265f
EBUILD lesspipe-2.10.ebuild 1306 BLAKE2B de9328c85649a107f7b0290d6d6b3b6e03c31825988fbf278c48aebe2af988992fe43c8e999483162f3c61f8ea1dd8a4a37aa36087e7e3d6ed22c19124dd2bd1 SHA512 c2214069bb84cf5d30e129f629ca0ef4d0e0e6c8d1bf50e0d9a102b3a81ee47e51c62cbf60fe3c7479a04271af0b35c680ef1921a790c562d2907675302821b9
+EBUILD lesspipe-2.11-r1.ebuild 1927 BLAKE2B 6ee060536a65f3da5c0e2bc5a319a405d51f19df91a6291230c9308e12fd1fdf11b2afa0cc9bd5e3e7056106ca6d4cf5e9736e5cc86c6a46b616c83f0e78a77c SHA512 2fbe46c6508a47a060c362f4b1d5e6b8de2552ccad40b98e6bf76d866ae5f27fed7635b2dd0515b59c031ba362c08e81d981a3d074d5e96a3a96a22cda36fa94
EBUILD lesspipe-2.11.ebuild 1306 BLAKE2B 0d781de9be7bbd4fd0417363db0e40282638982fb806d4a8169984c541b68a414f937479e00ca0939820901994f8235b5e1078ec80b94fab78c14f37c02318b8 SHA512 e44ece8c07479e2ada2213a1d1ab44a8ae14db4976ee28125b2ceccb80762fc2438cd4bb71f3fa6f6c5c746159df6066f6e4799ca8052323241b482e2fabcb41
MISC metadata.xml 304 BLAKE2B bb5be96b5fd22ce82d800f6bd5ed3ceb04b955182eaadc1f34b6f4b633c21efd6148013fc29b5567f7ada4da5de6efd7e0e420fa63a2976a5cf6bcf719c34f2e SHA512 2c217e67c6c487f7f7f98588a50086daf434bc25ad229b68d37bc12f7ecc4f904b5bc4a3b7b6db4a1daa0267c7e13fde8538de1c16d11e95be6b8071ee675105
diff --git a/app-text/lesspipe/files/all-completions.patch b/app-text/lesspipe/files/all-completions.patch
new file mode 100644
index 000000000000..dfd8ed90dd34
--- /dev/null
+++ b/app-text/lesspipe/files/all-completions.patch
@@ -0,0 +1,51 @@
+From 621e2897c19155df8d0a5931a0c862bfdac22a0a Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz93@gmail.com>
+Date: Wed, 17 Jan 2024 22:08:29 -0500
+Subject: [PATCH] add configure option to always install all completions
+
+This is useful for distro packaging. Many distros have a policy that
+shell completions shall always be installed, even if the shell they are
+for is not installed at the time.
+
+This is useful because buildbot chroots often don't have additional
+shells installed, so users will *never* get zsh completions.
+---
+ configure | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/configure b/configure
+index 68d03a1..d521962 100755
+--- a/configure
++++ b/configure
+@@ -10,10 +10,10 @@ use Getopt::Long;
+ # find sxw2txt and other scripts in current dir, if scripts not installed yet
+ $ENV{PATH} .= ':.';
+
+-use vars qw($opt_help $opt_prefix $opt_nomake $opt_shell);
++use vars qw($opt_help $opt_prefix $opt_nomake $opt_shell $opt_all_completions);
+
+ Getopt::Long::Configure("prefix_pattern=--");
+-my $result = GetOptions('help+', 'prefix=s', 'shell=s', 'nomake+');
++my $result = GetOptions('help+', 'prefix=s', 'shell=s', 'nomake+', 'all-completions+');
+ if ( $ARGV[0] or ! $result or $opt_help) {
+ print << 'EOF';
+ Usage: configure [options]
+@@ -21,6 +21,7 @@ Options:
+ --help print this message
+ --shell=<filename> specify an alternative shell path (zsh/bash) to use
+ --nomake do not generate a Makefile
++ --all-completions always install all completions
+ Directory and file names:
+ --prefix=PREFIX install lesspipe.sh in PREFIX/bin (/usr/local)
+
+@@ -47,8 +48,8 @@ if ( $opt_shell and -f $opt_shell and $opt_shell =~ /^\// ) {
+ my @bad = ();
+ my $shell = check_shell_vers();
+ if ( ! $opt_nomake ) {
+- my $no_bash = grep {/bash/} @bad;
+- my $no_zsh = grep {/zsh/} @bad;
++ my $no_bash = (grep {/bash/} @bad and ! $opt_all_completions);
++ my $no_zsh = (grep {/zsh/} @bad and ! $opt_all_completions);
+ open OUT, ">Makefile";
+ while (<DATA>) {
+ next if /bash_complete_dir/ and $no_bash;
diff --git a/app-text/lesspipe/lesspipe-2.11-r1.ebuild b/app-text/lesspipe/lesspipe-2.11-r1.ebuild
new file mode 100644
index 000000000000..8ad29bdcd156
--- /dev/null
+++ b/app-text/lesspipe/lesspipe-2.11-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo
+
+DESCRIPTION="Preprocessor for less"
+HOMEPAGE="https://github.com/wofr06/lesspipe"
+SRC_URI="https://github.com/wofr06/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+# Please check again on bumps! (bug #734896)
+RESTRICT="!test? ( test ) test"
+
+RDEPEND="dev-lang/perl"
+BDEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ test? ( app-editors/vim )
+"
+
+PATCHES=(
+ # Backport patch to allow installing completions for shells that aren't
+ # yet installed.
+ #
+ # https://github.com/wofr06/lesspipe/pull/142
+ "${FILESDIR}"/all-completions.patch
+)
+
+src_configure() {
+ # Not an autoconf script.
+ #
+ # PG0301
+ # By default, only completions for installed shells are installed.
+ # Unconditionally install zsh too.
+ edo ./configure --prefix="${EPREFIX}"/usr --all-completions
+}
+
+src_compile() {
+ # Nothing to build (avoids the "all" target)
+ :
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
+ einstalldocs
+
+ # The upstream Makefile intentionally installs to the wrong directory, then prints:
+ # In bash, please preload the completion, dynamic invocation does not work
+ # . /usr/share/bash-completion/less_completion
+ # Or consider installing the file less_completion in /etc/bashcompletion.d
+ rm "${ED}"/usr/share/bash-completion/less_completion || die
+ insinto /etc/bash_completion.d
+ doins less_completion
+}
+
+pkg_preinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'."
+ elog "The latter is the Gentoo-specific version. Make sure to update your"
+ elog "LESSOPEN environment variable if you wish to use this copy."
+ fi
+}
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
index 947fff3b0078..e5911e641207 100644
--- a/app-text/qpdf/Manifest
+++ b/app-text/qpdf/Manifest
@@ -1,19 +1,9 @@
-DIST qpdf-11.5.0-doc.zip 6858454 BLAKE2B bd1e7f974eb2b0e22395216a1e3d55b18b1140c2210b230e5382934e5465314f8c73db5e24b8daf2478b89d94eba6214452be5f9f1ec4eb06fe6f5b254742caf SHA512 263fa79a9a1d14086787adf8ce2cfb1e951f504cb214a9c4b44e261a72e715a33e03dc3084a8aaa76e0b068ac0fe5905c6a1ec99e52e962c1589f1f4d0e6f678
-DIST qpdf-11.5.0.tar.gz 18638138 BLAKE2B 54545665a31cf0cbfc50faa18f1dc64f036cd5bfd2b274ff443718e704e26f3a8cf83600f9dd7d8039cf4bdcaf42e1c14f03db775226b56c8ba53be33e0ca522 SHA512 3c8504de11c34e7d623b829c0c987ba5555c2bdcfdd5d4408d29f321fd79154ec2d6fa76f45556046dfc931b51bd75e3062973c36c8020383acacbe56c90e04c
-DIST qpdf-11.6.3-doc.zip 6864204 BLAKE2B 05a9d44b877ab9eab4548646ec2cd8110a47e594b0b1d364c7a5d25b249efa368f94c0e549da8697f685fde17ce59378a32e6c31f5dcd1731c97a2434cbe5af0 SHA512 0cdeb6d408823a49909d2394a9cedd8ae5d4f9fd4f4dbef70ce60c60401bc9b78b1740669f46b78609f11b0b4c8bdaafe094158e52b9449dca32d6afd3ece377
-DIST qpdf-11.6.3.tar.gz 18660605 BLAKE2B c684dab7544fe6024db26c7538cc2e16319aeb6c023b53ea97ec9c5ae474ac67538a99a80524d924ac0758f0fc7d552dbea1a47df7595b25dbec121738a07ec8 SHA512 afc1d130e10bb527a7425ce39f6d93245c3d9b08002d104fdf0e909b586f80174fa2eed863794f10b76bab86a064b904eebca89902212accc45a68f9430c122e
-DIST qpdf-11.6.4-doc.zip 6865106 BLAKE2B e9d68c384fec1da18e4a677b6b1eed58cb2589609af937d39710a4cd8848df93f702778fe83868d2e3a6232fa4e7d044821770f954b558869e1ff435cb934d64 SHA512 2ebbf7b257adc56b27f645cdda9b311c21db4823f3fb6227a408e874a4aff4a0de2ccb578e71790287141cacac71e08d3f13b87e34041e0c6a980ea89918826e
-DIST qpdf-11.6.4.tar.gz 18655617 BLAKE2B 57e460f106989e9f5e882f80827c4f0346b4dc829e6dd2f960cd321a3dd6587d77b1fd2a94a5c0a2be32d5e2183e1d98fab53d37cbefe176814f221793807e8c SHA512 4e2497ae0f2524173b9288466e94a5bcab8326c153a605b4de7a7c55f640934818ecb40c2f9bbb7508c5bd7afd529fa1f88dd08647bfaa4d2b3b6118ca928c9a
-DIST qpdf-11.6.4.tar.gz.asc 833 BLAKE2B 423552746f54f52dc7149bc1ba6854dfc4df8e4bb9d076c2cf42196e81c16efdf7fffacf3f155c394042ca08a25a5006b007afe932e64697c3f4bd023837a18b SHA512 3b7a78a9233516f98a26b6c320903ed41bad065a2d7a54d4525c60fa7839bb577b7e3b2200df232e205cd844daa7d582a9970c375a9d40d21fc9782e60b41525
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 2259 BLAKE2B 32818e0fb63640328c1f9d71f9c869f6cb17c34fc9c15b396c73f6c5c5074f129345cf7f75091fa5be388fbd1a160e0628e44672fbf364dac7bc82f1fc4c98e9 SHA512 64de2e586bcda0b81aa78838d9d490ec33f731267afdb0fbbfbd0477d357c09fc4e034ee5a56ca3d1544dad464b8a55fee4f5b3d24f97f75c83e96e7b4b9c7f4
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.5.0.ebuild b/app-text/qpdf/qpdf-11.5.0.ebuild
deleted file mode 100644
index 4ef101073a33..000000000000
--- a/app-text/qpdf/qpdf-11.5.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# 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
-}
diff --git a/app-text/qpdf/qpdf-11.6.3-r1.ebuild b/app-text/qpdf/qpdf-11.6.3-r1.ebuild
deleted file mode 100644
index 33288b4d3c6c..000000000000
--- a/app-text/qpdf/qpdf-11.6.3-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# 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 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 )
-"
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # glibc only (bug #899052)
- malloc_info
-)
-
-src_configure() {
- # 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
- )
-
- local crypto_provider=$(usex gnutls GNUTLS OPENSSL)
- local crypto_provider_lowercase=${crypto_provider,,}
- mycmakeargs+=(
- -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
-}
diff --git a/app-text/qpdf/qpdf-11.6.4.ebuild b/app-text/qpdf/qpdf-11.6.4.ebuild
deleted file mode 100644
index fa1477cfe723..000000000000
--- a/app-text/qpdf/qpdf-11.6.4.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2023 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.net/
- https://github.com/qpdf/qpdf/
-"
-SRC_URI="
- https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz
- verify-sig? (
- https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz.asc
- )
-"
-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 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
-}