summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-04-26 19:19:57 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-04-26 19:20:45 +0200
commitcfe528c3a24f06554efbf0ff78d58b5bb130af55 (patch)
tree57ea374fe3448acfd55cbda7de4cafe23c7e7404 /media-libs
parentwww-apache/modsecurity-crs: Stabilize 4.0.0 x86, #930718 (diff)
downloadgentoo-cfe528c3a24f06554efbf0ff78d58b5bb130af55.tar.gz
gentoo-cfe528c3a24f06554efbf0ff78d58b5bb130af55.tar.bz2
gentoo-cfe528c3a24f06554efbf0ff78d58b5bb130af55.zip
media-libs/libvpl: do not build X11 tools if USE=-X
and require vaapi for building the tools Closes: https://bugs.gentoo.org/928603 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libvpl/libvpl-2.10.2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/media-libs/libvpl/libvpl-2.10.2.ebuild b/media-libs/libvpl/libvpl-2.10.2.ebuild
index c9eddbfedb17..43d03b86a016 100644
--- a/media-libs/libvpl/libvpl-2.10.2.ebuild
+++ b/media-libs/libvpl/libvpl-2.10.2.ebuild
@@ -21,6 +21,7 @@ REQUIRED_USE="
dri? ( X drm )
X? ( vaapi )
wayland? ( drm )
+ tools? ( vaapi )
"
RDEPEND="
@@ -57,6 +58,7 @@ multilib_src_configure() {
-DBUILD_TESTS="$(usex test)"
# Tools fails to compile for 32 bit
-DBUILD_TOOLS="$(multilib_native_usex tools)"
+ -DTOOLS_ENABLE_X11="$(multilib_native_usex tools $(usex X))"
-DENABLE_WAYLAND="$(usex wayland)"
-DENABLE_X11="$(usex X)"
-DENABLE_DRI3="$(usex dri)"