summaryrefslogtreecommitdiff
path: root/libraries/libfm/libfm.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-11-08 07:47:20 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-11-24 15:36:44 -0500
commit415050a49604206a1783762c6c84889ea6c60077 (patch)
tree4b947d6209acb4eb83d53bf019c8dc0af0479b28 /libraries/libfm/libfm.SlackBuild
parentdaa56e2df498e003a70d133bd1cbf7c94bff4069 (diff)
downloadslackbuilds-415050a49604206a1783762c6c84889ea6c60077.tar.gz
libraries/libfm: Updated for version 1.1.0.
Set vala as an optional dep Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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