diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-12-22 22:18:35 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-12-22 22:18:35 +0100 |
commit | b13f3c98d519ff20a71dd2e457ef08fd02b9466d (patch) | |
tree | f464b9708f03f51173a2fa04ace05658d652b5b4 /app-text/pdf2djvu | |
parent | dev-python/backports-ssl-match-hostname: Version bump (diff) | |
download | gentoo-b13f3c98d519ff20a71dd2e457ef08fd02b9466d.tar.gz gentoo-b13f3c98d519ff20a71dd2e457ef08fd02b9466d.tar.bz2 gentoo-b13f3c98d519ff20a71dd2e457ef08fd02b9466d.zip |
app-text/pdf2djvu: Version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text/pdf2djvu')
-rw-r--r-- | app-text/pdf2djvu/Manifest | 1 | ||||
-rw-r--r-- | app-text/pdf2djvu/pdf2djvu-0.9.1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-text/pdf2djvu/Manifest b/app-text/pdf2djvu/Manifest index 7294ab8e07dd..45f13e12ae00 100644 --- a/app-text/pdf2djvu/Manifest +++ b/app-text/pdf2djvu/Manifest @@ -1,3 +1,4 @@ DIST pdf2djvu-0.7.21.tar.xz 229020 SHA256 12d480cc3ce2369e1f1b39b7f5e6fbb44351d8b07861295d34e6978f58b687b9 SHA512 920e49b23f9c1d1a8f6c0be9257dc175ef94350f6e488d88813eb2586344f373b4b173530031d9aeff24b1ad220cc68a3094d4e821cd3a1511ba01e492ed084f WHIRLPOOL 7d09ca40f330c79c0a1abf9967f9ce5d05cfaa8a5904bf69c751a4ca1cce5da2987c519cc001dd7b3fdaa0822127e3ead269ee723f78c6cc18d1c7666b8b28e5 DIST pdf2djvu-0.8.1.tar.xz 239164 SHA256 716b1ac2c4328fcfee8b33a0b6cd011b2ebee040de57163978ddd84ffcf9f8e9 SHA512 f61940726a1c04d33ff71c2a9230c4decd81a26ac44c4859cd6929a505b159e21fa06d80ba1c86f464aaeb6246d76ea751a3f35e8211364855d082b1b96465c0 WHIRLPOOL cafe5b07977d6382dd4935d879ad7923b188c042c4b07b6d07a9e600a6d683f1b1d4a3cd1e83d9f82169d9d9bb88ac379625dbf9d81e6b6fe2c51d017b9da95a DIST pdf2djvu-0.8.2.tar.xz 234412 SHA256 40b0812e954f374704bd8dbb5952786f6744623a2ec6df1c56de0b8057be93d6 SHA512 72a3ee719b6311824c1f71269787b31cdd600bc8671f0486419f4d023cb10f9d338df18ce33c982ed43f893d441a723bffd502a17287be43a00dc695ca959042 WHIRLPOOL 72863dfc7f4a7d1665de77a3fa12242c83746f4c3a237b45e92fd3111581f55e16a5c020590d12185db13b7035a987ab2efaa8fee9b47adb60f0502703af6a7c +DIST pdf2djvu-0.9.1.tar.xz 238840 SHA256 9f9919e97fe244f4c49fa4074120cfc03397379b39f32a911793088039c63df5 SHA512 9ccc5a5523f9b9f17f67912a63f0314eac93a633282bb8bee95bcd9b0f50ef2d05ddbb3456daee7b8d5795081c27002ffc355e6effcfbee4ce9a52b7f92bdf50 WHIRLPOOL ae3e531a5de524e03cd353af54bb4171a62fc01b4162ec31b2401eea53732acb13fed80f3b5eb7ed797080b1b2aab5908d6666a95068b0583b3f8ce92130897e diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.1.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.1.ebuild new file mode 100644 index 000000000000..653e9bbc712e --- /dev/null +++ b/app-text/pdf2djvu/pdf2djvu-0.9.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 toolchain-funcs + +DESCRIPTION="A tool to create DjVu files from PDF files" +HOMEPAGE="http://jwilk.net/software/pdf2djvu" +SRC_URI="https://bitbucket.org/jwilk/${PN}/downloads/${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? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +REQUIRED_USE="test? ( graphicsmagick ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use test && python-single-r1_pkg_setup +} + +src_configure() { + local openmp=--disable-openmp + use openmp && tc-has-openmp && openmp=--enable-openmp + + econf \ + ${openmp} \ + $(use_enable nls) \ + $(use_with graphicsmagick) +} + +src_install() { + default + dodoc doc/{changelog,{cjk,credits,djvudigital}.txt} +} |