summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-07-03 22:13:38 -0400
committerMatt Turner <mattst88@gentoo.org>2022-07-03 22:40:29 -0400
commitb6e3751885a971b0bffa3af6e466b1ae69ae9153 (patch)
treeab67d381d1be6cb140d4784e989fe219615b2b4c /media-video/libva-utils
parentx11-libs/libva: Drop old versions (diff)
downloadgentoo-b6e3751885a971b0bffa3af6e466b1ae69ae9153.tar.gz
gentoo-b6e3751885a971b0bffa3af6e466b1ae69ae9153.tar.bz2
gentoo-b6e3751885a971b0bffa3af6e466b1ae69ae9153.zip
media-video/libva-utils: Switch to EAPI=8
* Add missing dep on libdrm * Drop unnecessary sed (now fixed upstream) * Restructure dependencies Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-video/libva-utils')
-rw-r--r--media-video/libva-utils/libva-utils-9999.ebuild23
1 files changed, 9 insertions, 14 deletions
diff --git a/media-video/libva-utils/libva-utils-9999.ebuild b/media-video/libva-utils/libva-utils-9999.ebuild
index 4decf846c639..428cc77cbc2d 100644
--- a/media-video/libva-utils/libva-utils-9999.ebuild
+++ b/media-video/libva-utils/libva-utils-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit meson
@@ -25,29 +25,24 @@ REQUIRED_USE="
|| ( examples putsurface test vainfo )
"
-BDEPEND="virtual/pkgconfig"
-
-if [[ ${PV} = *9999 ]] ; then
- DEPEND="~x11-libs/libva-${PV}:=[drm(+),wayland?,X?]"
-else
- DEPEND=">=x11-libs/libva-$(ver_cut 1-2).0:=[drm(+),wayland?,X?]"
-fi
-
-DEPEND+="
+DEPEND="
+ x11-libs/libdrm
wayland? ( >=dev-libs/wayland-1.0.6 )
X? ( >=x11-libs/libX11-1.6.2 )
"
+if [[ ${PV} = *9999 ]] ; then
+ DEPEND+="~x11-libs/libva-${PV}:=[drm(+),wayland?,X?]"
+else
+ DEPEND+=">=x11-libs/libva-$(ver_cut 1-2).0:=[drm(+),wayland?,X?]"
+fi
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
default
local sed_args=()
- # Fix broken dependency check
- # https://github.com/intel/libva-utils/pull/260
- sed_args+=(-e "s/dependency('drm'/dependency('libdrm'/")
-
if ! use examples ; then
sed_args+=(
-e "/^subdir('decode')$/d"