diff options
author | Eric Hameleers <alien@slackware.com> | 2015-06-07 17:15:31 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-06-07 17:15:31 +0000 |
commit | 3f645f831a2ebb5e3c398e5eaf692b1a7fee671b (patch) | |
tree | 3ec6e93b269fbdeeb5e4dfd788fda92820f9a21f /gst-plugins-bad0/build | |
parent | 5fff1a5ac0654585fb37c0fd40b257506b565772 (diff) | |
download | asb-3f645f831a2ebb5e3c398e5eaf692b1a7fee671b.tar.gz asb-3f645f831a2ebb5e3c398e5eaf692b1a7fee671b.tar.xz |
gst-plugins-bad0: renamed and rebuilt for Slackware 14.2 which introduced "0" packages for gstreamer 0.x.
Diffstat (limited to 'gst-plugins-bad0/build')
-rwxr-xr-x | gst-plugins-bad0/build/gst-plugins-bad0.SlackBuild | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/gst-plugins-bad0/build/gst-plugins-bad0.SlackBuild b/gst-plugins-bad0/build/gst-plugins-bad0.SlackBuild index 2dcb317b..214c655c 100755 --- a/gst-plugins-bad0/build/gst-plugins-bad0.SlackBuild +++ b/gst-plugins-bad0/build/gst-plugins-bad0.SlackBuild @@ -25,23 +25,15 @@ # Slackware SlackBuild script # =========================== # By: Eric Hameleers, Eindhoven, NL -# For: gst-plugins-bad -# Descr: gstreamer plugins that are of not-so-good quality +# For: gst-plugins-bad0 +# Descr: gstreamer 0.x plugins that are of not-so-good quality # URL: http://gstreamer.freedesktop.org/ # Needs: # Changelog: -# 0.10.13-1: 01/Oct/2009 by Eric Hameleers, Eindhoven, NL -# * Initial build. -# 0.10.19-1: 14/dec/2010 by Eric Hameleers <alien@slackware.com> -# * Update. Note: 0.10.20 requires a version of gstreamer which is -# not available in Slackware 13.1. -# 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. +# 0.10.23-2: 06/jun/2015 by Eric Hameleers <alien@slackware.com> +# * Slackware 14.2 introduced the "0" packages for gstreamer 0.x. # -# Run 'sh gst-plugins-bad.SlackBuild' to build a Slackware package. +# Run 'sh gst-plugins-bad0.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . # Install it using 'installpkg'. # @@ -49,9 +41,10 @@ # Set initial variables: -PRGNAM=gst-plugins-bad +PRGNAM=gst-plugins-bad0 +SRCNAM=gst-plugins-bad VERSION=${VERSION:-0.10.23} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -66,8 +59,8 @@ TMP=${TMP:-/tmp/build} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.bz2" -SRCURL="http://gstreamer.freedesktop.org/src/${PRGNAM}/${PRGNAM}-${VERSION}.tar.bz2" +SOURCE="$SRCDIR/${SRCNAM}-${VERSION}.tar.bz2" +SRCURL="http://gstreamer.freedesktop.org/src/${SRCNAM}/${SRCNAM}-${VERSION}.tar.bz2" ## ## --- with a little luck, you won't have to edit below this point --- ## @@ -154,7 +147,7 @@ echo "++" cd $TMP/tmp-$PRGNAM echo "Extracting the source archive(s) for $PRGNAM..." tar -xvf ${SOURCE} -cd ${PRGNAM}-${VERSION} +cd ${SRCNAM}-${VERSION} # Fix libmodplug include directory. patch -p1 < $SRCDIR/libmodplug-include.patch @@ -163,6 +156,8 @@ chown -R root:root . chmod -R u+w,go+r-w,a+X-s . echo Building ... +# Disable the use of orc, because it leads to errors like this: +# " unknown .source token 'guint32' ". LDFLAGS="$SLKLDFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ @@ -172,6 +167,7 @@ CFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --localstatedir=/var \ --sysconfdir=/etc \ + --disable-orc \ --disable-static \ --disable-musepack \ --disable-opus \ |