diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/thunar-thumbnailers/README | 9 | ||||
-rw-r--r-- | desktop/thunar-thumbnailers/doinst.sh | 5 | ||||
-rw-r--r-- | desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild | 29 | ||||
-rw-r--r-- | desktop/thunar-thumbnailers/thunar-thumbnailers.info | 8 |
4 files changed, 30 insertions, 21 deletions
diff --git a/desktop/thunar-thumbnailers/README b/desktop/thunar-thumbnailers/README index e0876ec70d..9954c02081 100644 --- a/desktop/thunar-thumbnailers/README +++ b/desktop/thunar-thumbnailers/README @@ -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. diff --git a/desktop/thunar-thumbnailers/doinst.sh b/desktop/thunar-thumbnailers/doinst.sh index 8b00f9054b..3a3d7b6dc6 100644 --- a/desktop/thunar-thumbnailers/doinst.sh +++ b/desktop/thunar-thumbnailers/doinst.sh @@ -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 diff --git a/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild b/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild index 6046262ba9..bbade5c390 100644 --- a/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild +++ b/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild @@ -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} diff --git a/desktop/thunar-thumbnailers/thunar-thumbnailers.info b/desktop/thunar-thumbnailers/thunar-thumbnailers.info index 488db077df..b577c4296f 100644 --- a/desktop/thunar-thumbnailers/thunar-thumbnailers.info +++ b/desktop/thunar-thumbnailers/thunar-thumbnailers.info @@ -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}" |