libraries/libfm: Updated for version 1.1.0.

Set vala as an optional dep

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-11-08 07:47:20 +01:00 committed by dsomero
parent daa56e2df4
commit 415050a496
3 changed files with 11 additions and 6 deletions

View file

@ -1,2 +1,4 @@
LibFM provides file management functions built on top of Glib/GIO, LibFM provides file management functions built on top of Glib/GIO,
giving a convenient higher-level API. giving a convenient higher-level API.
vala is an optional dependency (for custom file manager actions).

View file

@ -25,7 +25,7 @@
# slightly modified by Matteo Bernardini <ponce@slackbuilds.org> # slightly modified by Matteo Bernardini <ponce@slackbuilds.org>
PRGNAM=libfm PRGNAM=libfm
VERSION=${VERSION:-1.0.1} VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -56,6 +56,9 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
# Enable custom actions if we have vala available
if [ -h /usr/bin/vapigen ]; then actions=""; else actions="--disable-actions"; fi
set -e set -e
rm -rf $PKG rm -rf $PKG
@ -73,7 +76,6 @@ find . \
sh autogen.sh || true sh autogen.sh || true
LDFLAGS="-lgobject-2.0 -lglib-2.0" \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -84,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \ --mandir=/usr/man \
--enable-static=no \ --enable-static=no \
--enable-gtk-doc \ --enable-gtk-doc \
$actions \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make

View file

@ -1,10 +1,10 @@
PRGNAM="libfm" PRGNAM="libfm"
VERSION="1.0.1" VERSION="1.1.0"
HOMEPAGE="http://pcmanfm.sourceforge.net" HOMEPAGE="http://pcmanfm.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/libfm-1.0.1.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/libfm-1.1.0.tar.gz"
MD5SUM="7fb406f38f99c9171661f72fa6d4da7f" MD5SUM="a5bc8b8291cf810c659bfb3af378b5de"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="menu-cache vala" REQUIRES="menu-cache"
MAINTAINER="Matteo Bernardini" MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org" EMAIL="ponce@slackbuilds.org"