libraries/gst-python: Updated for version 0.10.15

This commit is contained in:
Thiago Coutinho 2010-05-13 00:29:42 +02:00 committed by Michiel van Wessem
parent 606bf0b2af
commit aa462b7dde
3 changed files with 28 additions and 20 deletions

View file

@ -6,7 +6,7 @@
# Modified by the slackbuilds.org project.
PRGNAM=gst-python
VERSION=0.10.12
VERSION=0.10.15
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -18,13 +18,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
# Exit on most errors
set -e
rm -rf $PKG
@ -33,7 +35,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -45,26 +46,31 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
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 . | 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
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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}

View file

@ -1,8 +1,10 @@
PRGNAM="gst-python"
VERSION="0.10.12"
VERSION="0.10.15"
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-python.html"
DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-python/gst-python-0.10.12.tar.bz2"
MD5SUM="e5d39eed5062ab1521abc61a6863f7b3"
DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-python/gst-python-0.10.15.tar.bz2"
MD5SUM="3329320a97bdbc669e11054f19bddf5a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Thiago Coutinho"
EMAIL="thiagocoutinho1@gmail.com"
APPROVED="Michiel"

View file

@ -7,13 +7,13 @@
|-----handy-ruler----------------------------------------------------|
gst-python: gst-python (python bindings)
gst-python:
gst-python:
gst-python: Python bindings for the GStreamer multimedia framework.
gst-python:
gst-python:
gst-python: http://gstreamer.freedesktop.org/modules/gst-python.html
gst-python:
gst-python:
gst-python:
gst-python:
gst-python:
gst-python:
gst-python:
gst-python:
gst-python:
gst-python:
gst-python:
gst-python: