Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdf/
Date: Thu, 06 Feb 2020 18:08:39
Message-Id: 1581012511.1c6344501cc3f05174be0df7def6571c48bb7d2d.polynomial-c@gentoo
1 commit: 1c6344501cc3f05174be0df7def6571c48bb7d2d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 6 18:08:17 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 6 18:08:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c634450
7
8 app-text/qpdf: Bump to version 9.1.1
9
10 Package-Manager: Portage-2.3.87, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-text/qpdf/Manifest | 1 +
14 app-text/qpdf/qpdf-9.1.1.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
18 index b274837b06a..e772af126c9 100644
19 --- a/app-text/qpdf/Manifest
20 +++ b/app-text/qpdf/Manifest
21 @@ -1,2 +1,3 @@
22 DIST qpdf-9.0.2.tar.gz 18168977 BLAKE2B 46b397f0e6a97804c5e8dcbfc9fd2278960d5afd459430c1790bb8f9080062cf661cf186ab386721ed7560dbd4abbea43e4d31914c0636502c5c11096c250fe2 SHA512 275ca81603d53601e4389cb34eaebea1c5d52b310ef28f3375fbeee255a28edf9375f03f31649f580dbc3df73b851a2c8498feb3dd7b30067955571b05c9e69c
23 DIST qpdf-9.1.0.tar.gz 18285597 BLAKE2B ef86cd4192805761e121bcd112e071dacb4bc108335da0ba237476d9f1698e4ba630010e3266fb63d9aa5b97e0e778f76fe226613e91d351b93a53b9fc9abee7 SHA512 7561ffc366dbce9df58cc85ff18480b28b0d46de04733ba463139188bee95690f92cf0960a328619f0c9f34ce865598db490fa1c6aaa76ee87d2c034a5f7f57e
24 +DIST qpdf-9.1.1.tar.gz 18312457 BLAKE2B 0bbfaa782e46a911b20440bcf122d2745dde62de16423307cb02f7f3cd9a4976c79c7f6371322f793abfd8eaf9d5cc4f49b6854e58039595b5a488a2fec98d88 SHA512 008a11fef663a57ca173631f2053988023babea6c333cfe01db0ef955c8cd36d387ed9f2039f55bd5f9ca94c7a8e400461a09a15c5f89e03bc0817fdd0d3d585
25
26 diff --git a/app-text/qpdf/qpdf-9.1.1.ebuild b/app-text/qpdf/qpdf-9.1.1.ebuild
27 new file mode 100644
28 index 00000000000..8fc0067191f
29 --- /dev/null
30 +++ b/app-text/qpdf/qpdf-9.1.1.ebuild
31 @@ -0,0 +1,64 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
38 +HOMEPAGE="http://qpdf.sourceforge.net/"
39 +SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
40 +
41 +LICENSE="|| ( Apache-2.0 Artistic-2 )"
42 +
43 +# subslot = libqpdf soname version
44 +SLOT="0/26"
45 +
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
47 +IUSE="doc examples perl static-libs test"
48 +
49 +RESTRICT="!test? ( test )"
50 +
51 +CDEPEND="
52 + net-libs/gnutls:0=
53 + sys-libs/zlib
54 + virtual/jpeg:0=
55 +"
56 +DEPEND="${CDEPEND}
57 + test? (
58 + sys-apps/diffutils
59 + media-libs/tiff
60 + app-text/ghostscript-gpl[tiff]
61 + )
62 +"
63 +# Only need perl for the installed tools.
64 +RDEPEND="${CDEPEND}
65 + perl? ( >=dev-lang/perl-5.8 )
66 +"
67 +
68 +DOCS=( ChangeLog README.md TODO )
69 +
70 +src_configure() {
71 + local myeconfargs=(
72 + --disable-implicit-crypto
73 + --enable-crypto-gnutls
74 + --enable-crypto-native
75 + --with-default-crypto=gnutls
76 + $(use_enable static-libs static)
77 + $(use_enable test test-compare-images)
78 + )
79 + CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}"
80 +}
81 +
82 +src_install() {
83 + default
84 +
85 + if ! use perl ; then
86 + rm "${ED}"/usr/bin/fix-qdf || die
87 + rm "${ED}"/usr/share/man/man1/fix-qdf.1 || die
88 + fi
89 +
90 + if use examples ; then
91 + dobin examples/build/.libs/*
92 + fi
93 +
94 + find "${ED}" -type f -name '*.la' -delete || die
95 +}