libraries/libfm: Updated for version 0.1.17

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
ponce 2011-12-27 01:18:52 -06:00 committed by Robby Workman
parent 4604f24d5c
commit b26c359f42
4 changed files with 30 additions and 9 deletions

View file

@ -1,4 +1,7 @@
LibFM provides file management functions built on top of Glib/GIO,
giving a convenient higher-level API.
This requires menu-cache, udisks, and upower.
This requires menu-cache.
udisks and upower are needed for automounting removable media.
If libfm is built over gvfs, it will use its supported access
methods for local and remote data (trash, ftp, smb, etc.).

View file

@ -0,0 +1,7 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

View file

@ -21,9 +21,11 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# slightly modified by ponce <matteo.bernardini@gmail.com>
PRGNAM=libfm
VERSION=${VERSION:-20110316_c604674}
VERSION=${VERSION:-0.1.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -78,14 +80,22 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-udisks \
--disable-debug \
--disable-static \
--enable-udisks=yes \
--enable-static=no \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
# add handlers for terminal and archiver from LXDE components to the default config
sed -i -e 's|\[ui\]|terminal=lxterminal -e %s\narchiver=xarchiver %s\n\n[ui]|' \
$PKG/etc/xdg/libfm/libfm.conf
# add them also for web browser and mail client using those of Slackware
sed -i -e 's|^WebBrowser=.*|WebBrowser=mozilla-firefox.desktop|' \
$PKG/etc/xdg/libfm/pref-apps.conf
sed -i -e 's|^MailClient=.*|MailClient=mozilla-thunderbird.desktop|' \
$PKG/etc/xdg/libfm/pref-apps.conf
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
@ -94,6 +104,7 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="libfm"
VERSION="20110316_c604674"
VERSION="0.1.17"
HOMEPAGE="http://pcmanfm.sourceforge.net"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/libfm-20110316_c604674.tar.xz"
MD5SUM="d2973b01e62aa30223a270630e45d433"
DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/libfm-0.1.17.tar.gz"
MD5SUM="a97e03d973e6ac727f28d0934d6c9ad5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ponce"
EMAIL="matteo.bernardini@gmail.com"
APPROVED="rworkman"
APPROVED="Erik Hanson"