Skip to contentSkip to conversation

mpv-mpris: add recipe

PATCH Markus Volk 1 participant 1 message May 24 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

v2: Exclude from world build if 'commercial' is not in LICENSE_FLAGS_ACCEPTED like its done in mpv recipe (libavformat is required)

Am So, 24. Mai 2026 um 18:36:47 +02:00:00 schrieb Markus Volk via lists.openembedded.org <[email protected]>:

Quoted 58 lines

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] <mailto:[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

meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb new file +1 -0
new file mode 100644
index 0000000000..802564193a
@@ -0,0 +1,20 @@
+SUMMARY = "mpv-mpris is a plugin for mpv which allows control of the 

player using standard media keys"

meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb new file +2 -0
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 

"file://LICENSE;md5=6d9f933220f595813218a175adc13001" <file://license;md5=6d9f933220f595813218a175adc13001/>

meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb new file +2 -0
+
+SRC_URI = 

"git://github.com/hoyon/mpv-mpris.git;protocol=https;branch=master"

meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb new file +13 -0
+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 

<mailto:${@bb.utils.contains>("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}"

meta-oe/recipes-multimedia/mplayer/mpv-mpris_1.2.bb new file +2 -1
+
+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/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-