diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-06-12 19:07:17 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-06-12 19:07:17 +0200 |
commit | 20b5d06291dacca192f08b6b901050c834c9e2b0 (patch) | |
tree | 6ed477154dc9e68de4cc1e2bb636ed902f4576b4 /app-text | |
parent | app-text/poppler: Added dev-libs/boost to BDEPEND (diff) | |
download | gentoo-20b5d06291dacca192f08b6b901050c834c9e2b0.tar.gz gentoo-20b5d06291dacca192f08b6b901050c834c9e2b0.tar.bz2 gentoo-20b5d06291dacca192f08b6b901050c834c9e2b0.zip |
app-text/poppler: Make splash backend build optional
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/poppler/metadata.xml | 1 | ||||
-rw-r--r-- | app-text/poppler/poppler-21.06.1.ebuild | 10 | ||||
-rw-r--r-- | app-text/poppler/poppler-9999.ebuild | 10 |
3 files changed, 13 insertions, 8 deletions
diff --git a/app-text/poppler/metadata.xml b/app-text/poppler/metadata.xml index 6f044d376b2f..91f9161a0e05 100644 --- a/app-text/poppler/metadata.xml +++ b/app-text/poppler/metadata.xml @@ -22,6 +22,7 @@ </upstream> <use> <flag name="nss">Enable signatures handling with <pkg>dev-libs/nss</pkg></flag> + <flag name="splash">Build the Splash graphics backend (requires <pkg>dev-libs/boost</pkg>)</flag> <flag name="utils">Install command-line PDF converters and various utilities.</flag> </use> <slots> diff --git a/app-text/poppler/poppler-21.06.1.ebuild b/app-text/poppler/poppler-21.06.1.ebuild index d635ec8b9d35..048302fba121 100644 --- a/app-text/poppler/poppler-21.06.1.ebuild +++ b/app-text/poppler/poppler-21.06.1.ebuild @@ -19,13 +19,12 @@ DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" HOMEPAGE="https://poppler.freedesktop.org/" LICENSE="GPL-2" -IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" +IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 +splash tiff +utils" # No test data provided RESTRICT="test" BDEPEND=" - dev-libs/boost dev-util/glib-utils virtual/pkgconfig " @@ -54,6 +53,9 @@ DEPEND=" RDEPEND="${DEPEND} cjk? ( app-text/poppler-data ) " +DEPEND+=" + splash? ( dev-libs/boost ) +" DOCS=( AUTHORS NEWS README.md README-XPDF ) @@ -89,8 +91,8 @@ src_configure() { -DBUILD_MANUAL_TESTS=OFF -DRUN_GPERF_IF_PRESENT=OFF # Required for SPLASH - -DENABLE_BOOST=ON - -DENABLE_SPLASH=ON + -DENABLE_BOOST="$(usex splash)" + -DENABLE_SPLASH="$(usex splash)" -DENABLE_ZLIB=ON -DENABLE_ZLIB_UNCOMPRESS=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index d635ec8b9d35..048302fba121 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -19,13 +19,12 @@ DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" HOMEPAGE="https://poppler.freedesktop.org/" LICENSE="GPL-2" -IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" +IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 +splash tiff +utils" # No test data provided RESTRICT="test" BDEPEND=" - dev-libs/boost dev-util/glib-utils virtual/pkgconfig " @@ -54,6 +53,9 @@ DEPEND=" RDEPEND="${DEPEND} cjk? ( app-text/poppler-data ) " +DEPEND+=" + splash? ( dev-libs/boost ) +" DOCS=( AUTHORS NEWS README.md README-XPDF ) @@ -89,8 +91,8 @@ src_configure() { -DBUILD_MANUAL_TESTS=OFF -DRUN_GPERF_IF_PRESENT=OFF # Required for SPLASH - -DENABLE_BOOST=ON - -DENABLE_SPLASH=ON + -DENABLE_BOOST="$(usex splash)" + -DENABLE_SPLASH="$(usex splash)" -DENABLE_ZLIB=ON -DENABLE_ZLIB_UNCOMPRESS=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON |