import deadbeef-plugin-mpris2-1.16

This plugin aims to implement MPRISv2 for DeaDBeeF

Port from izzy Meyer, who is also taking MAINTAINER, thanks!
Tested also by Jose Maldonado.

tweaks from sthen and kn, ok kn@
This commit is contained in:
op
2024-02-16 09:13:51 +00:00
parent ba40f85c4a
commit fb64fd19d6
4 changed files with 57 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
COMMENT = deadbeef plugin for mpris2 support
V = 1.16
DIST_TUPLE += github DeaDBeeF-Player deadbeef-mpris2-plugin v${V} .
PKGNAME = deadbeef-plugin-mpris2-${V}
CATEGORIES = audio
MAINTAINER = izzy Meyer <izder456@disroot.org>
# GPLv2
PERMIT_PACKAGE = Yes
WANTLIB += ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += iconv intl pcre2-8 pthread z
LIB_DEPENDS = devel/glib2 \
devel/libffi \
devel/pcre2
BUILD_DEPENDS = audio/deadbeef
RUN_DEPENDS = audio/deadbeef
CONFIGURE_STYLE = autoreconf
CPPFLAGS += -I${LOCALBASE}/include \
-I${X11BASE}/include
LDFLAGS += -L${LOCALBASE}/lib \
-L${X11BASE}/lib
CONFIGURE_ENV += CPPFLAGS='${CPPFLAGS}' \
LDFLAGS='${LDFLAGS}'
LIBTOOL_FLAGS = --tag=disable-static
AUTOCONF_VERSION = 2.71
AUTOMAKE_VERSION = 1.16
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (DeaDBeeF-Player-deadbeef-mpris2-plugin-v1.16.tar.gz) = Mhjire6lYmdVL1YTFtHiQ5ZbOgNIGrT9vFNbVKl/SGU=
SIZE (DeaDBeeF-Player-deadbeef-mpris2-plugin-v1.16.tar.gz) = 17556
+16
View File
@@ -0,0 +1,16 @@
This plugin aims to implement the MPRISv2[1] for
DeaDBeeF.
The original[2] MPRIS plugin for DeaDBeef does not work anymore and
seems to be orphaned. The original plugin supported MPRISv1 AND
MPRISv2. This plugin will only support version two.
1: http://specifications.freedesktop.org/mpris-spec/latest/
2: http://kernelhcy.github.io/DeaDBeeF-MPRIS-plugin/
===== What is missing =====
- The whole optional "org.mpris.MediaPlayer2.TrackList" interface.
- The whole optional "org.mpris.MediaPlayer2.Playlists" interface.
- The optional "Fullscreen" property of the org.mpris.MediaPlayer2 interface.
- The optional "CanSetFullscreen" property of the org.mpris.MediaPlayer2
interface.
+2
View File
@@ -0,0 +1,2 @@
lib/deadbeef/mpris.la
@so lib/deadbeef/mpris.so