summaryrefslogtreecommitdiffstats
path: root/gst-plugins-bad
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-05-31 12:20:20 +0000
committer Eric Hameleers <alien@slackware.com>2015-05-31 12:20:20 +0000
commitba1a23b8ae516bf135310029aeda7aff42e39581 (patch)
treec3602ded4d5e57e59c7b266286768f1be16bf1b3 /gst-plugins-bad
parent0bbdc43053053539e861813dcd6bb3533228b59b (diff)
downloadasb-ba1a23b8ae516bf135310029aeda7aff42e39581.tar.gz
asb-ba1a23b8ae516bf135310029aeda7aff42e39581.tar.xz
gst-plugins-bad: updated to 0.10.23
Diffstat (limited to 'gst-plugins-bad')
-rwxr-xr-xgst-plugins-bad/build/gst-plugins-bad.SlackBuild25
1 files changed, 19 insertions, 6 deletions
diff --git a/gst-plugins-bad/build/gst-plugins-bad.SlackBuild b/gst-plugins-bad/build/gst-plugins-bad.SlackBuild
index e893356e..2dcb317b 100755
--- a/gst-plugins-bad/build/gst-plugins-bad.SlackBuild
+++ b/gst-plugins-bad/build/gst-plugins-bad.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2009, 2010, 2011 Eric Hameleers, Eindhoven, NL
+# Copyright 2009, 2010, 2011, 2015 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -38,6 +38,8 @@
# 0.10.21-1: 17/may/2011 by Eric Hameleers <alien@slackware.com>
# * Update. Note: 0.10.22 requires a version of gstreamer which is
# not available in Slackware 13.37.
+# 0.10.23-1: 31/may/2015 by Eric Hameleers <alien@slackware.com>
+# * Update for Slackware 14.0 and 14.1.
#
# Run 'sh gst-plugins-bad.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -48,7 +50,7 @@
# Set initial variables:
PRGNAM=gst-plugins-bad
-VERSION=${VERSION:-0.10.21}
+VERSION=${VERSION:-0.10.23}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -88,11 +90,16 @@ case "$ARCH" in
x86_64) SLKCFLAGS="-O2 -fPIC"
SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
;;
- *) SLKCFLAGS="-O2"
- SLKLDFLAGS=""; LIBDIRSUFFIX=""
+ *) SLKCFLAGS=${SLKCFLAGS:-"O2"}
+ SLKLDFLAGS=${SLKLDFLAGS:-""}; LIBDIRSUFFIX=${LIBDIRSUFFIX:-""}
;;
esac
+case "$ARCH" in
+ arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
+ *) TARGET=$ARCH-slackware-linux ;;
+esac
+
# Exit the script on errors:
set -e
trap 'echo "$0 FAILED at line ${LINENO}" | tee $OUTPUT/error-${PRGNAM}.log' ERR
@@ -148,6 +155,10 @@ cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
tar -xvf ${SOURCE}
cd ${PRGNAM}-${VERSION}
+
+# Fix libmodplug include directory.
+patch -p1 < $SRCDIR/libmodplug-include.patch
+
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .
@@ -161,10 +172,12 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--localstatedir=/var \
--sysconfdir=/etc \
- --enable-experimental \
+ --disable-static \
+ --disable-musepack \
+ --disable-opus \
--program-prefix= \
--program-suffix= \
- --build=$ARCH-slackware-linux \
+ --build=$TARGET \
2>&1 | tee $OUTPUT/configure-${PRGNAM}.log
make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log