summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-28 08:23:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-28 08:23:21 +0000
commit3fee6a1489ae7254e75d069de1fdfafb323981f9 (patch)
tree8a01ef81987855e9c006e143ee581b2fa9c6bd5f /app-text/pdf2djvu
parentchange to new style virtual/mta - bug 360305 (diff)
downloadgentoo-2-3fee6a1489ae7254e75d069de1fdfafb323981f9.tar.gz
gentoo-2-3fee6a1489ae7254e75d069de1fdfafb323981f9.tar.bz2
gentoo-2-3fee6a1489ae7254e75d069de1fdfafb323981f9.zip
Version bump wrt #358363 by Tim Harder. The package is veryvery low maintenance, drop it on printing herd
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'app-text/pdf2djvu')
-rw-r--r--app-text/pdf2djvu/ChangeLog9
-rw-r--r--app-text/pdf2djvu/metadata.xml6
-rw-r--r--app-text/pdf2djvu/pdf2djvu-0.7.6.ebuild46
3 files changed, 54 insertions, 7 deletions
diff --git a/app-text/pdf2djvu/ChangeLog b/app-text/pdf2djvu/ChangeLog
index 2cf18fb68610..4219daadd3dc 100644
--- a/app-text/pdf2djvu/ChangeLog
+++ b/app-text/pdf2djvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/pdf2djvu
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.2 2010/06/27 00:41:15 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.3 2011/03/28 08:23:21 ssuominen Exp $
+
+*pdf2djvu-0.7.6 (28 Mar 2011)
+
+ 28 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> +pdf2djvu-0.7.6.ebuild:
+ Version bump wrt #358363 by Tim Harder.
27 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> pdf2djvu-0.7.4.ebuild:
Run testsuite only if USE graphicsmagick is enabled wrt #325683 by Diego
diff --git a/app-text/pdf2djvu/metadata.xml b/app-text/pdf2djvu/metadata.xml
index 4b44cc6b3817..8e976c442203 100644
--- a/app-text/pdf2djvu/metadata.xml
+++ b/app-text/pdf2djvu/metadata.xml
@@ -1,11 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>ssuominen@gentoo.org</email>
- <name>Samuli Suominen</name>
- </maintainer>
+ <herd>printing</herd>
<use>
<flag name='graphicsmagick'>Enable <pkg>media-gfx/graphicsmagick</pkg> support</flag>
</use>
diff --git a/app-text/pdf2djvu/pdf2djvu-0.7.6.ebuild b/app-text/pdf2djvu/pdf2djvu-0.7.6.ebuild
new file mode 100644
index 000000000000..519dca9fa1de
--- /dev/null
+++ b/app-text/pdf2djvu/pdf2djvu-0.7.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/pdf2djvu-0.7.6.ebuild,v 1.1 2011/03/28 08:23:21 ssuominen Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="convert PDF files to DjVu ones"
+HOMEPAGE="http://code.google.com/p/pdf2djvu/"
+SRC_URI="http://pdf2djvu.googlecode.com/files/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="graphicsmagick nls openmp"
+
+RDEPEND=">=app-text/djvu-3.5.21
+ >=app-text/poppler-0.12.3-r3[xpdf-headers]
+ dev-libs/libxml2
+ dev-libs/libxslt
+ graphicsmagick? ( media-gfx/graphicsmagick )"
+DEPEND="${RDEPEND}
+ dev-cpp/pstreams
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ local openmp=disable
+ use openmp && tc-has-openmp && openmp=enable
+
+ econf \
+ --${openmp}-openmp \
+ $(use_enable nls) \
+ $(use_with graphicsmagick)
+}
+
+src_test() {
+ if use graphicsmagick; then
+ emake test || die
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc doc/*.txt
+}