summaryrefslogtreecommitdiffstats
path: root/audio-soft
diff options
context:
space:
mode:
authorVlad Glagolev2019-04-29 22:13:04 +0000
committerVlad Glagolev2019-04-29 22:13:04 +0000
commit326efc09bf36a4d4ee4a3f774e87cb284f7d6a4f (patch)
treed14a5c88e0368896c9e1a913dbf62a821a029c61 /audio-soft
parente182298d3a75af6e852d2046cf533e2c93b0452e (diff)
playerctl: new spell, MPRIS command-line controller and library
Diffstat (limited to 'audio-soft')
-rwxr-xr-xaudio-soft/playerctl/DEPENDS11
-rwxr-xr-xaudio-soft/playerctl/DETAILS23
-rw-r--r--audio-soft/playerctl/HISTORY2
3 files changed, 36 insertions, 0 deletions
diff --git a/audio-soft/playerctl/DEPENDS b/audio-soft/playerctl/DEPENDS
new file mode 100755
index 0000000000..f67b6ce54b
--- /dev/null
+++ b/audio-soft/playerctl/DEPENDS
@@ -0,0 +1,11 @@
+depends libffi &&
+depends glib2 &&
+
+if is_depends_enabled glib2 pcre; then
+ depends pcre
+fi &&
+
+optional_depends gtk-doc \
+ "--enable-gtk-doc" \
+ "--disable-gtk-doc" \
+ "to build documentation"
diff --git a/audio-soft/playerctl/DETAILS b/audio-soft/playerctl/DETAILS
new file mode 100755
index 0000000000..2797efd4f6
--- /dev/null
+++ b/audio-soft/playerctl/DETAILS
@@ -0,0 +1,23 @@
+ SPELL=playerctl
+ VERSION=0.6.1
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://github.com/acrisci/${SPELL}/releases/download/v${VERSION}/${SOURCE}
+ SOURCE_HASH=sha512:bf5f9a6f8427e4714c64c3d8e80068b36d787d342541c55e42386d85e5fdfa29cd54d678df739b64fdeb23b0187a941533912fdaef62ff7cff41b87c3044e647
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS=""
+ WEB_SITE=https://github.com/acrisci/playerctl
+ LICENSE[0]=LGPL
+ ENTERED=20190429
+ SHORT="MPRIS command-line controller and library"
+cat << EOF
+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.
+EOF
diff --git a/audio-soft/playerctl/HISTORY b/audio-soft/playerctl/HISTORY
new file mode 100644
index 0000000000..c4b4b2d82e
--- /dev/null
+++ b/audio-soft/playerctl/HISTORY
@@ -0,0 +1,2 @@
+2019-04-29 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS, DEPENDS: created spell, version 0.6.1