aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-25 13:02:00 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-25 13:28:22 +0100
commit94742af46598226f5b0cbea3a6e0ff1168667514 (patch)
treeb403666daab4a740133bc204924e4d64731afbb2
parentea75d630ac8ae0f187d65e20c6eabf9152cf8898 (diff)
downloadaports-94742af46598226f5b0cbea3a6e0ff1168667514.tar.bz2
aports-94742af46598226f5b0cbea3a6e0ff1168667514.tar.xz
testing/playerctl: new aport
https://github.com/altdesktop/playerctl MPRIS command-line controller for music players
-rw-r--r--testing/playerctl/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/playerctl/APKBUILD b/testing/playerctl/APKBUILD
new file mode 100644
index 0000000000..99a3adc5a2
--- /dev/null
+++ b/testing/playerctl/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=playerctl
+pkgver=2.0.2
+pkgrel=0
+pkgdesc="MPRIS command-line controller for music players"
+options="!check" # Requires unpackaged pytest-asyncio
+url="https://github.com/altdesktop/playerctl"
+arch="all"
+license="LGPL-3.0-or-later"
+makedepends="meson glib-dev gobject-introspection-dev"
+checkdepends="py3-pytest py3-pytest-timeout"
+subpackages="
+ $pkgname-dev
+ $pkgname-doc
+ "
+source="https://github.com/altdesktop/playerctl/releases/download/v$pkgver/playerctl-$pkgver.tar.xz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dgtk-doc=false \
+ -Dintrospection=true \
+ . output
+ ninja -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+ rm -f "$pkgdir"/usr/lib/*.a
+}
+
+sha512sums="3aae0cbef636a36e5e0e4daa980782e0718765032b06c3c4e83b9eb1ade9ebb555eaae2e881bef125db6a67f9803ebc45cff37c95bf044b3e3c5fa6c517e03c4 playerctl-2.0.2.tar.xz"