mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 17:43:51 +02:00
Merge pull request #2892 from stpx/workrave
New package: workrave-1.10.8.
This commit is contained in:
commit
4631779cd3
4 changed files with 60 additions and 0 deletions
13
srcpkgs/autoconf-archive/template
Normal file
13
srcpkgs/autoconf-archive/template
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Template file for 'autoconf-archive'
|
||||||
|
pkgname=autoconf-archive
|
||||||
|
version=2015.09.25
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
build_style=gnu-configure
|
||||||
|
depends="autoconf"
|
||||||
|
short_desc="A collection of freely re-usable Autoconf macros"
|
||||||
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://www.gnu.org/software/autoconf-archive/"
|
||||||
|
distfiles="http://ftpmirror.gnu.org/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
|
checksum=7c0467a5dbd2340153bca5a477bd92fbc951d9ee3cbed92f16f6bf08ac0c350a
|
11
srcpkgs/workrave/patches/configure_ac.patch
Normal file
11
srcpkgs/workrave/patches/configure_ac.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./configure.ac.orig 2015-11-02 15:12:56.227947986 -0500
|
||||||
|
+++ ./configure.ac 2015-11-02 15:13:00.392948034 -0500
|
||||||
|
@@ -323,6 +323,8 @@
|
||||||
|
|
||||||
|
AM_CONDITIONAL(HAVE_DSOUND, test "x$have_dsound" = "xyes")
|
||||||
|
|
||||||
|
+AC_CHECK_LIB(intl, gettext)
|
||||||
|
+
|
||||||
|
dnl
|
||||||
|
dnl OSX specific checks
|
||||||
|
dnl
|
11
srcpkgs/workrave/patches/musl-nl_langinfo.patch
Normal file
11
srcpkgs/workrave/patches/musl-nl_langinfo.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./common/src/Locale.cc.orig 2015-11-02 15:03:27.293941445 -0500
|
||||||
|
+++ ./common/src/Locale.cc 2015-11-02 15:07:49.600944461 -0500
|
||||||
|
@@ -256,7 +256,7 @@
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifdef PLATFORM_OS_UNIX
|
||||||
|
+#if defined(PLATFORM_OS_UNIX) && defined(__GLIBC__)
|
||||||
|
union { unsigned int word; char *string; } langinfo;
|
||||||
|
gint week_1stday = 0;
|
||||||
|
gint first_weekday = 1;
|
25
srcpkgs/workrave/template
Normal file
25
srcpkgs/workrave/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'workrave'
|
||||||
|
pkgname=workrave
|
||||||
|
version=1.10.8
|
||||||
|
revision=1
|
||||||
|
_realversion="${version//./_}"
|
||||||
|
wrksrc="${pkgname}-${_realversion}"
|
||||||
|
nocross=yes # gobject-introspection
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--disable-static --disable-gnome $(vopt_enable pulseaudio pulse)"
|
||||||
|
hostmakedepends="automake autoconf-archive gettext-devel intltool pkg-config
|
||||||
|
gobject-introspection python-cheetah"
|
||||||
|
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"
|
||||||
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://www.workrave.org/"
|
||||||
|
distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz"
|
||||||
|
checksum=15e0c87c2172dc249031d97d4020ee4a47ea9073aa26dc06a4b15e91abf88479
|
||||||
|
|
||||||
|
build_options="pulseaudio"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue