aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2023-03-18 21:13:07 +0100
committerOliver Freyermuth <o.freyermuth@googlemail.com>2023-03-18 21:13:07 +0100
commit486f989f33290842fdf31906ae33e14ceb99a544 (patch)
tree34dc8c4b865d767ec820269cf2d6de959ca11332
parentapp-misc/watchexec: add 1.22.0 (diff)
downloadguru-486f989f33290842fdf31906ae33e14ceb99a544.tar.gz
guru-486f989f33290842fdf31906ae33e14ceb99a544.tar.bz2
guru-486f989f33290842fdf31906ae33e14ceb99a544.zip
mpv-plugin/mpv-mpris: depend on mpv script backends for tests
Current media-video/mpv does not support "scripts" option unless lua or javascript support is enabled. This is fixed upstream via: https://github.com/mpv-player/mpv/pull/11468 for the next release. Closes: https://bugs.gentoo.org/901311 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
-rw-r--r--mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild8
-rw-r--r--mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild
index f5ef84c62..5f8084794 100644
--- a/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild
+++ b/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.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
@@ -24,12 +24,18 @@ RDEPEND="
dev-libs/glib:2
"
DEPEND="${RDEPEND}"
+# temporary dep for tests on media-video/mpv due to https://github.com/mpv-player/mpv/pull/11468
BDEPEND="
virtual/pkgconfig
test? (
app-misc/jq
app-text/jo
media-sound/playerctl
+ || (
+ media-video/mpv[lua]
+ media-video/mpv[javascript]
+ >=media-video/mpv-0.36
+ )
net-misc/socat
sys-apps/dbus
x11-apps/xauth
diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild
index f5ef84c62..5f8084794 100644
--- a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/mpv-plugin/mpv-mpris/mpv-mpris-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
@@ -24,12 +24,18 @@ RDEPEND="
dev-libs/glib:2
"
DEPEND="${RDEPEND}"
+# temporary dep for tests on media-video/mpv due to https://github.com/mpv-player/mpv/pull/11468
BDEPEND="
virtual/pkgconfig
test? (
app-misc/jq
app-text/jo
media-sound/playerctl
+ || (
+ media-video/mpv[lua]
+ media-video/mpv[javascript]
+ >=media-video/mpv-0.36
+ )
net-misc/socat
sys-apps/dbus
x11-apps/xauth