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>
This commit is contained in:
Oliver Freyermuth 2023-03-18 21:13:07 +01:00
parent beaff33e1b
commit 486f989f33
No known key found for this signature in database
GPG Key ID: 53EE6E57A0961281
2 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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