From: Zac Medico Date: Sun, 21 May 2017 22:35:52 +0000 (-0700) Subject: app-text/podofo: add tools USE flag (bug 608876) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2e7b347eb8060275d19b5c707cb8647580596ab1;p=gentoo.git app-text/podofo: add tools USE flag (bug 608876) Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- 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 @@ Add support for boost + + Build and install commandline tools. + podofo 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