diff options
Diffstat (limited to 'libraries/gst-python')
-rw-r--r-- | libraries/gst-python/gst-python.SlackBuild | 24 | ||||
-rw-r--r-- | libraries/gst-python/gst-python.info | 8 | ||||
-rw-r--r-- | libraries/gst-python/slack-desc | 16 |
3 files changed, 28 insertions, 20 deletions
diff --git a/libraries/gst-python/gst-python.SlackBuild b/libraries/gst-python/gst-python.SlackBuild index f1e715e7c4..91a1b6671d 100644 --- a/libraries/gst-python/gst-python.SlackBuild +++ b/libraries/gst-python/gst-python.SlackBuild @@ -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} diff --git a/libraries/gst-python/gst-python.info b/libraries/gst-python/gst-python.info index 56c9ecde7c..fb822659c2 100644 --- a/libraries/gst-python/gst-python.info +++ b/libraries/gst-python/gst-python.info @@ -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" diff --git a/libraries/gst-python/slack-desc b/libraries/gst-python/slack-desc index cbb83593bb..8782ce7d7a 100644 --- a/libraries/gst-python/slack-desc +++ b/libraries/gst-python/slack-desc @@ -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: |