summaryrefslogtreecommitdiff
path: root/multimedia/kino
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kino')
-rw-r--r--multimedia/kino/kino.SlackBuild14
-rw-r--r--multimedia/kino/kino.info2
2 files changed, 11 insertions, 5 deletions
diff --git a/multimedia/kino/kino.SlackBuild b/multimedia/kino/kino.SlackBuild
index 8465fa5109..4679bd1c73 100644
--- a/multimedia/kino/kino.SlackBuild
+++ b/multimedia/kino/kino.SlackBuild
@@ -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}
diff --git a/multimedia/kino/kino.info b/multimedia/kino/kino.info
index 0d7abbefc5..09f3086c52 100644
--- a/multimedia/kino/kino.info
+++ b/multimedia/kino/kino.info
@@ -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"