diff mbox series

[meta-oe,2/3] mpv-mpris: add recipe

Message ID 20260524125709.9164-2-f_l_k@t-online.de
State New
Headers show
Series [meta-oe,1/3] playerctl: add recipe | expand

Commit Message

Markus Volk May 24, 2026, 12:57 p.m. UTC
mpv-mpris is a plugin for mpv which allows control of the player using standard media keys.

This plugin implements the MPRIS D-Bus interface and can be controlled using tools such as
playerctl or through many open source desktop environments, such as GNOME and KDE.

It requires mpv to be built with --enable-cplugins (default as of mpv 0.26) and to
be built with Lua support (to enable loading scripts).

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../mplayer/mpv-mpris_1.2.bb                   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb b/meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb
new file mode 100644
index 0000000000..d4c42483a0
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb
@@ -0,0 +1,18 @@ 
+SUMMARY = "mpv-mpris is a plugin for mpv which allows control of the player using standard media keys"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d9f933220f595813218a175adc13001"
+
+SRC_URI = "git://github.com/hoyon/mpv-mpris.git;protocol=https;branch=master"
+SRCREV = "df95f07c48926d1589ee5fe36a455c1f49cbe4c8"
+
+DEPENDS += "ffmpeg glib-2.0 mpv"
+
+inherit pkgconfig
+
+do_install() {
+	oe_runmake PREFIX=${prefix} DESTDIR=${D} install
+}
+
+INSANE_SKIP:${PN} = "dev-so"
+
+RDEPENDS:${PN} = "playerctl"