summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-23 07:25:14 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-23 07:25:14 +0000
commitacbe56913f0536de551c3b2375317754081c1279 (patch)
treed4dab1b074eb465186cf34d12a967f9f340f2aba /app-text/pdf2djvu
parentVersion bump. (diff)
downloadgentoo-2-acbe56913f0536de551c3b2375317754081c1279.tar.gz
gentoo-2-acbe56913f0536de551c3b2375317754081c1279.tar.bz2
gentoo-2-acbe56913f0536de551c3b2375317754081c1279.zip
Version bump.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-text/pdf2djvu')
-rw-r--r--app-text/pdf2djvu/ChangeLog9
-rw-r--r--app-text/pdf2djvu/pdf2djvu-0.7.12.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/app-text/pdf2djvu/ChangeLog b/app-text/pdf2djvu/ChangeLog
index ff27c5935316..4e991ee0bada 100644
--- a/app-text/pdf2djvu/ChangeLog
+++ b/app-text/pdf2djvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/pdf2djvu
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.8 2011/10/19 16:00:02 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.9 2012/01/23 07:25:14 ssuominen Exp $
+
+*pdf2djvu-0.7.12 (23 Jan 2012)
+
+ 23 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +pdf2djvu-0.7.12.ebuild:
+ Version bump.
*pdf2djvu-0.7.11 (19 Oct 2011)
diff --git a/app-text/pdf2djvu/pdf2djvu-0.7.12.ebuild b/app-text/pdf2djvu/pdf2djvu-0.7.12.ebuild
new file mode 100644
index 000000000000..8d03b2975488
--- /dev/null
+++ b/app-text/pdf2djvu/pdf2djvu-0.7.12.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/pdf2djvu-0.7.12.ebuild,v 1.1 2012/01/23 07:25:14 ssuominen Exp $
+
+EAPI=4
+inherit toolchain-funcs
+
+DESCRIPTION="A tool to create DjVu files from PDF files"
+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.16.7[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() {
+ use graphicsmagick && emake test
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc doc/{changelog,{cjk,credits,djvudigital}.txt}
+}