workrave: enable gir

This commit is contained in:
maxice8 2019-02-07 19:42:27 -02:00 committed by maxice8
parent ea476ae495
commit 2bb53f5675

View File

@ -1,14 +1,15 @@
# Template file for 'workrave'
pkgname=workrave
version=1.10.22
revision=1
revision=2
_realversion="${version//./_}"
wrksrc="${pkgname}-${_realversion}"
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --disable-gnome --disable-gsettings
$(vopt_enable pulseaudio pulse)"
hostmakedepends="automake autoconf-archive gettext-devel intltool pkg-config
gobject-introspection python-cheetah libtool"
python-cheetah libtool"
makedepends="gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
$(vopt_if pulseaudio pulseaudio-devel)"
short_desc="Program that assists in the recovery and prevention of RSI"
@ -17,7 +18,11 @@ license="GPL-3.0-or-later"
homepage="http://www.workrave.org/"
distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz"
checksum=969fb8a6cb14aed08b2294bd01dbb2c2485a4c9bf6936fa8a513867aed759f63
nocross=gobject-introspection
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) ;;
*-musl) broken="gobject introspection" ;;
esac
build_options="pulseaudio"