summaryrefslogtreecommitdiff
path: root/libraries
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
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')
-rw-r--r--libraries/libfm/README2
-rw-r--r--libraries/libfm/libfm.SlackBuild7
-rw-r--r--libraries/libfm/libfm.info8
3 files changed, 11 insertions, 6 deletions
diff --git a/libraries/libfm/README b/libraries/libfm/README
index 674d16d895..29d66e09a7 100644
--- a/libraries/libfm/README
+++ b/libraries/libfm/README
@@ -1,2 +1,4 @@
LibFM provides file management functions built on top of Glib/GIO,
giving a convenient higher-level API.
+
+vala is an optional dependency (for custom file manager actions).
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
diff --git a/libraries/libfm/libfm.info b/libraries/libfm/libfm.info
index a8c0f76b80..b1241d265c 100644
--- a/libraries/libfm/libfm.info
+++ b/libraries/libfm/libfm.info
@@ -1,10 +1,10 @@
PRGNAM="libfm"
-VERSION="1.0.1"
+VERSION="1.1.0"
HOMEPAGE="http://pcmanfm.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/libfm-1.0.1.tar.gz"
-MD5SUM="7fb406f38f99c9171661f72fa6d4da7f"
+DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/libfm-1.1.0.tar.gz"
+MD5SUM="a5bc8b8291cf810c659bfb3af378b5de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="menu-cache vala"
+REQUIRES="menu-cache"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"