summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2022-10-09 00:15:08 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2022-10-09 00:35:41 +0200
commit3c3444c09820efcf72b7965c512674eeba364831 (patch)
treec6898ef6eb7ed9ded323a357586cb244ce8e1dea /sci-visualization
parentsys-fs/squashfuse: update SRC_URI (diff)
downloadgentoo-3c3444c09820efcf72b7965c512674eeba364831.tar.gz
gentoo-3c3444c09820efcf72b7965c512674eeba364831.tar.bz2
gentoo-3c3444c09820efcf72b7965c512674eeba364831.zip
sci-visualization/gr: add REQUIRED_USE
Closes: https://bugs.gentoo.org/835075 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gr/gr-0.53.0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-visualization/gr/gr-0.53.0.ebuild b/sci-visualization/gr/gr-0.53.0.ebuild
index c46b776f0a07..3658a9b0c156 100644
--- a/sci-visualization/gr/gr-0.53.0.ebuild
+++ b/sci-visualization/gr/gr-0.53.0.ebuild
@@ -38,6 +38,8 @@ PATCHES=(
"${FILESDIR}/${P}-musl.patch"
)
+REQUIRED_USE="cairo? ( truetype )"
+
src_configure() {
use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= )
use postscript || mycmakeargs+=( -DGS_LIBRARY= )