Gentoo Archives: gentoo-commits

From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv-mpris/
Date: Sat, 18 Mar 2023 20:14:26
Message-Id: 1679170387.486f989f33290842fdf31906ae33e14ceb99a544.freyermuth@gentoo
1 commit: 486f989f33290842fdf31906ae33e14ceb99a544
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Sat Mar 18 20:13:07 2023 +0000
4 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
5 CommitDate: Sat Mar 18 20:13:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=486f989f
7
8 mpv-plugin/mpv-mpris: depend on mpv script backends for tests
9
10 Current media-video/mpv does not support "scripts" option
11 unless lua or javascript support is enabled.
12 This is fixed upstream via:
13 https://github.com/mpv-player/mpv/pull/11468
14 for the next release.
15
16 Closes: https://bugs.gentoo.org/901311
17 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
18
19 mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild | 8 +++++++-
20 mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild | 8 +++++++-
21 2 files changed, 14 insertions(+), 2 deletions(-)
22
23 diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild
24 index f5ef84c62..5f8084794 100644
25 --- a/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild
26 +++ b/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild
27 @@ -1,4 +1,4 @@
28 -# Copyright 1999-2022 Gentoo Authors
29 +# Copyright 1999-2023 Gentoo Authors
30 # Distributed under the terms of the GNU General Public License v2
31
32 EAPI=8
33 @@ -24,12 +24,18 @@ RDEPEND="
34 dev-libs/glib:2
35 "
36 DEPEND="${RDEPEND}"
37 +# temporary dep for tests on media-video/mpv due to https://github.com/mpv-player/mpv/pull/11468
38 BDEPEND="
39 virtual/pkgconfig
40 test? (
41 app-misc/jq
42 app-text/jo
43 media-sound/playerctl
44 + || (
45 + media-video/mpv[lua]
46 + media-video/mpv[javascript]
47 + >=media-video/mpv-0.36
48 + )
49 net-misc/socat
50 sys-apps/dbus
51 x11-apps/xauth
52
53 diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild
54 index f5ef84c62..5f8084794 100644
55 --- a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild
56 +++ b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild
57 @@ -1,4 +1,4 @@
58 -# Copyright 1999-2022 Gentoo Authors
59 +# Copyright 1999-2023 Gentoo Authors
60 # Distributed under the terms of the GNU General Public License v2
61
62 EAPI=8
63 @@ -24,12 +24,18 @@ RDEPEND="
64 dev-libs/glib:2
65 "
66 DEPEND="${RDEPEND}"
67 +# temporary dep for tests on media-video/mpv due to https://github.com/mpv-player/mpv/pull/11468
68 BDEPEND="
69 virtual/pkgconfig
70 test? (
71 app-misc/jq
72 app-text/jo
73 media-sound/playerctl
74 + || (
75 + media-video/mpv[lua]
76 + media-video/mpv[javascript]
77 + >=media-video/mpv-0.36
78 + )
79 net-misc/socat
80 sys-apps/dbus
81 x11-apps/xauth