system/spacefm: Updated for version 1.0.3.
Thanks to Hunter S. Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
651fc706ef
commit
d0cea424aa
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue