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, 08 Feb 2018 06:56:05
Message-Id: 1518072950.a610634dabc452dba11d7833473efd01f54a5201.polynomial-c@gentoo
1 commit: a610634dabc452dba11d7833473efd01f54a5201
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 8 06:54:16 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 8 06:55:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a610634d
7
8 app-text/qpdf: Bump to version 7.1.1
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-text/qpdf/Manifest | 1 +
13 app-text/qpdf/qpdf-7.1.1.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
17 index 4bd67fdbf65..908dcae29a9 100644
18 --- a/app-text/qpdf/Manifest
19 +++ b/app-text/qpdf/Manifest
20 @@ -3,3 +3,4 @@ DIST qpdf-5.1.3.tar.gz 7681578 BLAKE2B f49762e7a92d0a638c998ab002bd3f83057fada59
21 DIST qpdf-6.0.0.tar.gz 8344860 BLAKE2B c041fd0a89dcce6275ccd51db62cc4fe37c2ee797d2d19c8924dc12f2a9166d7a918f220ed539045c81284544f061241f1783d6c25a0f63bed534fcef82370bc SHA512 303e3cc77ddb87b9494e26c35e0b45b42f73692054c56a00f2e4f1922633c6ebb45c8684992cd9bf32f03366fcc4cd7e7ec6fb9432d2dbba6e0b24395909b5bf
22 DIST qpdf-7.0.0.tar.gz 7053781 BLAKE2B 1abd54a3cdc24c3e56ac81cabaa56be8d2217961abfc026cbd0c0141aea3efb6c75b9daf2fe9f6fc0f09efd224d241fa859bd37bcd972df4e4837318497d774e SHA512 7b52d67b4d2c428a7b0c1cd03b03a23f05d38d7e3c81041079a137919019ea5158f12bf95fdcfcff6b43ffdefe93a85127ced2a363a6b4b380cbaa02a3840256
23 DIST qpdf-7.1.0.tar.gz 7097479 BLAKE2B 0d363d9d0b3ca2873b21bacfb2002f3ffa431848402fef5abe0079c9373835d483de1fb10b2b21ad8c9c14bb16f30ee8eb34f2465142f491295cede0790c54a7 SHA512 28c00f0e7e1d89ab8165031b7e741297d472801fd115911b5f970e97f27fb0c463169dad2d59bb35885de5989984bc5f31a9c26be42015c0dba41105ae342726
24 +DIST qpdf-7.1.1.tar.gz 7099282 BLAKE2B 9658dd1cc6f8d0e3dd13137db147e0f954f747b5bb6b1577f70a236b1f67c5513713889dca77181a9b25f1a2054a8ec5cbfda60866e97b2d43e60b494752c9fd SHA512 a75f988c7dd7ac174bdc981cd3696ca8b539ac6c581e3afecf601dc67277014cb4fe3f0e5cb75a67412cafa4eb645b2fc2d8a0ec203834464baf0c7e80baa0b4
25
26 diff --git a/app-text/qpdf/qpdf-7.1.1.ebuild b/app-text/qpdf/qpdf-7.1.1.ebuild
27 new file mode 100644
28 index 00000000000..df045305bb6
29 --- /dev/null
30 +++ b/app-text/qpdf/qpdf-7.1.1.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
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/18"
45 +
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
47 +IUSE="doc examples perl static-libs test"
48 +
49 +CDEPEND="
50 + sys-libs/zlib
51 + virtual/jpeg:0=
52 +"
53 +DEPEND="${CDEPEND}
54 + test? (
55 + sys-apps/diffutils
56 + media-libs/tiff
57 + app-text/ghostscript-gpl[tiff]
58 + )
59 +"
60 +# Only need perl for the installed tools.
61 +RDEPEND="${CDEPEND}
62 + perl? ( >=dev-lang/perl-5.8 )
63 +"
64 +
65 +DOCS=( ChangeLog README.md TODO )
66 +
67 +src_configure() {
68 + CONFIG_SHELL=/bin/bash econf \
69 + $(use_enable static-libs static) \
70 + $(use_enable test test-compare-images)
71 +}
72 +
73 +src_install() {
74 + default
75 +
76 + if ! use perl ; then
77 + rm "${ED}"/usr/bin/fix-qdf || die
78 + rm "${ED}"/usr/share/man/man1/fix-qdf.1 || die
79 + fi
80 +
81 + if use examples ; then
82 + dobin examples/build/.libs/*
83 + fi
84 +
85 + find "${ED}" -name '*.la' -exec rm -f {} +
86 +}