mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
multimedia/kino: Updated for version 1.3.2
This commit is contained in:
parent
26a995ea30
commit
3541b677b0
2 changed files with 11 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Pierre Cazenave (LQ.org pwc101)
|
||||
# revision date 11/11/2007 (Armistice Day)
|
||||
# re-revised for 12.2 and new udev locations on 23/12/2008 (day before
|
||||
# re-revised for 12.2 and new udev locations on 23/12/2008 (day before
|
||||
# Christmas Eve!).
|
||||
#
|
||||
# I have set the -enable-local-ffmpeg option since I can't figure
|
||||
|
@ -32,10 +32,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
if [ "${QUICKTIME:-no}" = "no" ]; then
|
||||
|
@ -57,6 +60,7 @@ chmod -R u+w,go+r-w,a-s .
|
|||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib$LIBDIRSUFFIX \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|
@ -75,7 +79,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
# Give the udev rules a number prefix to be consistent with other rules files
|
||||
# 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
|
||||
mkdir -p $PKG/lib/udev/rules.d
|
||||
mv $PKG/etc/udev/rules.d/kino.rules $PKG/lib/udev/rules.d/96-kino.rules
|
||||
|
@ -97,4 +101,4 @@ 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
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="kino"
|
|||
VERSION="1.3.2"
|
||||
HOMEPAGE="http://www.kinodv.org/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/kino/kino-1.3.2.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="c534c666ed0312c75c877eb1580b985c"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Pierre Cazenave"
|
||||
EMAIL="pwcazenave@gmail.com"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue