summaryrefslogtreecommitdiff
path: root/libraries/libfm/libfm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libfm/libfm.SlackBuild')
-rw-r--r--libraries/libfm/libfm.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild
index 5ac35aae1b..66affb1bce 100644
--- a/libraries/libfm/libfm.SlackBuild
+++ b/libraries/libfm/libfm.SlackBuild
@@ -25,7 +25,7 @@
# slightly modified by Matteo Bernardini <ponce@slackbuilds.org>
PRGNAM=libfm
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,6 +56,9 @@ else
LIBDIRSUFFIX=""
fi
+# Enable custom actions if we have vala available
+if [ -h /usr/bin/vapigen ]; then actions=""; else actions="--disable-actions"; fi
+
set -e
rm -rf $PKG
@@ -73,7 +76,6 @@ find . \
sh autogen.sh || true
-LDFLAGS="-lgobject-2.0 -lglib-2.0" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -84,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-static=no \
--enable-gtk-doc \
+ $actions \
--build=$ARCH-slackware-linux
make