diff options
author | Pierre Cazenave <pwcazenave@gmail.com> | 2010-05-11 22:24:49 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:24:49 +0200 |
commit | f950526d43c7df475016011f6836f88b8c94825c (patch) | |
tree | e15ddb066a53fd0c07a95c8f495bc99fa5bf4583 /multimedia/kino/kino.SlackBuild | |
parent | 4bc62b64d6bf38d3a1dbb3f61b8868f831e9a1f2 (diff) | |
download | slackbuilds-f950526d43c7df475016011f6836f88b8c94825c.tar.gz |
multimedia/kino: Updated for version 1.3.2
Diffstat (limited to 'multimedia/kino/kino.SlackBuild')
-rw-r--r-- | multimedia/kino/kino.SlackBuild | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/multimedia/kino/kino.SlackBuild b/multimedia/kino/kino.SlackBuild index fd52e20d84..d98936e293 100644 --- a/multimedia/kino/kino.SlackBuild +++ b/multimedia/kino/kino.SlackBuild @@ -4,12 +4,12 @@ # revision date 11/11/2007 (Armistice Day) # # I have set the -enable-local-ffmpeg option since I can't figure -# out how to get the ffmpeg subdirectory configure script to be -# passed the correct install directory for the creation of the -# package. I figured this wasn't too much of an issue, since +# out how to get the ffmpeg subdirectory configure script to be +# passed the correct install directory for the creation of the +# package. I figured this wasn't too much of an issue, since # there's a ffmpeg SlackBuild script already. # -# If you can figure out how to get it to compile so that ffmpeg +# If you can figure out how to get it to compile so that ffmpeg # obeys the variables we set, please modify this accordinly. # Modified by Robby Workman <rworkman@slackbuilds.org> for better @@ -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,9 +36,15 @@ 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 +rm -rf $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.gz @@ -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 |