aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media/libs/gst-plugins-bad/Manifest4
-rwxr-xr-xmedia/libs/gst-plugins-bad/gst-plugins-bad.SlackBuild14
2 files changed, 13 insertions, 5 deletions
diff --git a/media/libs/gst-plugins-bad/Manifest b/media/libs/gst-plugins-bad/Manifest
new file mode 100644
index 00000000..ac902377
--- /dev/null
+++ b/media/libs/gst-plugins-bad/Manifest
@@ -0,0 +1,4 @@
+DIST gst-plugins-bad-0.10.11.tar.gz 3848576 MD5 8ffb43248bd2c7e112b9a874ea2f5f74 RMD160 90fb7fa7d8601de7bdaa697c9517d5093e635c57 SHA1 0af118290d9e29f84132a652ae1efd1a53a3aa09 SHA256 2a743383b0f7ef92c29baf6fa42656ab5c52b4291b5406ddc8510638553beb56 SHA512 5e937abb429c8b4bdcb7b8828146d783a7f9cfb5ffe73bdcef1685f3af2021e9518b4476f8dc321e753efcf60991665b6f526fa334fb6cda3b890deb98474376
+MKBUILD gst-plugins-bad.mkbuild 4459 MD5 f8a8d5e1840b034bdf2356ba5a03bb7c RMD160 280121cd314369f78998de308fafc43913246b77 SHA1 a928dcb9a27a6b6b77ce93157d97b341c459b642 SHA256 5d46daf297cf405896643edd5a1357c53778e904310d41e46c39d0dec97879f5 SHA512 35042158ad8c4d215d1588c805a477732431434b985a222a5f6bfd65f01f5b79acacdb48b7ea5b61c77d5da6712d5f15ab33a1c65835d32924ef94a7f7589cfe
+SLACK-REQUIRED slack-required 110 MD5 db07311b87ce7c344c5cbee48b86140c RMD160 8e07f0fd2e93d2925fb549d1bffefc6838a96c20 SHA1 0c2242cf5b2c39ce6eb1952fd4a4db71ae00d791 SHA256 702a2352bd77d984a17d8c626b5f761d71f9c6a5bf5b7e87a22c924e851a968c SHA512 bfce1bfd66da6e097e30f1ff2126ab4086f203b63d0a8f063e69972e1e2a9436dce0a17ed465efcb8f0172042fb15ea4eef2870eedfd09feabc6bae43b3a087f
+SLACKBUILD gst-plugins-bad.SlackBuild 5297 MD5 f57071d94aca41875f260e1717a57f99 RMD160 90a25c2cc8849d3e1317688f37d50ee97cb3c2ff SHA1 b7bde66ca7fab2f275f4fb41d717a41785598106 SHA256 1f9aaa148a4ce0b40f21c847e7ebc83f4e6192984e685d5ceb981154032e01fa SHA512 523f6021cd88fb2105837e5fb2bab827a72cd233c35c3264b5deea761e5787cba7a3d8305979a382bb0b5732af89958bb8b243f851b3e568f08fbbc205448356
diff --git a/media/libs/gst-plugins-bad/gst-plugins-bad.SlackBuild b/media/libs/gst-plugins-bad/gst-plugins-bad.SlackBuild
index f74f7d4b..424fb674 100755
--- a/media/libs/gst-plugins-bad/gst-plugins-bad.SlackBuild
+++ b/media/libs/gst-plugins-bad/gst-plugins-bad.SlackBuild
@@ -16,7 +16,8 @@
#
# slackbuild for gst-plugins-bad, by Rafael Diniz
# requires: gstreamer gst-plugins-base
-# tested: gst-plugins-bad-0.10.7
+# tested: gst-plugins-bad-0.10.11
+# model: generic.mkSlackBuild $Rev: 805 $
#
# Look for slackbuildrc
@@ -31,13 +32,14 @@ CWD="$(pwd)"
SRC_NAME="gst-plugins-bad"
PKG_NAME="gst-plugins-bad"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=0.10.7}
+SRC_VERSION=${VERSION:=0.10.11}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rd}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
+SLACKBUILD_PATH=${SLACKBUILD_PATH:="media/libs/gst-plugins-bad"}
PREFIX=${PREFIX:=/usr}
PKG_WORK="$TMP/$SRC_NAME"
CONF_OPTIONS=${CONF_OPTIONS:="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"}
@@ -47,9 +49,9 @@ NUMJOBS=${NUMJOBS:="-j3"}
LIBDIR="$PREFIX/lib"
if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
+ SLKCFLAGS="-O2 -march=i386 -mtune=i686"
elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686"
elif [ "$ARCH" = "s390" ]; then
@@ -65,6 +67,7 @@ ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
+ERROR_MANIFEST=43;
# Clean up any leftovers of previous builds
rm -rf "$PKG_WORK" 2> /dev/null
@@ -151,7 +154,8 @@ fi
# Build the package
cd "$PKG"
-makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
+mkdir -p $REPOS/$SLACKBUILD_PATH
+makepkg -l y -c n "$REPOS/$SLACKBUILD_PATH/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
# Delete source and build directories if requested
if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then