commit:     c0e36ede0f3327c845548200d47ecf06c1a82871
Author:     Kai-Chun Ning <kaichun.ning <AT> gmail <DOT> com>
AuthorDate: Tue Aug 29 21:11:45 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Sep  6 01:38:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e36ede

media-libs/libva-intel-driver: add USE flag 'hybrid' for live ebuild

Signed-off-by: Kai-Chun Ning <kaichun.ning <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild 
b/media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild
index 2f30270780ef..f59da31c7a3b 100644
--- a/media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild
+++ b/media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,12 +21,17 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="wayland X"
+IUSE="hybrid wayland X"
 RESTRICT="test" # No tests
 
 RDEPEND="
        >=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}]
        >=media-libs/libva-2.4.0:=[X?,wayland?,${MULTILIB_USEDEP}]
+
+       hybrid? (
+               >=media-libs/intel-hybrid-codec-driver-2.0.0[X?,wayland?]
+       )
+
        wayland? (
                >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
                >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}]
@@ -43,6 +48,7 @@ src_prepare() {
 
 multilib_src_configure() {
        local myconf=(
+               $(use_enable hybrid hybrid-codec)
                $(use_enable wayland)
                $(use_enable X x11)
        )

Reply via email to