aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-02 03:22:44 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitec1a0c2a80eb528b3eff52d80e8840ae594877de (patch)
treebc51be97c89f040980dd6c1f17bd124b07a5fbb9
parentbfedded67d483700b3912ff363811806cf6bac49 (diff)
multimedia/gst-plugins-bad: Updated for version 1.6.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--multimedia/gst-plugins-bad/README10
-rw-r--r--multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild63
-rw-r--r--multimedia/gst-plugins-bad/gst-plugins-bad.info12
-rw-r--r--multimedia/gst-plugins-bad/libmodplug-include.patch12
-rw-r--r--multimedia/gst-plugins-bad/slack-desc14
5 files changed, 46 insertions, 65 deletions
diff --git a/multimedia/gst-plugins-bad/README b/multimedia/gst-plugins-bad/README
index 45b0eef4bc4de..ef58c9a659fab 100644
--- a/multimedia/gst-plugins-bad/README
+++ b/multimedia/gst-plugins-bad/README
@@ -3,8 +3,8 @@ to the rest. They might be close to being good quality, but they're missing
something - be it a good code review, some documentation, a set of tests,
a real live maintainer, or some actual wide use.
-This optionally depends on orc, libass, libcdaudio, celt, libdc1394, dirac,
-libdca, libdvdnav, faac, faad, flite, gsm, libkate, liblrdf, slv2,
-libmms, libmodplug, libmimic, libmusicbrainz, libofa, OpenAL, opencv,
-TiMidity++, soundtouch, swfdec, xvidcore, libvdpau, schroedinger,
-libvpx and rtmpdump.
+This optionally depends on amrnb, amrwb, libass, libcdaudio, celt,
+libdc1394, libdca, libdvdnav, faac, faad2, flite, fluidsynth, gsm,
+libkate, liblrdf, libmodplug, libmimic, libmusicbrainz, libofa,
+libquicktime, libwebp, lv2, musepack-tools, OpenAL, opencv, soundtouch,
+swfdec, xvidcore, rtmpdump, schroedinger, TiMidity++, and xvidcore.
diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
index 5b6ad3b4a6915..12572266a1f29 100644
--- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
+++ b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
@@ -2,31 +2,29 @@
# Slackware build script for gst-plugins-bad
-# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2013-2015 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gst-plugins-bad
-VERSION=${VERSION:-0.10.23}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.6.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,23 +54,20 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fix libmodplug include directory.
-patch -p1 < $CWD/libmodplug-include.patch
+ -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,21 +77,19 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/${PRGNAM-$VERSION} \
- --disable-static \
- --disable-musepack \
- --disable-opus \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-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
+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
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING* ChangeLog INSTALL NEWS RE* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.info b/multimedia/gst-plugins-bad/gst-plugins-bad.info
index 88a832ac4e359..f6d3df3574496 100644
--- a/multimedia/gst-plugins-bad/gst-plugins-bad.info
+++ b/multimedia/gst-plugins-bad/gst-plugins-bad.info
@@ -1,10 +1,10 @@
PRGNAM="gst-plugins-bad"
-VERSION="0.10.23"
-HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html"
-DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.23.tar.xz"
-MD5SUM="e4822fa2cc933768e2998311a1565979"
+VERSION="1.6.2"
+HOMEPAGE="http://gstreamer.freedesktop.org/"
+DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.6.2.tar.xz"
+MD5SUM="7c73bec1d389f0e184ebbbbb9e9f883d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Michiel van Wessem"
-EMAIL="michiel@slackbuilds.org"
+MAINTAINER="Robby Workman"
+EMAIL="rworkman@slackbuilds.org"
diff --git a/multimedia/gst-plugins-bad/libmodplug-include.patch b/multimedia/gst-plugins-bad/libmodplug-include.patch
deleted file mode 100644
index a38c5af9ab161..0000000000000
--- a/multimedia/gst-plugins-bad/libmodplug-include.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur gst-plugins-bad-0.10.23.orig/ext/modplug/gstmodplug.cc gst-plugins-bad-0.10.23/ext/modplug/gstmodplug.cc
---- gst-plugins-bad-0.10.23.orig/ext/modplug/gstmodplug.cc 2012-01-18 12:32:55.000000000 +0000
-+++ gst-plugins-bad-0.10.23/ext/modplug/gstmodplug.cc 2015-02-03 16:31:44.428094306 +0000
-@@ -50,7 +50,7 @@
- #define WORDS_BIGENDIAN 0
- #endif
-
--#include <stdafx.h>
-+#include <libmodplug/stdafx.h>
- #include <libmodplug/sndfile.h>
-
- #include "gstmodplug.h"
diff --git a/multimedia/gst-plugins-bad/slack-desc b/multimedia/gst-plugins-bad/slack-desc
index 0538f780fd95a..b8e30f8f13357 100644
--- a/multimedia/gst-plugins-bad/slack-desc
+++ b/multimedia/gst-plugins-bad/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-gst-plugins-bad: gst-plugins-bad (a set GStreamer plugins)
+gst-plugins-bad: gst-plugins-bad (bad set of GStreamer plugins)
+gst-plugins-bad:
+gst-plugins-bad: GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par
+gst-plugins-bad: compared to the rest. They might be close to being good quality,
+gst-plugins-bad: but they're missing something - be it a good code review, some
+gst-plugins-bad: documentation, a set of tests, a real live maintainer, or some
+gst-plugins-bad: actual wide use.
gst-plugins-bad:
-gst-plugins-bad: GStreamer Bad Plug-ins is a set of plug-ins that aren't up to
-gst-plugins-bad: par compared to the rest. They might be close to being good
-gst-plugins-bad: quality, but they're missing something - be it a good code
-gst-plugins-bad: review, some documentation, a set of tests, a real live
-gst-plugins-bad: maintainer, or some actual wide use.
gst-plugins-bad:
-gst-plugins-bad: gst-plugins-bad is a set of plug-ins that need more quality.
gst-plugins-bad:
gst-plugins-bad: