1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

New port: multimedia/mpv-mpris: MPRIS plugin for mpv

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 Linux DEs, such as Gnome and KDE.

WWW: https://github.com/hoyon/mpv-mpris

- This makes KDE Plasma desktop's panels media control available for mpv, and
  also exposes mpv to kdeconnect-kde.
This commit is contained in:
Tobias C. Berner 2019-12-13 22:36:11 +00:00
parent bbd4c7cd3d
commit 2d913739f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520071
4 changed files with 40 additions and 0 deletions

View File

@ -277,6 +277,7 @@
SUBDIR += mplex
SUBDIR += mps-youtube
SUBDIR += mpv
SUBDIR += mpv-mpris
SUBDIR += msdl
SUBDIR += msopenh264
SUBDIR += mswebrtc

View File

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= mpv-mpris
DISTVERSION= 0.2
CATEGORIES= multimedia
MAINTAINER= tcberner@FreeBSD.org
COMMENT= MPRIS plugin for mpv
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= mpv:multimedia/mpv
USES= gettext-runtime gnome
USE_GNOME= glib20
USE_GITHUB= yes
GH_ACCOUNT= hoyon
ALL_TARGET= mpris.so
PLIST_FILES= etc/mpv/scripts/mpris.so
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mpv/scripts
${INSTALL_LIB} ${BUILD_WRKSRC}/mpris.so \
${STAGEDIR}${PREFIX}/etc/mpv/scripts
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1576275542
SHA256 (hoyon-mpv-mpris-0.2_GH0.tar.gz) = d21a9617759bc368d6e9cb229d099b12968f0e673db5cd0bf12d8a251516d81a
SIZE (hoyon-mpv-mpris-0.2_GH0.tar.gz) = 6902

View File

@ -0,0 +1,7 @@
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 Linux DEs, such as Gnome and KDE.
WWW: https://github.com/hoyon/mpv-mpris