summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-02-18 15:13:08 +0000
committerJames Le Cuirot <chewi@gentoo.org>2024-02-18 15:20:36 +0000
commit5e45460d29acc1c3d0a80c8539c73550f7bb0a6f (patch)
tree0c08830c291247bf0b6090485853eb2cee660523 /net-misc
parentnet-misc/sunshine: libva is hard-required at build time for 0.21.0 (diff)
downloadgentoo-5e45460d29acc1c3d0a80c8539c73550f7bb0a6f.tar.gz
gentoo-5e45460d29acc1c3d0a80c8539c73550f7bb0a6f.tar.bz2
gentoo-5e45460d29acc1c3d0a80c8539c73550f7bb0a6f.zip
net-misc/sunshine: Allow apulse instead of libpulse
Only build tested so far. I'll runtime test it later. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/sunshine/sunshine-0.21.0.ebuild5
-rw-r--r--net-misc/sunshine/sunshine-9999.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/net-misc/sunshine/sunshine-0.21.0.ebuild b/net-misc/sunshine/sunshine-0.21.0.ebuild
index 3b2201a52a7f..57588f0457f6 100644
--- a/net-misc/sunshine/sunshine-0.21.0.ebuild
+++ b/net-misc/sunshine/sunshine-0.21.0.ebuild
@@ -131,10 +131,13 @@ CDEPEND="
dev-libs/boost:=[nls]
dev-libs/libevdev
dev-libs/openssl:=
- media-libs/libpulse
media-libs/opus
net-libs/miniupnpc:=
net-misc/curl
+ || (
+ media-libs/libpulse
+ media-sound/apulse[sdk]
+ )
libdrm? (
sys-libs/libcap
x11-libs/libdrm
diff --git a/net-misc/sunshine/sunshine-9999.ebuild b/net-misc/sunshine/sunshine-9999.ebuild
index 2a51de91c8f3..99a8ab606364 100644
--- a/net-misc/sunshine/sunshine-9999.ebuild
+++ b/net-misc/sunshine/sunshine-9999.ebuild
@@ -131,10 +131,13 @@ CDEPEND="
dev-libs/boost:=[nls]
dev-libs/libevdev
dev-libs/openssl:=
- media-libs/libpulse
media-libs/opus
net-libs/miniupnpc:=
net-misc/curl
+ || (
+ media-libs/libpulse
+ media-sound/apulse[sdk]
+ )
libdrm? (
sys-libs/libcap
x11-libs/libdrm