From 6783a219d2447d51eaace1feffebbebd7f3a6e62 Mon Sep 17 00:00:00 2001 From: danfe Date: Mon, 16 Nov 2015 05:07:07 +0000 Subject: Add a port of up-to-date implementation of the MPRIS protocol for DeaDBeeF music player. Original MPRIS plugin (`audio/deadbeef-mpris-plugin') does not work anymore and seems to be orphaned. Original plugin supported MPRISv1 and MPRISv2; this plugin only supports version two. WWW: https://github.com/Serranya/deadbeef-mpris2-plugin --- audio/Makefile | 1 + audio/deadbeef-mpris2-plugin/Makefile | 26 ++++++++++++++++++++++++++ audio/deadbeef-mpris2-plugin/distinfo | 2 ++ audio/deadbeef-mpris2-plugin/pkg-descr | 16 ++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 audio/deadbeef-mpris2-plugin/Makefile create mode 100644 audio/deadbeef-mpris2-plugin/distinfo create mode 100644 audio/deadbeef-mpris2-plugin/pkg-descr diff --git a/audio/Makefile b/audio/Makefile index d24dda605ce6..da39722e9ceb 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -96,6 +96,7 @@ SUBDIR += dcd SUBDIR += deadbeef SUBDIR += deadbeef-mpris-plugin + SUBDIR += deadbeef-mpris2-plugin SUBDIR += decibel-audio-player SUBDIR += deforaos-mixer SUBDIR += dekagen diff --git a/audio/deadbeef-mpris2-plugin/Makefile b/audio/deadbeef-mpris2-plugin/Makefile new file mode 100644 index 000000000000..01a44c04c438 --- /dev/null +++ b/audio/deadbeef-mpris2-plugin/Makefile @@ -0,0 +1,26 @@ +# Created by: Alexey Dokuchaev +# $FreeBSD$ + +PORTNAME= deadbeef-mpris2-plugin +DISTVERSIONPREFIX= v +DISTVERSION= 1.8 +CATEGORIES= audio + +MAINTAINER= danfe@FreeBSD.org +COMMENT= MPRIS protocol version 2 plugin for DeaDBeeF music player + +LICENSE= GPLv3 + +BUILD_DEPENDS= ${LOCALBASE}/include/deadbeef/deadbeef.h:${PORTSDIR}/audio/deadbeef +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_GITHUB= yes +GH_ACCOUNT= Serranya + +USES= autoreconf libtool pkgconfig +GNU_CONFIGURE= yes +USE_GNOME= glib20 + +PLIST_FILES= lib/deadbeef/mpris.so + +.include diff --git a/audio/deadbeef-mpris2-plugin/distinfo b/audio/deadbeef-mpris2-plugin/distinfo new file mode 100644 index 000000000000..625c0f25ffb3 --- /dev/null +++ b/audio/deadbeef-mpris2-plugin/distinfo @@ -0,0 +1,2 @@ +SHA256 (Serranya-deadbeef-mpris2-plugin-v1.8_GH0.tar.gz) = c6601e2c1f83bfe5e76c859386fc47dad8f44508f10321dab357aa57bd82cec1 +SIZE (Serranya-deadbeef-mpris2-plugin-v1.8_GH0.tar.gz) = 9396 diff --git a/audio/deadbeef-mpris2-plugin/pkg-descr b/audio/deadbeef-mpris2-plugin/pkg-descr new file mode 100644 index 000000000000..e1f55ff3108a --- /dev/null +++ b/audio/deadbeef-mpris2-plugin/pkg-descr @@ -0,0 +1,16 @@ +This plugin aims to implement the MPRIS protocol for DeaDBeeF music player. + +The original MPRIS plugin for DeaDBeeF does not work anymore and seems to be +orphaned. The original plugin supported MPRISv1 and MPRISv2. This plugin +only supports version two. + +What is currently 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 + +WWW: https://github.com/Serranya/deadbeef-mpris2-plugin -- cgit