playerctl: update to 0.6.0.

This commit is contained in:
Duncaen 2018-04-24 15:13:05 +02:00
parent 4229c67413
commit 313dcb74d0
1 changed files with 12 additions and 7 deletions

View File

@ -1,31 +1,36 @@
# Template file for 'playerctl'
pkgname=playerctl
version=0.4.2
revision=2
version=0.6.0
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
hostmakedepends="automake pkg-config glib-devel gtk-doc
$(vopt_if gir gobject-introspection)"
makedepends="libglib-devel"
short_desc="MPRIS command-line controller and library"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-3"
license="LGPL-3.0-or-later"
homepage="https://github.com/acrisci/playerctl"
distfiles="https://github.com/acrisci/playerctl/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=4e6d05f0b1a5bd781cef69e3b08db2f965914dc52a934d099887113fcd5e7959
distfiles="https://github.com/acrisci/playerctl/archive/v${version}.tar.gz"
checksum=c7af7291fa3efad07dabae62ad31f366e8730a84439e2499c6fb6b09f4a7d0e7
disable_parallel_build=yes
nocross=yes
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
playerctl-devel_package() {
depends="playerctl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then