mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
desktop/ffmpegthumbnailer: Updated for version 1.5.0
This commit is contained in:
parent
fa123bf435
commit
7ca280a597
4 changed files with 32 additions and 32 deletions
|
@ -1,6 +1,7 @@
|
|||
FFmpegthumbnailer is a lightweight video thumbnailer that can be used by
|
||||
file managers to create thumbnails for your video files. The thumbnailer
|
||||
uses ffmpeg to decode frames from the video files, so supported videoformats
|
||||
depend on the configuration flags of ffmpeg.
|
||||
FFmpegthumbnailer is a lightweight video thumbnailer that can be
|
||||
used by file managers to create thumbnails for your video files.
|
||||
The thumbnailer uses ffmpeg to decode frames from the video files,
|
||||
so supported videoformats depend on the configuration flags of
|
||||
ffmpeg.
|
||||
|
||||
ffmpeg (also available at SBo) is required to build FFmpegthumbnailer.
|
||||
ffmpeg (available at SBo) is required to build FFmpegthumbnailer.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for FFmpegthumbnailer
|
||||
|
||||
# Copyright 2007-2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
||||
# Copyright 2007-2009 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
||||
# 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=ffmpegthumbnailer
|
||||
VERSION=1.2.6
|
||||
VERSION=${VERSION:-1.5.0}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
|
@ -47,9 +45,8 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
@ -63,22 +60,24 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--program-prefix="" \
|
||||
--program-suffix="" \
|
||||
--enable-shared=yes \
|
||||
--mandir=/usr/man \
|
||||
--enable-static=no \
|
||||
--disable-largefile \
|
||||
--build=$ARCH-slackware-linux \
|
||||
|| exit 1
|
||||
|
||||
make || exit 1
|
||||
make install-strip DESTDIR=$PKG || exit 1
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
find $PKG -type f -size 0c -exec rm {} \; 2>/dev/null
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ffmpegthumbnailer"
|
||||
VERSION="1.2.6"
|
||||
VERSION="1.5.0"
|
||||
HOMEPAGE="http://code.google.com/p/ffmpegthumbnailer/"
|
||||
DOWNLOAD="http://ffmpegthumbnailer.googlecode.com/files/ffmpegthumbnailer-1.2.6.tar.gz"
|
||||
MD5SUM="2bd0676354c623b29a2ee161befd74fd"
|
||||
DOWNLOAD="http://ffmpegthumbnailer.googlecode.com/files/ffmpegthumbnailer-1.5.0.tar.gz"
|
||||
MD5SUM="b260507b2c8d9db46d5b73d76b3986b6"
|
||||
MAINTAINER="Frank Caraballo"
|
||||
EMAIL="fecaraballo{at}gmail{dot}com"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="pprkut"
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||
# the right side marks the last column you can put a character in. You must make
|
||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
ffmpegthumbnailer: FFmpegthumbnailer (Lightweight Video Thumbnailer)
|
||||
ffmpegthumbnailer:
|
||||
ffmpegthumbnailer: FFmpegthumbnailer is a lightweight video thumbnailer that
|
||||
ffmpegthumbnailer: can be used by file managers to create thumbnails for your
|
||||
ffmpegthumbnailer: video files. The thumbnailer uses ffmpeg to decode frames
|
||||
ffmpegthumbnailer: from the video files, so supported videoformats depend on
|
||||
ffmpegthumbnailer: the configuration flags of ffmpeg.
|
||||
ffmpegthumbnailer: FFmpegthumbnailer is a lightweight video thumbnailer that can be
|
||||
ffmpegthumbnailer: used by file managers to create thumbnails for your video files.
|
||||
ffmpegthumbnailer: The thumbnailer uses ffmpeg to decode frames from the video files,
|
||||
ffmpegthumbnailer: so supported videoformats depend on the configuration flags of
|
||||
ffmpegthumbnailer: ffmpeg.
|
||||
ffmpegthumbnailer:
|
||||
ffmpegthumbnailer: Homepage: http://code.google.com/p/ffmpegthumbnailer/
|
||||
ffmpegthumbnailer:
|
||||
|
|
Loading…
Reference in a new issue