desktop/thunar-thumbnailers: Updated for version 0.4.1

This commit is contained in:
Robby Workman 2010-05-13 00:23:15 +02:00 committed by Michiel van Wessem
parent 46ad980cb8
commit db6eedae69
4 changed files with 30 additions and 21 deletions

View file

@ -7,8 +7,7 @@ command:
/usr/libexec/thunar-vfs-update-thumbnailers-cache-1
Optional dependencies are dcraw (for raw image support) and ffmpegthumbnailer
(for video file support). Both dcraw and ffmpegthumbnailer are available at
SlackBuilds.org. If you wish to enable support for either or both of these,
you will need to edit the build script to do so - the required lines are
commented out. If you choose to compile with dcraw (--enable-raw), you'll also
need raw-thumbnailer, for which a script is present at slackbuilds.org.
(for video file support). If you wish to enable support for either or both
of these, you will need to edit the build script to do so - the required lines
are commented out. If you choose to compile with dcraw (--enable-raw), you'll
also need raw-thumbnailer.

View file

@ -1,5 +1,4 @@
if [ -x usr/bin/update-mime-database ]; then
usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

View file

@ -2,7 +2,7 @@
# Slackware build script for thunar-thumbnailers
# Copyright 2007 Robby Workman (http://rlworkman.net)
# Copyright 2007-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=thunar-thumbnailers
VERSION=0.3.0
VERSION=0.4.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
@ -58,12 +63,13 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/xfce \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-debug=no \
--enable-tex \
--disable-update-mime-database \
--docdir=/usr/doc/$PRGNAM-$VERSION
# If desired... :)
--build=$ARCH-slackware-linux
# --enable-raw # Raw image support, requires dcraw
# --enable-ffmpeg # video file support, requires ffmpegthumbnailer
# --enable-grace # .agr file support, requires grace (not at SBo)
@ -72,13 +78,16 @@ make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@ -86,4 +95,4 @@ 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.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="thunar-thumbnailers"
VERSION="0.3.0"
VERSION="0.4.1"
HOMEPAGE="http://goodies.xfce.org/"
DOWNLOAD="http://goodies.xfce.org/releases/thunar-thumbnailers/thunar-thumbnailers-0.3.0.tar.bz2"
MD5SUM="b451516fcfa97c8fabf71cf935a2550a"
DOWNLOAD="http://goodies.xfce.org/releases/thunar-thumbnailers/thunar-thumbnailers-0.4.1.tar.bz2"
DOWNLOAD_x86_64=""
MD5SUM="041b8aa0576e15491661741d1868547f"
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="BP{k}"