aboutsummaryrefslogtreecommitdiff
path: root/libraries/girara/girara.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/girara/girara.SlackBuild')
-rw-r--r--libraries/girara/girara.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/libraries/girara/girara.SlackBuild b/libraries/girara/girara.SlackBuild
index de3ce4c5703a7..41434cde3f681 100644
--- a/libraries/girara/girara.SlackBuild
+++ b/libraries/girara/girara.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=girara
-VERSION=${VERSION:-0.2.7}
+VERSION=${VERSION:-0.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,7 +56,13 @@ find -L . \
sed -i "s,-fPIC,$SLKCFLAGS," config.mk
sed -i '/-fdiagnostics-color/d' colors.mk
-make LIBDIR=/usr/lib$LIBDIRSUFFIX
+# girara-0.2.8 claims to need a newer glib2 and gtk3 than Slack 14.2 has,
+# but disabling the version checks and getting rid of one option in the
+# Makefile allows it to build and run OK.
+sed -i '/--dependency-file/d' Makefile
+MAKEOPTS="GTK_VERSION_CHECK=0 GLIB_VERSION_CHECK=0 VERBOSE=1"
+
+make LIBDIR=/usr/lib$LIBDIRSUFFIX $MAKEOPTS
make install LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG
# don't need static lib: