aboutsummaryrefslogtreecommitdiff
path: root/media/libs
diff options
context:
space:
mode:
authorrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-04-28 16:41:13 +0000
committerrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-04-28 16:41:13 +0000
commit922c6e33197b1796d7a5648ba479abb5ec0c8aaa (patch)
tree92b35700c92d67f3a68f7a42297cc812c0375e94 /media/libs
parent2b41dfce7114ff00d707cdf77b83da78d1cb4798 (diff)
downloadslackbuilds-922c6e33197b1796d7a5648ba479abb5ec0c8aaa.tar.gz
slackbuilds-922c6e33197b1796d7a5648ba479abb5ec0c8aaa.tar.bz2
gst-plugins-good
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2167 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/libs')
-rw-r--r--media/libs/gst-plugins-good/Manifest4
-rwxr-xr-xmedia/libs/gst-plugins-good/gst-plugins-good.SlackBuild14
2 files changed, 13 insertions, 5 deletions
diff --git a/media/libs/gst-plugins-good/Manifest b/media/libs/gst-plugins-good/Manifest
new file mode 100644
index 00000000..b410139d
--- /dev/null
+++ b/media/libs/gst-plugins-good/Manifest
@@ -0,0 +1,4 @@
+DIST gst-plugins-good-0.10.14.tar.gz 3276723 MD5 62f629637bcfa82d47eb1baeb22a3d25 RMD160 0a534d15d78eec605f7f1717cc469575f8f44150 SHA1 0e1e3ce489ba0827c531c646762086e48283dff6 SHA256 96311ce4d8e8786c8b6fb1ce9c7ab72dcea065e8add2d6bfadd215f17e31e003 SHA512 24468edd6b0ec1564486b05c9ef42f22f3f96a42bccb03d8336c5070dac6ad1c93704bd56f33cedb76ab43fcab034fae75371b55660d7311d7274108b9d01e25
+MKBUILD gst-plugins-good.mkbuild 4477 MD5 5b6a2f479e68ae852d477b5f26c1a14b RMD160 cf38683f07ad2626a949f8333247679d2e67aaf4 SHA1 5dfd603bb73fac10bb27a26c894ba55eb25d095f SHA256 5203d49a7b6719b7c64c9a67064292cf320fb183a02cc8de184d5be0029fc03d SHA512 0a75de8f264230248dbb54fa9c1491e6b6b59e9a9bd11e0405bab2f1c2e457a26910c41077e0a77cb9e0fe0bd7d054df676c9aed72dddbc5992bd372ed777c86
+SLACK-REQUIRED slack-required 111 MD5 8d30bfcca30ccbeb797b0810028a42b4 RMD160 be51c0834cd5693d54d111092241f3408357e631 SHA1 b3cdcbdbb647d7638ee077ae7873d534c5044000 SHA256 dbd55ef194c50f989f99ebc194624a9c0bfc8005f445c0fcd45d31eeb8999cd8 SHA512 ba38400ce7dffa2df7b8e956f5d71155d86052883bf090fc20b993dd5ff4676722c4d04398639729eee6f3c6290eae8d37d90f2d98092c5de5be7a16ddb6a3ce
+SLACKBUILD gst-plugins-good.SlackBuild 5320 MD5 22edfc9da0aa2902e83231c39d24ceca RMD160 eab64f979052922e1fc6c80f111ae5d94f5ca3e9 SHA1 a05c281638d88ab2ea292ca916a3731938306041 SHA256 175d4613478e83812f3459132ac7c180c551dcea052c593b11b06851eeebaa53 SHA512 5a8bf81e9039ae33c939b447920b5ac81fba54d569cd0ed487982bcc0c8fdcc85a4e72cc474ef9b2772a8d088108001740956469ac260f624f1ea6c9a43fe717
diff --git a/media/libs/gst-plugins-good/gst-plugins-good.SlackBuild b/media/libs/gst-plugins-good/gst-plugins-good.SlackBuild
index 33e4a33a..19d59afb 100755
--- a/media/libs/gst-plugins-good/gst-plugins-good.SlackBuild
+++ b/media/libs/gst-plugins-good/gst-plugins-good.SlackBuild
@@ -16,7 +16,8 @@
#
# slackbuild for gst-plugins-good, by Rafael Diniz
# requires: gstreamer gst-plugins-base
-# tested: gst-plugins-good-0.10.8
+# tested: gst-plugins-good-0.10.14
+# model: generic.mkSlackBuild $Rev: 805 $
#
# Look for slackbuildrc
@@ -31,13 +32,14 @@ CWD="$(pwd)"
SRC_NAME="gst-plugins-good"
PKG_NAME="gst-plugins-good"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=0.10.8}
+SRC_VERSION=${VERSION:=0.10.14}
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-good"}
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