summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-20 18:19:31 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-20 18:19:31 +0000
commit1c1701d10965f416233ecf4a069da93d050fb3bd (patch)
treef9c1dbdcdc1d5b17a06ccb6b2fd80a3e565ed18e /app-text/qpdf
parentRevision bump for upstream tarball change without appropriate version bump. (diff)
downloadgentoo-2-1c1701d10965f416233ecf4a069da93d050fb3bd.tar.gz
gentoo-2-1c1701d10965f416233ecf4a069da93d050fb3bd.tar.bz2
gentoo-2-1c1701d10965f416233ecf4a069da93d050fb3bd.zip
Initial import (bug #394651). Ebuild by me.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'app-text/qpdf')
-rw-r--r--app-text/qpdf/ChangeLog10
-rw-r--r--app-text/qpdf/Manifest4
-rw-r--r--app-text/qpdf/metadata.xml8
-rw-r--r--app-text/qpdf/qpdf-2.3.0.ebuild48
4 files changed, 70 insertions, 0 deletions
diff --git a/app-text/qpdf/ChangeLog b/app-text/qpdf/ChangeLog
new file mode 100644
index 000000000000..f63887310e27
--- /dev/null
+++ b/app-text/qpdf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/qpdf
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/ChangeLog,v 1.1 2011/12/20 18:19:31 radhermit Exp $
+
+*qpdf-2.3.0 (20 Dec 2011)
+
+ 20 Dec 2011; Tim Harder <radhermit@gentoo.org> +qpdf-2.3.0.ebuild,
+ +metadata.xml:
+ Initial import (bug #394651). Ebuild by me.
+
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
new file mode 100644
index 000000000000..7c27625ec3c6
--- /dev/null
+++ b/app-text/qpdf/Manifest
@@ -0,0 +1,4 @@
+DIST qpdf-2.3.0.tar.gz 4725892 RMD160 2be42fff3b849d75797c78b21faa1693411d6ef5 SHA1 a11b5e9b8a591b44098400ffe3a6114fd6d94b3f SHA256 36824387cebd324c908d97bac13a8169b04fea7593e7c9c7314c8fd6cf9045bb
+EBUILD qpdf-2.3.0.ebuild 983 RMD160 1060ba3912ab3c4a03da3e053a7cb64f5c6bd43f SHA1 cd5eb05a3e05f8a0615257ad2be6652af3ce4e0e SHA256 5f47b70f20fbb26a25b609ae000180c995a9d7fe66b9a8c1cbe1b0217ab74688
+MISC ChangeLog 274 RMD160 d8dbc28da7f84547d23e0f8e6c74912678c35461 SHA1 e2852daccf58267a065ae73d9aeabdd7f5249773 SHA256 b85558dbdded24c0a1df2d66cf23a2db002ec5345e6014d84e7d396a7fcabd2d
+MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a
diff --git a/app-text/qpdf/metadata.xml b/app-text/qpdf/metadata.xml
new file mode 100644
index 000000000000..157326a7e891
--- /dev/null
+++ b/app-text/qpdf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-text/qpdf/qpdf-2.3.0.ebuild b/app-text/qpdf/qpdf-2.3.0.ebuild
new file mode 100644
index 000000000000..3c2c8ff7d291
--- /dev/null
+++ b/app-text/qpdf/qpdf-2.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-2.3.0.ebuild,v 1.1 2011/12/20 18:19:31 radhermit Exp $
+
+EAPI="4"
+
+DESCRIPTION="A command-line program that does structural, content-preserving transformations on PDF files"
+HOMEPAGE="http://qpdf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples static-libs test"
+
+RDEPEND="dev-libs/libpcre
+ sys-libs/zlib
+ >=dev-lang/perl-5.8"
+DEPEND="${RDEPEND}
+ test? ( sys-apps/diffutils )"
+
+DOCS=( ChangeLog README TODO )
+
+src_prepare() {
+ # Manually install docs
+ sed -i -e "/docdir/d" make/libtool.mk || die
+}
+
+src_configure() {
+ # Disable tests that use ghostscript until they are fixed
+ econf \
+ --disable-test-compare-images
+}
+
+src_install() {
+ default
+
+ use static-libs || rm -f "${ED}"/usr/lib*/libqpdf.a
+
+ if use doc ; then
+ dodoc doc/qpdf-manual.pdf
+ dohtml doc/*
+ fi
+
+ if use examples ; then
+ dobin examples/build/.libs/*
+ fi
+}