multimedia/kino: Miscellaneous cleanups.

This commit is contained in:
Robby Workman 2010-05-21 01:41:23 -05:00
parent 25687e4932
commit 69051d5b38
3 changed files with 17 additions and 9 deletions

View File

@ -8,7 +8,6 @@ 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 libavc1394, libiec61883, libdv, libsamplerate and ffmpeg.
This requires libavc1394, libiec61883, libdv, 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.
to the script, and this will additionally require liquicktime.

View File

@ -21,10 +21,19 @@
PRGNAM=kino
VERSION=1.3.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -39,6 +48,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
if [ "${QUICKTIME:-no}" = "no" ]; then
@ -74,10 +86,7 @@ make install DESTDIR=$PKG
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 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Give the udev rules a number prefix to be consistent with other rules files
# and move to the new location for 12.2; then remove $PKG/etc directory

View File

@ -16,4 +16,4 @@ kino: Kino does not support other video file formats or encodings, but it
kino: can import them by transcoding with FFmpeg and optionally MEncoder.
kino:
kino: http://www.kinodv.org/
kino:
kino: