From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7AB7138334 for ; Fri, 11 Jan 2019 00:42:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 986F3E0ABF; Fri, 11 Jan 2019 00:42:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 553C1E0ABF for ; Fri, 11 Jan 2019 00:42:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57858335D08 for ; Fri, 11 Jan 2019 00:42:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D3CF50B for ; Fri, 11 Jan 2019 00:42:44 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1547167348.f8b1c0c6306330fc0535d4827dc116296bf782ea.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pdf2djvu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/pdf2djvu/Manifest app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild X-VCS-Directories: app-text/pdf2djvu/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: f8b1c0c6306330fc0535d4827dc116296bf782ea X-VCS-Branch: master Date: Fri, 11 Jan 2019 00:42:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 01b72745-a30a-41e5-99f0-12e064879b83 X-Archives-Hash: 0f7daf0fc95bb8fef57a1bd6d3e5490a commit: f8b1c0c6306330fc0535d4827dc116296bf782ea Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Jan 11 00:41:40 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jan 11 00:42:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b1c0c6 app-text/pdf2djvu: Fix build with poppler-0.72 Closes: https://bugs.gentoo.org/674806 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> app-text/pdf2djvu/Manifest | 1 + app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild | 60 ++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/app-text/pdf2djvu/Manifest b/app-text/pdf2djvu/Manifest index aa8e15d3ecf..19a4bcd17c1 100644 --- a/app-text/pdf2djvu/Manifest +++ b/app-text/pdf2djvu/Manifest @@ -1,2 +1,3 @@ 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 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 00000000000..069fd000f70 --- /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) +}