31 lines
988 B
Bash
31 lines
988 B
Bash
# Template file for 'workrave'
|
|
pkgname=workrave
|
|
version=1.10.52
|
|
revision=1
|
|
_realversion="${version//./_}"
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--disable-static --disable-gsettings
|
|
$(vopt_enable pulseaudio pulse)"
|
|
hostmakedepends="automake autoconf-archive gettext-devel intltool python3-Jinja2
|
|
pkg-config python3-cheetah3 libtool"
|
|
makedepends="boost-devel 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"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.workrave.org/"
|
|
distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz"
|
|
checksum=e33e70cd0401a83aa0e4e319e117911b937df9d832cc9310c3e86bb3062f16f7
|
|
|
|
build_options="pulseaudio"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
makedepends+=" gettext-devel"
|
|
LDFLAGS="-lintl"
|
|
fi
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|