From 6724628add92acfc298f6d112ef928da6b910b51 Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Tue, 16 Jun 2020 21:40:03 -0700 Subject: [PATCH] Import multimedia/playerctl version 2.1.1 --- multimedia/playerctl/Makefile | 35 ++++++++++++++++++++++++++++++++++ multimedia/playerctl/distinfo | 3 +++ multimedia/playerctl/pkg-descr | 12 ++++++++++++ multimedia/playerctl/pkg-plist | 35 ++++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 multimedia/playerctl/Makefile create mode 100644 multimedia/playerctl/distinfo create mode 100644 multimedia/playerctl/pkg-descr create mode 100644 multimedia/playerctl/pkg-plist diff --git a/multimedia/playerctl/Makefile b/multimedia/playerctl/Makefile new file mode 100644 index 00000000000..68924d08f9f --- /dev/null +++ b/multimedia/playerctl/Makefile @@ -0,0 +1,35 @@ +# Created by: Aaron LI +# $FreeBSD$ + +PORTNAME= playerctl +DISTVERSIONPREFIX= v +DISTVERSION= 2.1.1 +CATEGORIES= multimedia audio + +MAINTAINER= aly@aaronly.me +COMMENT= MPRIS command-line controller and library + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= gnome meson pkgconfig +USE_CSTD= c99 +USE_GNOME= glib20 + +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= altdesktop + +OPTIONS_DEFINE= DOC INTROSPECTION +OPTIONS_SUB= yes + +DOC_DESC= Build GTK documentation +DOC_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc +DOC_MESON_TRUE= gtk-doc + +INTROSPECTION_DESC= Build GObject Introspection +INTROSPECTION_USE= gnome=introspection:build +INTROSPECTION_MESON_TRUE= introspection + +.include diff --git a/multimedia/playerctl/distinfo b/multimedia/playerctl/distinfo new file mode 100644 index 00000000000..4aa3bb03005 --- /dev/null +++ b/multimedia/playerctl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1588651281 +SHA256 (altdesktop-playerctl-v2.1.1_GH0.tar.gz) = 9eb810c1fd8e1afa5c76cecd34a2d22cc95e2029afe502025db8a38bce13e68d +SIZE (altdesktop-playerctl-v2.1.1_GH0.tar.gz) = 63956 diff --git a/multimedia/playerctl/pkg-descr b/multimedia/playerctl/pkg-descr new file mode 100644 index 00000000000..c5637ceb26c --- /dev/null +++ b/multimedia/playerctl/pkg-descr @@ -0,0 +1,12 @@ +Playerctl is a command-line utility and library for controlling media players +that implement the MPRIS D-Bus Interface Specification. Playerctl makes it easy +to bind player actions, such as play and pause, to media keys. You can also get +metadata about the playing track such as the artist and title for integration +into statusline generators or other command-line tools. + +For more advanced users, Playerctl provides an introspectable library available +in your favorite scripting language that allows more detailed control like the +ability to subscribe to media player events or get metadata such as artist and +title for the playing track. + +WWW: https://github.com/altdesktop/playerctl diff --git a/multimedia/playerctl/pkg-plist b/multimedia/playerctl/pkg-plist new file mode 100644 index 00000000000..0c603272123 --- /dev/null +++ b/multimedia/playerctl/pkg-plist @@ -0,0 +1,35 @@ +bin/playerctl +bin/playerctld +include/playerctl/playerctl-enum-types.h +include/playerctl/playerctl-player-manager.h +include/playerctl/playerctl-player-name.h +include/playerctl/playerctl-player.h +include/playerctl/playerctl-version.h +include/playerctl/playerctl.h +%%INTROSPECTION%%lib/girepository-1.0/Playerctl-2.0.typelib +lib/libplayerctl.a +lib/libplayerctl.so +lib/libplayerctl.so.2 +lib/libplayerctl.so.2.1.1 +libdata/pkgconfig/playerctl.pc +man/man1/playerctl.1.gz +share/dbus-1/services/org.mpris.MediaPlayer2.playerctld.service +%%INTROSPECTION%%share/gir-1.0/Playerctl-2.0.gir +%%DOC%%share/gtk-doc/html/playerctl/PlayerctlPlayer.html +%%DOC%%share/gtk-doc/html/playerctl/PlayerctlPlayerManager.html +%%DOC%%share/gtk-doc/html/playerctl/annotation-glossary.html +%%DOC%%share/gtk-doc/html/playerctl/api-index-full.html +%%DOC%%share/gtk-doc/html/playerctl/ch01.html +%%DOC%%share/gtk-doc/html/playerctl/deprecated-api-index.html +%%DOC%%share/gtk-doc/html/playerctl/home.png +%%DOC%%share/gtk-doc/html/playerctl/index.html +%%DOC%%share/gtk-doc/html/playerctl/left-insensitive.png +%%DOC%%share/gtk-doc/html/playerctl/left.png +%%DOC%%share/gtk-doc/html/playerctl/object-tree.html +%%DOC%%share/gtk-doc/html/playerctl/playerctl-playerctl-player-name.html +%%DOC%%share/gtk-doc/html/playerctl/playerctl.devhelp2 +%%DOC%%share/gtk-doc/html/playerctl/right-insensitive.png +%%DOC%%share/gtk-doc/html/playerctl/right.png +%%DOC%%share/gtk-doc/html/playerctl/style.css +%%DOC%%share/gtk-doc/html/playerctl/up-insensitive.png +%%DOC%%share/gtk-doc/html/playerctl/up.png -- 2.41.0