summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-05-21 15:35:52 -0700
committerZac Medico <zmedico@gentoo.org>2017-05-21 15:57:59 -0700
commit2e7b347eb8060275d19b5c707cb8647580596ab1 (patch)
treeb8f616ae3c41ae10cfa70374ce4ba4f03c61acc3 /app-text/podofo
parentdev-perl/Business-ISBN: Bump to version 3.4.0 (diff)
downloadgentoo-2e7b347eb8060275d19b5c707cb8647580596ab1.tar.gz
gentoo-2e7b347eb8060275d19b5c707cb8647580596ab1.tar.bz2
gentoo-2e7b347eb8060275d19b5c707cb8647580596ab1.zip
app-text/podofo: add tools USE flag (bug 608876)
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-text/podofo')
-rw-r--r--app-text/podofo/metadata.xml3
-rw-r--r--app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild6
2 files changed, 7 insertions, 2 deletions
diff --git a/app-text/podofo/metadata.xml b/app-text/podofo/metadata.xml
index 11df5f9c71c5..9faec0a121a7 100644
--- a/app-text/podofo/metadata.xml
+++ b/app-text/podofo/metadata.xml
@@ -6,6 +6,9 @@
</maintainer>
<use>
<flag name="boost">Add support for boost</flag>
+ <flag name="tools">
+ Build and install commandline tools.
+ </flag>
</use>
<upstream>
<remote-id type="sourceforge">podofo</remote-id>
diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index 01c905036579..9ac790385034 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -11,7 +11,8 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0/${PVR}"
KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
-IUSE="+boost idn libressl debug test"
+IUSE="+boost idn libressl debug test +tools"
+REQUIRED_USE="test? ( tools )"
RDEPEND="dev-lang/lua:=
idn? ( net-dns/libidn:= )
@@ -125,7 +126,8 @@ src_configure() {
"-DUSE_STLPORT=0"
-DWANT_BOOST=$(usex boost ON OFF)
-DHAVE_LIBIDN=$(usex idn ON OFF)
- -DHAVE_CPPUNIT=$(usex test ON OFF)
+ -DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF)
+ -DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON)
)
cmake-utils_src_configure