desktop/ffmpegthumbnailer: Updated for version 2.0.10.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2015-05-23 18:44:38 +02:00 committed by Willy Sudiarto Raharjo
parent dbf4c04be6
commit 2f7f2cf4d8
3 changed files with 26 additions and 20 deletions

View File

@ -3,7 +3,7 @@
# Slackware build script for FFmpegthumbnailer
# Copyright 2007-2009 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2012-2015 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ffmpegthumbnailer
VERSION=${VERSION:-2.0.9}
VERSION=${VERSION:-2.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -70,21 +70,27 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--enable-static=no \
--enable-gio \
--enable-thumbnailer \
--build=$ARCH-slackware-linux
# Fix installing into correct libdir
sed -i "s|\${CMAKE_INSTALL_PREFIX}/lib|\${CMAKE_INSTALL_PREFIX}/lib\${LIB_SUFFIX}|g" \
CMakeLists.txt
make
make install-strip DESTDIR=$PKG
mkdir build
cd build
cmake \
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_GIO="yes" \
-DENABLE_THUMBNAILER="yes" \
..
make VERBOSE=1
make install DESTDIR=$PKG
cd ..
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
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

View File

@ -1,8 +1,8 @@
PRGNAM="ffmpegthumbnailer"
VERSION="2.0.9"
HOMEPAGE="http://code.google.com/p/ffmpegthumbnailer/"
DOWNLOAD="http://www.liwjatan.at/files/src/ffmpegthumbnailer/ffmpegthumbnailer-2.0.9.tar.gz"
MD5SUM="915450d09844d86e2d7fa50043d0924b"
HOMEPAGE="https://github.com/dirkvdb/ffmpegthumbnailer"
DOWNLOAD="https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/2.0.10/ffmpegthumbnailer-2.0.10.tar.bz2"
MD5SUM="3918d43b9d76c6e3eaf17e1c0c7dd5bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg"

View File

@ -14,6 +14,6 @@ ffmpegthumbnailer: The thumbnailer uses ffmpeg to decode frames from the video f
ffmpegthumbnailer: so supported videoformats depend on the configuration flags of
ffmpegthumbnailer: ffmpeg.
ffmpegthumbnailer:
ffmpegthumbnailer: Homepage: http://code.google.com/p/ffmpegthumbnailer/
ffmpegthumbnailer: Homepage: https://github.com/dirkvdb/ffmpegthumbnailer
ffmpegthumbnailer:
ffmpegthumbnailer: