summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-03-08 10:26:24 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-03-08 10:33:15 +0100
commitdf1e555359eee6918b620e05b9e199f0fc87839c (patch)
tree414e29bfa79a109e617eb2b8025f5bc33aaaa686 /app-text/qpdf
parentprofiles: Mask dev-lisp/gentoo-init for removal (diff)
downloadgentoo-df1e555359eee6918b620e05b9e199f0fc87839c.tar.gz
gentoo-df1e555359eee6918b620e05b9e199f0fc87839c.tar.bz2
gentoo-df1e555359eee6918b620e05b9e199f0fc87839c.zip
app-text/qpdf: Bump to version 8.0.2
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-text/qpdf')
-rw-r--r--app-text/qpdf/Manifest1
-rw-r--r--app-text/qpdf/qpdf-8.0.2.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
index d8987ee0d8c1..2de3223226ca 100644
--- a/app-text/qpdf/Manifest
+++ b/app-text/qpdf/Manifest
@@ -4,3 +4,4 @@ DIST qpdf-6.0.0.tar.gz 8344860 BLAKE2B c041fd0a89dcce6275ccd51db62cc4fe37c2ee797
DIST qpdf-7.0.0.tar.gz 7053781 BLAKE2B 1abd54a3cdc24c3e56ac81cabaa56be8d2217961abfc026cbd0c0141aea3efb6c75b9daf2fe9f6fc0f09efd224d241fa859bd37bcd972df4e4837318497d774e SHA512 7b52d67b4d2c428a7b0c1cd03b03a23f05d38d7e3c81041079a137919019ea5158f12bf95fdcfcff6b43ffdefe93a85127ced2a363a6b4b380cbaa02a3840256
DIST qpdf-7.1.1.tar.gz 7099282 BLAKE2B 9658dd1cc6f8d0e3dd13137db147e0f954f747b5bb6b1577f70a236b1f67c5513713889dca77181a9b25f1a2054a8ec5cbfda60866e97b2d43e60b494752c9fd SHA512 a75f988c7dd7ac174bdc981cd3696ca8b539ac6c581e3afecf601dc67277014cb4fe3f0e5cb75a67412cafa4eb645b2fc2d8a0ec203834464baf0c7e80baa0b4
DIST qpdf-8.0.1.tar.gz 7948901 BLAKE2B 90eed8fcb34be16e1648236468c3f78ab16d2b9debe2c06f9a68af77cab2aa524eeeba1f6beb354d201c77d308e5ebd7dacfab1c79d24612af44f9109e407c38 SHA512 cabcfeee760bcdf19696c7dda81c9cc4f3cf1e0f44f68b25070d6e33fad8ad746a5dc992a9792972c9cce7192db82cc49f1a1b94a327d41b49284ac3620b2982
+DIST qpdf-8.0.2.tar.gz 7952979 BLAKE2B a9c81f41d6b5e3e9f80dab8325fffbedb8740ae500efbf4f4d2c27aca1778b1e2c438b7aba7846bd62874e2ff4265bb50b3b3d3d32302fb3e4583ba0251bf8f4 SHA512 f6d062f011d87f3f1df44e96e5dec0cd4b1b5f800dc6c088bf1313b2c96922d2f3c1b6eb1109a6ef00c558144b85dc20aeb85f937b73a3b594633aa67104f5e3
diff --git a/app-text/qpdf/qpdf-8.0.2.ebuild b/app-text/qpdf/qpdf-8.0.2.ebuild
new file mode 100644
index 000000000000..4458411fa22f
--- /dev/null
+++ b/app-text/qpdf/qpdf-8.0.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
+HOMEPAGE="http://qpdf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 Artistic-2 )"
+
+# subslot = libqpdf soname version
+SLOT="0/21"
+
+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"
+IUSE="doc examples perl static-libs test"
+
+CDEPEND="
+ sys-libs/zlib
+ virtual/jpeg:0=
+"
+DEPEND="${CDEPEND}
+ test? (
+ sys-apps/diffutils
+ media-libs/tiff
+ app-text/ghostscript-gpl[tiff]
+ )
+"
+# Only need perl for the installed tools.
+RDEPEND="${CDEPEND}
+ perl? ( >=dev-lang/perl-5.8 )
+"
+
+DOCS=( ChangeLog README.md TODO )
+
+src_configure() {
+ CONFIG_SHELL=/bin/bash econf \
+ $(use_enable static-libs static) \
+ $(use_enable test test-compare-images)
+}
+
+src_install() {
+ default
+
+ if ! use perl ; then
+ rm "${ED%/}"/usr/bin/fix-qdf || die
+ rm "${ED%/}"/usr/share/man/man1/fix-qdf.1 || die
+ fi
+
+ if use examples ; then
+ dobin examples/build/.libs/*
+ fi
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}