diff --git a/srcpkgs/playerctl/template b/srcpkgs/playerctl/template index 461e14fa23e..a2e6ce93398 100644 --- a/srcpkgs/playerctl/template +++ b/srcpkgs/playerctl/template @@ -1,7 +1,7 @@ # Template file for 'playerctl' pkgname=playerctl -version=2.0.2 -revision=2 +version=2.1.1 +revision=1 build_style=meson build_helper="gir" configure_args="-Dintrospection=$(vopt_if gir 'true' 'false') @@ -12,13 +12,18 @@ short_desc="MPRIS command-line controller and library" maintainer="Duncaen " license="LGPL-3.0-or-later" homepage="https://github.com/acrisci/playerctl" +changelog="https://github.com/altdesktop/playerctl/raw/master/CHANGELOG.md" distfiles="https://github.com/acrisci/playerctl/archive/v${version}.tar.gz" -checksum=04461f5a9869fd43c76da539c5565c6275c8dbab3295f7ecf45990695a53bc54 +checksum=9eb810c1fd8e1afa5c76cecd34a2d22cc95e2029afe502025db8a38bce13e68d build_options="doc gir" desc_option_doc="Build documentation" # fails :( build_options_default="gir" +if [ -z "$CROSS_BUILD" ]; then + build_options_default+=" doc" +fi + playerctl-devel_package() { depends="playerctl>=${version}_${revision}" short_desc+=" - development files" @@ -30,5 +35,8 @@ playerctl-devel_package() { if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi + if [ "$build_option_doc" ]; then + vmove usr/share/gtk-doc + fi } }