summaryrefslogtreecommitdiff
path: root/app-text/qpdf
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/qpdf')
-rw-r--r--app-text/qpdf/Manifest11
-rw-r--r--app-text/qpdf/metadata.xml14
-rw-r--r--app-text/qpdf/qpdf-5.1.1-r1.ebuild59
-rw-r--r--app-text/qpdf/qpdf-5.1.3-r1.ebuild59
-rw-r--r--app-text/qpdf/qpdf-6.0.0-r2.ebuild55
-rw-r--r--app-text/qpdf/qpdf-7.0.0.ebuild55
6 files changed, 253 insertions, 0 deletions
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
new file mode 100644
index 000000000000..4a2f64b2f507
--- /dev/null
+++ b/app-text/qpdf/Manifest
@@ -0,0 +1,11 @@
+DIST qpdf-5.1.1.tar.gz 7662701 SHA256 95d355d8fa5e1c677e04d884161de94f5438bf3bdc1638498796b042bad4a726 SHA512 236132290694730d7de08635560435d34ae44f4edbc1b887e494f2ee183271331827226e7e29e539d25d5a2ca1dd5815a387c46edc0b6fd898436bbb674d9993 WHIRLPOOL 66eee10dc5163f1e53afcbd02b71bab73598c28ebb9b005c26af4e58396fd693af7ed76a17fd0c29819b0fa08a71ea0158c76bfa0b0d452a78bb357277644459
+DIST qpdf-5.1.3.tar.gz 7681578 SHA256 d5164bdad3afc381568dbe8e1509a4a6a911d4d077f1fc20b9866ef8fad901d3 SHA512 676cc6db27dcbcdece21cb427c6aae14646389f4000ff111feee8fdbbb03fe715035e5236a08db4137f275a09ed0dda5c80afbdc5093fe7f56b69a0e335ab73a WHIRLPOOL 96cf06c0da63f9f3f5bccd422875c23e473443a4552de3c23ab9971104876fb5463cb6b7db86faee3aac04bddd9b59391093a7d5840cad801093162561ba459d
+DIST qpdf-6.0.0.tar.gz 8344860 SHA256 a9fdc7e94d38fcd3831f37b6e0fe36492bf79aa6d54f8f66062cf7f9c4155233 SHA512 303e3cc77ddb87b9494e26c35e0b45b42f73692054c56a00f2e4f1922633c6ebb45c8684992cd9bf32f03366fcc4cd7e7ec6fb9432d2dbba6e0b24395909b5bf WHIRLPOOL f9fae783c16a93826f825a8efe1a116cbde00fb19b8b56dbfcad7878557c106c8f7a58945af3002f2a72aa032247008013edce8943a45cca8c186b68bf2b5cd3
+DIST qpdf-7.0.0.tar.gz 7053781 SHA256 fed08de14caad0fe5efd148d9eca886d812588b2cbb35d13e61993ee8eb8c65f SHA512 7b52d67b4d2c428a7b0c1cd03b03a23f05d38d7e3c81041079a137919019ea5158f12bf95fdcfcff6b43ffdefe93a85127ced2a363a6b4b380cbaa02a3840256 WHIRLPOOL 939704f39badda6edd6fca114134a54888cfb2d9d97fb7085214eec7d25069432a7d7495f8a56201160e5f893b1f60aa6fb2d8bf3831eaf86299429cb892b809
+EBUILD qpdf-5.1.1-r1.ebuild 1316 SHA256 a7ae9fdbbd2f71b82ea1909183dadb9dce664b3c96a10a7a3da106e0aa521ec6 SHA512 f8803fd52e6f7ee42f364cbde11465b95181350b3e1ab0f7378db844eb9f183723805350347d27a12071c4da6c3f4ab0a604430e5894a6ed0028b1794835a234 WHIRLPOOL 66d938bb63e49f3278467d9c9faa743952e4253bde249cde285a567aec4a5e303706d76f1e38f2a86e48591311561127b61e88f41e52df5aa185bdc9e0ef7520
+EBUILD qpdf-5.1.3-r1.ebuild 1330 SHA256 ff52a27ea872d3fee9b58ad2fff521d847a02047cd16aad6a88ed5f28765fd69 SHA512 8ba17da0d59e2fd3219d5edb02d778accd75a6588fda5d218d62755a5e54488c80f513566fec0091a85a19ea55c0e49f74ad17454d9128104f9724d343b27ff3 WHIRLPOOL 03da2307e9b384f6a3cce33ccd69560ec290241af12d17b7d7a7bc9116286fc487f6e3b8efefdb4b879f7438add0894906d4c47c449b1ab4e010602617fec65b
+EBUILD qpdf-6.0.0-r2.ebuild 1223 SHA256 8af98c415883deab0d1661ae4bf327ffa363f05d641daa5b4f7c64d45ddb34f5 SHA512 9d11d2921dc5a579e9099c33a1b6fb9b3dfc30f38e5c928e91758fb96be0a478f68abb9ed8d41878fca9e34e989c60a92429bdaa9da293fcd3f7f6bc291f1819 WHIRLPOOL 95b35f73b24bc02d1da03f232157f0cfefdbb2ec9822e976de72abf2260139e2e56ef320556e76772bdb01dcc4f95dca6cf7e0cf8dfa4855892b876e7494b8f6
+EBUILD qpdf-7.0.0.ebuild 1243 SHA256 dedcbfd6e80a0edc22dee7412713409447889d066772cfa004db0ea290f8aef6 SHA512 d5cafcfa976ec5dea186adef4a5bd1102cfb04dc0844dd2894119446a56a043688c2d341d7785748643150e62e24a7794c57e0817e041e192ee7cc136224924a WHIRLPOOL 0018225541f6fb4b0464b3bc10cabf3dc68e39452362547214d2ebad92e1802c5da8fe4402ee057559ec1d839778c6ca450aca7d17ed8be322545051d4bfab31
+MISC ChangeLog 3431 SHA256 6b0ae0d22cd4abe74fcaebe011e12b3faceba88bbb7473e3fdd6af68b064bfca SHA512 64bfd6841c5400a6cdef5acaf55c44696bb6b23cf5d38110c50ac8752047b5b9cd15b98e60a611dca8676e1c5fd514718de50a36adeaa90e9b6711d658f16048 WHIRLPOOL f56a221608c138a562fb9b0aace8bb2ca22efe5e3dd7dd5bb6b87e18f65e6ea8cca55f04b2b95b95084f1a82d48ec3282929874fb9a55ed28ea16c465eff6398
+MISC ChangeLog-2015 6308 SHA256 9c969026385fd6ec61f8d31db32bf76fdfdba99079085fc0523da55e5f9b9e79 SHA512 c5ebd542a18be75c45a00e4c596ab869b85e24b5f316c49d2b1d3a3bb94865d183fd3cd65673e1282e5b7464f1b185f24c1447746e2b330cbb22365b93f0f78c WHIRLPOOL a29fc4ceb83cfcd87bd877f7e5c5f1acd3016aa4b946d91089b61f27da78d103e8aaa0ca79439c01a5419f226ddb86f6ac638d137f7cdbce63a64989e4057be1
+MISC metadata.xml 438 SHA256 cacf14efed5f71af911028d98a1b9b8e9efd779b94e20cb763104681c96b2d00 SHA512 4c1aa514207b18e7b4de0585545d1c7b5def7f42be9d43726801f9a9ae7b129b91802dedf4e3eb9f2595a26e3863918c029b927ab42b6aab7ab0130c000ff843 WHIRLPOOL e9f411b855c1f3be16b04a832064dca4c5d0c341ab7820d90df44d47463580d7896f003a2de229bedf93c96618c0b53034470f7fa3dff4ac4d2dac78ab851f46
diff --git a/app-text/qpdf/metadata.xml b/app-text/qpdf/metadata.xml
new file mode 100644
index 000000000000..ce823e597ac8
--- /dev/null
+++ b/app-text/qpdf/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>printing@gentoo.org</email>
+ <name>Gentoo Printing Project</name>
+ </maintainer>
+ <use>
+ <flag name="perl">Install fix-qdf tool (for reverting PDF edits) written in perl</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">qpdf</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/qpdf/qpdf-5.1.1-r1.ebuild b/app-text/qpdf/qpdf-5.1.1-r1.ebuild
new file mode 100644
index 000000000000..350b27088603
--- /dev/null
+++ b/app-text/qpdf/qpdf-5.1.1-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils
+
+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="Artistic-2"
+SLOT="0/13" # subslot = libqpdf soname version
+KEYWORDS="alpha amd64 arm 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"
+
+RDEPEND="dev-libs/libpcre
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ test? (
+ sys-apps/diffutils
+ media-libs/tiff
+ app-text/ghostscript-gpl[tiff]
+ )"
+# Only need perl for the installed tools.
+RDEPEND+=" perl? ( >=dev-lang/perl-5.8 )"
+
+DOCS=( ChangeLog README TODO )
+
+src_prepare() {
+ # manually install docs
+ sed -i "/docdir/d" make/libtool.mk || die
+}
+
+src_configure() {
+ 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 doc ; then
+ dodoc doc/qpdf-manual.pdf
+ dohtml doc/*
+ fi
+
+ if use examples ; then
+ dobin examples/build/.libs/*
+ fi
+
+ prune_libtool_files
+}
diff --git a/app-text/qpdf/qpdf-5.1.3-r1.ebuild b/app-text/qpdf/qpdf-5.1.3-r1.ebuild
new file mode 100644
index 000000000000..9d94e855b41f
--- /dev/null
+++ b/app-text/qpdf/qpdf-5.1.3-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+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="Artistic-2"
+SLOT="0/13" # subslot = libqpdf soname version
+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"
+
+RDEPEND="dev-libs/libpcre
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ test? (
+ sys-apps/diffutils
+ media-libs/tiff
+ app-text/ghostscript-gpl[tiff]
+ )"
+# Only need perl for the installed tools.
+RDEPEND+=" perl? ( >=dev-lang/perl-5.8 )"
+
+DOCS=( ChangeLog README TODO )
+
+src_prepare() {
+ # manually install docs
+ sed -i "/docdir/d" make/libtool.mk || die
+}
+
+src_configure() {
+ 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 doc ; then
+ dodoc doc/qpdf-manual.pdf
+ dohtml doc/*
+ fi
+
+ if use examples ; then
+ dobin examples/build/.libs/*
+ fi
+
+ prune_libtool_files
+}
diff --git a/app-text/qpdf/qpdf-6.0.0-r2.ebuild b/app-text/qpdf/qpdf-6.0.0-r2.ebuild
new file mode 100644
index 000000000000..f00413270dcc
--- /dev/null
+++ b/app-text/qpdf/qpdf-6.0.0-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 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="Artistic-2"
+
+# subslot = libqpdf soname version
+SLOT="0/17"
+
+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="
+ dev-libs/libpcre
+ sys-libs/zlib
+"
+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 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 {} +
+}
diff --git a/app-text/qpdf/qpdf-7.0.0.ebuild b/app-text/qpdf/qpdf-7.0.0.ebuild
new file mode 100644
index 000000000000..8aee07529518
--- /dev/null
+++ b/app-text/qpdf/qpdf-7.0.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 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/18"
+
+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 {} +
+}