Commit 0259328b authored by Leo's avatar Leo
Browse files

testing/playerctl: new aport

https://github.com/altdesktop/playerctl
MPRIS command-line controller for music players
parent ea75d630
Pipeline #2807 passed with stages
in 1 minute and 28 seconds
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment