summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <aisha@bsd.ac>2023-02-24 17:52:35 -0500
committerSam James <sam@gentoo.org>2023-03-11 17:04:06 +0000
commit6f5028cfd6bf0875e4f259609ec2250c895582ba (patch)
tree9b66d278e0fb7118eb78a27fe3dc504430acbec7
parentgui-apps/mako: wayland-scanner/protocol BDEPEND/DEPEND fixes (diff)
downloadgentoo-6f5028cfd6bf0875e4f259609ec2250c895582ba.tar.gz
gentoo-6f5028cfd6bf0875e4f259609ec2250c895582ba.tar.bz2
gentoo-6f5028cfd6bf0875e4f259609ec2250c895582ba.zip
media-libs/intel-mediasdk: wayland-scanner/protocol separation into DEPEND/BDEPEND
Signed-off-by: Aisha Tammy <aisha@bsd.ac> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/intel-mediasdk/intel-mediasdk-22.6.5.ebuild17
-rw-r--r--media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild17
2 files changed, 24 insertions, 10 deletions
diff --git a/media-libs/intel-mediasdk/intel-mediasdk-22.6.5.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-22.6.5.ebuild
index 27755b2b6e96..90efdf1fc399 100644
--- a/media-libs/intel-mediasdk/intel-mediasdk-22.6.5.ebuild
+++ b/media-libs/intel-mediasdk/intel-mediasdk-22.6.5.ebuild
@@ -30,7 +30,7 @@ IUSE="dri test +tools wayland X"
# Test not working at the moment
#RESTRICT="!test? ( test )"
RESTRICT="test"
-# Most of these flags only have an effect on the tools
+# # Most of these flags only have an effect on the tools
REQUIRED_USE="
dri? ( X )
wayland? ( tools )
@@ -39,22 +39,29 @@ REQUIRED_USE="
# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples
# bug #805224
-DEPEND="
+RDEPEND="
x11-libs/libpciaccess
>=media-libs/libva-intel-media-driver-${PV}
media-libs/libva[X?,wayland?]
x11-libs/libdrm[video_cards_intel]
wayland? (
dev-libs/wayland
- dev-util/wayland-scanner
- dev-libs/wayland-protocols
)
X? (
x11-libs/libX11
x11-libs/libxcb
)
"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ wayland? (
+ dev-libs/wayland-protocols
+ )
+"
+BDEPEND="
+ wayland? (
+ dev-util/wayland-scanner
+ )
+"
src_configure() {
local mycmakeargs=(
diff --git a/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild
index a42d8290d2f3..90efdf1fc399 100644
--- a/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild
+++ b/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -39,22 +39,29 @@ REQUIRED_USE="
# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples
# bug #805224
-DEPEND="
+RDEPEND="
x11-libs/libpciaccess
>=media-libs/libva-intel-media-driver-${PV}
media-libs/libva[X?,wayland?]
x11-libs/libdrm[video_cards_intel]
wayland? (
dev-libs/wayland
- dev-util/wayland-scanner
- dev-libs/wayland-protocols
)
X? (
x11-libs/libX11
x11-libs/libxcb
)
"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ wayland? (
+ dev-libs/wayland-protocols
+ )
+"
+BDEPEND="
+ wayland? (
+ dev-util/wayland-scanner
+ )
+"
src_configure() {
local mycmakeargs=(