multimedia/kino: Updated for version 1.3.2

This commit is contained in:
Pierre Cazenave 2010-05-11 22:24:49 +02:00 committed by David Somero
parent 4bc62b64d6
commit f950526d43
4 changed files with 40 additions and 18 deletions

View file

@ -8,5 +8,8 @@ audio stream) encodings.
Kino does not support other video file formats or encodings, but it
can import them by transcoding with FFmpeg and optionally MEncoder.
This requires libraw1394, libavc1394, libiec61883, libdv, libsamplerate,
and optionally ffmpeg, all of which available from SlackBuilds.org.
This requires intltool, libraw1394, libavc1394, libiec61883, libdv,
libsamplerate and ffmpeg. If you want support for quicktime you'll have
to pass QUICKTIME=yes to the script. This will additionally require
liquicktime.
All dependencies are available from SlackBuilds.org.

View file

@ -0,0 +1,7 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

View file

@ -18,10 +18,11 @@
# that's installed on the system.
PRGNAM=kino
VERSION=1.1.1
VERSION=1.3.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -35,7 +36,13 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e # Exit on most errors
if [ "${QUICKTIME:-no}" = "no" ]; then
do_qt="dis"
else
do_qt="en"
fi
set -e
rm -rf $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -52,15 +59,14 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
--enable-local-ffmpeg
--${do_qt}able-quicktime \
--disable-local-ffmpeg
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 $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
@ -76,8 +82,14 @@ cp -a ChangeLog AUTHORS BUGS COPYING INSTALL NEWS README TODO help/ \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
# Fix a few things...
chown -R root:root $PKG/usr/share/kino/help
find $PKG/usr/share/kino/help/en -type d -exec chmod 0755 {} \;
find $PKG/usr/share/kino/help/en -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
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

View file

@ -1,8 +1,8 @@
PRGNAM="kino"
VERSION="1.1.1"
VERSION="1.3.2"
HOMEPAGE="http://www.kinodv.org/"
DOWNLOAD="http://downloads.sourceforge.net/kino/kino-1.1.1.tar.gz"
MD5SUM="9aebc3ab965fba24021ba522c031e5ef"
DOWNLOAD="http://downloads.sourceforge.net/kino/kino-1.3.2.tar.gz"
MD5SUM="c534c666ed0312c75c877eb1580b985c"
MAINTAINER="Pierre Cazenave"
EMAIL="pwcazenave@gmail.com"
APPROVED="rworkman"
APPROVED="dsomero"