diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
commit | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch) | |
tree | 9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /app-text/pdf2djvu | |
parent | 2891d29af8907ce881662f4a02844926d7a293c7 (diff) |
gentoo resync : 12.01.2019
Diffstat (limited to 'app-text/pdf2djvu')
-rw-r--r-- | app-text/pdf2djvu/Manifest | 2 | ||||
-rw-r--r-- | app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-text/pdf2djvu/Manifest b/app-text/pdf2djvu/Manifest index b769f78f296c..55b3a7ee097c 100644 --- a/app-text/pdf2djvu/Manifest +++ b/app-text/pdf2djvu/Manifest @@ -1,5 +1,7 @@ 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.8.tar.xz 268976 BLAKE2B 318ef4fd5677056d2404d769bf54911c9474d6f0f839ef472e121375ee268db31ddaaad2b8ed791ef093d6cb1c665f6431619918ee852e479b4a11a3d7ae0e23 SHA512 5f5330d3d15808b5b6233a15a984d0ebf28619cfb50807a20c8992fed68d17f73d1edd62b1ad7cd3a09d526f6c9f0827e2c5e03d6d7c8ad92c1f106755025f5e EBUILD pdf2djvu-0.9.11.ebuild 1248 BLAKE2B 2c853db54877e60077815a89a9257a0258fc6a5aa6f6a8baefa9b11b5c10f1819fdb4b93ae3cb23b1c604ee9401b3e69304838b6998bd60663637f492d3b976c SHA512 8b7525c6af445582c5710fb92c4133aecef5e1e8e6acd9764bebb0a12e61ad3981d3bfbb83c6d224f95d31cb9a0dc7bc128c9d89e4481a2ae3a57de24fe9c445 +EBUILD pdf2djvu-0.9.12.ebuild 1248 BLAKE2B 314a6564b04a6d638ce2f33f98eb5e66a1066210db47fd535430106b46253c5f064c7e03ba2d83a9b6403ccbec6c15cce8cbb0bfba60a30fd7de0faad7a2a802 SHA512 bd531152726f48d84dd71c02ceb60dd779708571fd015c1243c1b1b5b44ef9b7fb11a0ef70cf3d7af9d74a1fe2a3deb0e19fc457e3d8619ba11b71bf42fa9e0d EBUILD pdf2djvu-0.9.8.ebuild 1251 BLAKE2B 6a3487ef4e2195daf5c78447960874a504bcb4a2f5187b49e058df35ed7482f820058aec8d719a52aca3a558ce86cef5705c006d422ef516db9de69632767404 SHA512 b2a2ed2d2f9ebe91f15f2da833b5e5a638bc9a82b7a2562eb4548909bfca18d519f9d76f5f2e843115e73af8c7a232ad4b5f5de419ac08371114762ef2d42013 MISC metadata.xml 351 BLAKE2B 68816123c075f603535faa42307dfc58066cc7c9db272b1f6004a9e0bba5d71d0a798b5b2fed9d4af704ed5145264b400f406c5b1185e3b759c97c0ccccc05d1 SHA512 98cfb584785e967dfd11dc82da694ccde0031609c28faca492d2384d6257020ebf8ac264dcb512129f5a681455ce3228b9f443aa2aa99197134ed7957901eb06 diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild new file mode 100644 index 000000000000..069fd000f70f --- /dev/null +++ b/app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild @@ -0,0 +1,60 @@ +# 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" + +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 ${PYTHON_REQUIRED_USE} )" + +DOCS=( + doc/{changelog,credits,djvudigital,README} +) + +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) +} |