summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/pdf2djvu/ChangeLog7
-rw-r--r--app-text/pdf2djvu/pdf2djvu-0.7.14.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/app-text/pdf2djvu/ChangeLog b/app-text/pdf2djvu/ChangeLog
index b99c57f699bc..639e3125a69f 100644
--- a/app-text/pdf2djvu/ChangeLog
+++ b/app-text/pdf2djvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/pdf2djvu
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.13 2012/08/08 16:23:01 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.14 2012/09/20 02:16:28 radhermit Exp $
+
+*pdf2djvu-0.7.14 (20 Sep 2012)
+
+ 20 Sep 2012; Tim Harder <radhermit@gentoo.org> +pdf2djvu-0.7.14.ebuild:
+ Version bump.
08 Aug 2012; Andreas K. Huettel <dilfridge@gentoo.org>
pdf2djvu-0.7.12.ebuild, pdf2djvu-0.7.13.ebuild:
diff --git a/app-text/pdf2djvu/pdf2djvu-0.7.14.ebuild b/app-text/pdf2djvu/pdf2djvu-0.7.14.ebuild
new file mode 100644
index 000000000000..688b6ddf5186
--- /dev/null
+++ b/app-text/pdf2djvu/pdf2djvu-0.7.14.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.14.ebuild,v 1.1 2012/09/20 02:16:28 radhermit 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
+ virtual/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}
+}