diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-29 13:21:31 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-29 13:21:49 +0100 |
commit | 8f22c82065ea51d42bc4693fe71688f4cbfc04e1 (patch) | |
tree | dd96a191b80acbd82659846ae004d28f2e3cb2d4 /community/playerctl | |
parent | 3b75f52d7a462a3db59e9838d373a62960ccb1a4 (diff) | |
download | aports-8f22c82065ea51d42bc4693fe71688f4cbfc04e1.tar.bz2 aports-8f22c82065ea51d42bc4693fe71688f4cbfc04e1.tar.xz |
community/playerctl: move from testing
Diffstat (limited to 'community/playerctl')
-rw-r--r-- | community/playerctl/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/playerctl/APKBUILD b/community/playerctl/APKBUILD new file mode 100644 index 0000000000..99a3adc5a2 --- /dev/null +++ b/community/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" |