diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-04-26 19:19:57 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-04-26 19:20:45 +0200 |
commit | cfe528c3a24f06554efbf0ff78d58b5bb130af55 (patch) | |
tree | 57ea374fe3448acfd55cbda7de4cafe23c7e7404 /media-libs/libvpl | |
parent | www-apache/modsecurity-crs: Stabilize 4.0.0 x86, #930718 (diff) | |
download | gentoo-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/libvpl')
-rw-r--r-- | media-libs/libvpl/libvpl-2.10.2.ebuild | 2 |
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)" |