diff --git a/audio/deadbeef-plugin-mpris2/Makefile b/audio/deadbeef-plugin-mpris2/Makefile new file mode 100644 index 00000000000..b2d47ee2db0 --- /dev/null +++ b/audio/deadbeef-plugin-mpris2/Makefile @@ -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 + +# 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 diff --git a/audio/deadbeef-plugin-mpris2/distinfo b/audio/deadbeef-plugin-mpris2/distinfo new file mode 100644 index 00000000000..bc0bf9d947d --- /dev/null +++ b/audio/deadbeef-plugin-mpris2/distinfo @@ -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 diff --git a/audio/deadbeef-plugin-mpris2/pkg/DESCR b/audio/deadbeef-plugin-mpris2/pkg/DESCR new file mode 100644 index 00000000000..5097d5628e7 --- /dev/null +++ b/audio/deadbeef-plugin-mpris2/pkg/DESCR @@ -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. diff --git a/audio/deadbeef-plugin-mpris2/pkg/PLIST b/audio/deadbeef-plugin-mpris2/pkg/PLIST new file mode 100644 index 00000000000..652db7350bd --- /dev/null +++ b/audio/deadbeef-plugin-mpris2/pkg/PLIST @@ -0,0 +1,2 @@ +lib/deadbeef/mpris.la +@so lib/deadbeef/mpris.so