summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2019-12-25 04:07:06 -0600
committerMatthias Maier <tamiko@gentoo.org>2019-12-25 04:18:01 -0600
commit55ce991f3d22734acdd99925a84e805041c064dd (patch)
tree4d951e2545c9699a316ddbd511dbec679e68d46b /app-text
parentprofiles: Mask x11-themes/audacious-themes for removal. (diff)
downloadgentoo-55ce991f3d22734acdd99925a84e805041c064dd.tar.gz
gentoo-55ce991f3d22734acdd99925a84e805041c064dd.tar.bz2
gentoo-55ce991f3d22734acdd99925a84e805041c064dd.zip
app-text/pdf2djvu: version bump to 0.9.15
Bug: https://bugs.gentoo.org/699818 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/pdf2djvu/Manifest1
-rw-r--r--app-text/pdf2djvu/pdf2djvu-0.9.15.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/app-text/pdf2djvu/Manifest b/app-text/pdf2djvu/Manifest
index 19a4bcd17c1f..c5ec33edf42d 100644
--- a/app-text/pdf2djvu/Manifest
+++ b/app-text/pdf2djvu/Manifest
@@ -1,3 +1,4 @@
DIST pdf2djvu-0.9.11.tar.xz 291356 BLAKE2B 726d9132c43c7dabdecf1e6174a3f2627db7f6981b3ba1f280ea131272ea0fef38acdaaa0f78ab0c883dd2cd046017edac46bb10d91e10668a6e480322e465fb SHA512 7b47ff4cd3a49f3fa1fec08490a192725899307d9c2a75a65a21d36abcece2f308e56161ec4c4f77f32fbdedcc167520657cad2b06cf178335f7e2169b7ada82
DIST pdf2djvu-0.9.12.tar.xz 295088 BLAKE2B 6dd8b04f089e464becd7923c96ac2ca35efc28412c1913270c8c85656b58a74a47777b1b5b932d29e3ee2ad4d75bc6bcb85b835e5aa7e9d9c6a0ef7b242b5c46 SHA512 2a3acd8efa682541f45a0650070c0260903dadbd49ac6d4560e2e5ee3c5a68a1310dcb9d170035ee8fec0e588171f2c402047b3d7dc4e7d4033abe95f2ebde74
+DIST pdf2djvu-0.9.15.tar.xz 296208 BLAKE2B 19a88e3d38c80b6a67b5c79b4c9d03b882385ffdf4602a8fcde189bee4d25a70ed8feac7a14310c159327b126607673df57985522b2eff5699e85193729b3529 SHA512 825b1a01ea4fdda8d2354ef5c0702f1deea44a30893bdab3d4292a31a812b093d682c94ad73b85b6bb7dca5d865cc0357e2911aa4edd1133737a14dd102ad34f
DIST pdf2djvu-0.9.8.tar.xz 268976 BLAKE2B 318ef4fd5677056d2404d769bf54911c9474d6f0f839ef472e121375ee268db31ddaaad2b8ed791ef093d6cb1c665f6431619918ee852e479b4a11a3d7ae0e23 SHA512 5f5330d3d15808b5b6233a15a984d0ebf28619cfb50807a20c8992fed68d17f73d1edd62b1ad7cd3a09d526f6c9f0827e2c5e03d6d7c8ad92c1f106755025f5e
diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.15.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.15.ebuild
new file mode 100644
index 000000000000..988a47a28bb8
--- /dev/null
+++ b/app-text/pdf2djvu/pdf2djvu-0.9.15.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-any-r1 toolchain-funcs flag-o-matic
+
+DESCRIPTION="A tool to create DjVu files from PDF files"
+HOMEPAGE="http://jwilk.net/software/pdf2djvu"
+SRC_URI="https://github.com/jwilk/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+graphicsmagick nls openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=app-text/djvu-3.5.21:=
+ >=app-text/poppler-0.16.7:=
+ dev-libs/libxml2:=
+ dev-libs/libxslt:=
+ graphicsmagick? ( media-gfx/graphicsmagick:= )
+"
+DEPEND="${RDEPEND}
+ dev-cpp/pstreams
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]')
+ )
+"
+
+REQUIRED_USE="test? ( graphicsmagick )"
+
+DOCS=(
+ doc/{changelog,credits,djvudigital,README}
+)
+
+PATCHES=(
+)
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # bug 626874, poppler headers require C++11
+ append-cxxflags -std=c++11
+ default
+}
+
+src_configure() {
+ local openmp=--disable-openmp
+ use openmp && tc-has-openmp && openmp=--enable-openmp
+
+ econf \
+ ${openmp} \
+ $(use_enable nls) \
+ $(use_with graphicsmagick)
+}