diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-09-02 06:38:07 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-05 18:24:52 +0700 |
commit | d0cea424aa6bce816f0c65fd5d9e0831fa3b164f (patch) | |
tree | 2219c77d457a20b68cbbf542d93b610936dd819c /system | |
parent | 651fc706efabadae1b6f6515ade6820bc0c20d1b (diff) |
system/spacefm: Updated for version 1.0.3.
Thanks to Hunter S.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'system')
-rw-r--r-- | system/spacefm/spacefm.SlackBuild | 19 | ||||
-rw-r--r-- | system/spacefm/spacefm.info | 6 |
2 files changed, 17 insertions, 8 deletions
diff --git a/system/spacefm/spacefm.SlackBuild b/system/spacefm/spacefm.SlackBuild index f3b636d538dc..d5457e9d999d 100644 --- a/system/spacefm/spacefm.SlackBuild +++ b/system/spacefm/spacefm.SlackBuild @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spacefm -VERSION=${VERSION:-0.9.4} +VERSION=${VERSION:-1.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,20 +56,28 @@ else LIBDIRSUFFIX="" fi +## detect video thumbnail support, requires ffmpegthumbnailer: +## http://slackbuilds.org/apps/ffmpegthumbnailer/ +if pkg-config --exists libffmpegthumbnailer; then VIDEO_THUMBNAIL_FLAG=""; else VIDEO_THUMBNAIL_FLAG="--disable-video-thumbnails"; fi + set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +if [ -e $CWD/$VERSION.tar.gz ]; then + tar xvf $CWD/$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +fi cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -83,12 +91,13 @@ CFLAGS="$SLKCFLAGS" \ --localedir=/usr/share/locale \ --disable-pixmaps \ --disable-static \ + $VIDEO_THUMBNAIL_FLAG \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/spacefm/spacefm.info b/system/spacefm/spacefm.info index af5d2acdef1c..077e4b896073 100644 --- a/system/spacefm/spacefm.info +++ b/system/spacefm/spacefm.info @@ -1,8 +1,8 @@ PRGNAM="spacefm" -VERSION="0.9.4" +VERSION="1.0.3" HOMEPAGE="http://ignorantguru.github.com/spacefm/" -DOWNLOAD="http://sourceforge.net/projects/spacefm/files/spacefm-0.9.4.tar.xz" -MD5SUM="0214e90d408e72baa5db19bab41f5eeb" +DOWNLOAD="https://github.com/IgnorantGuru/spacefm/archive/1.0.3.tar.gz" +MD5SUM="000e26dc414443f934e3838610cb6174" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |