summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2011-08-06 23:28:42 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:36 -0300
commit8c35bec04b003a25aa9e4cc99fceefdd5e71a5ec (patch)
treef4ea53b457515f32c7fda38b202979d9c9e01fd0 /multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
parent254efe8fd2b88814b0af33fd07e082d675e6fabf (diff)
downloadslackbuilds-8c35bec04b003a25aa9e4cc99fceefdd5e71a5ec.tar.gz
multimedia/gst-plugins-bad: Updated for version 0.10.21.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild')
-rw-r--r--multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
index e6db04b82e..85d698615b 100644
--- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
+++ b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gst-plugins-bad
-# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,16 +25,14 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gst-plugins-bad
-VERSION=${VERSION:-0.10.19}
+VERSION=${VERSION:-0.10.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -81,14 +79,19 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-static
+ --docdir=/usr/doc/${PRGNAM-$VERSION} \
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README RELEASE REQUIREMENTS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/plugins
+cp -a AUTHORS COPYING* INSTALL NEWS README RELEASE REQUIREMENTS \
+ docs/plugins/html docs/plugins/$PRGNAM-* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install