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 <[email protected]>
---
 .../mplayer/mpv-mpris_1.2.bb                  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb

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..802564193a
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb
@@ -0,0 +1,20 @@
+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"
+
+EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", 
"commercial", "0", "1", d)}"
+
+RDEPENDS:${PN} = "playerctl"
-- 
2.54.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127191): 
https://lists.openembedded.org/g/openembedded-devel/message/127191
Mute This Topic: https://lists.openembedded.org/mt/119468962/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to