aboutsummaryrefslogtreecommitdiff
path: root/media/libs
diff options
context:
space:
mode:
authorrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-04-28 17:49:12 +0000
committerrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-04-28 17:49:12 +0000
commit0ccf4e039bca3d14b98e844c4ac263eb7cf00333 (patch)
treed9522ff6e174a518cbd53d48e7297abb3600051b /media/libs
parent055f3f5111204cc9c953e5cc62efcc7f45a6abfc (diff)
downloadslackbuilds-0ccf4e039bca3d14b98e844c4ac263eb7cf00333.tar.gz
slackbuilds-0ccf4e039bca3d14b98e844c4ac263eb7cf00333.tar.bz2
gst-ffmpeg version bump
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2170 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/libs')
-rw-r--r--media/libs/gst-ffmpeg/Manifest4
-rw-r--r--media/libs/gst-ffmpeg/gst-ffmpeg.SlackBuild14
2 files changed, 13 insertions, 5 deletions
diff --git a/media/libs/gst-ffmpeg/Manifest b/media/libs/gst-ffmpeg/Manifest
new file mode 100644
index 00000000..14fd6673
--- /dev/null
+++ b/media/libs/gst-ffmpeg/Manifest
@@ -0,0 +1,4 @@
+DIST gst-ffmpeg-0.10.7.tar.gz 9760073 MD5 ee113dae3055abfe2cb92ae106765f49 RMD160 366b59fff6975569bcb8466c517f341c66f32f92 SHA1 df64a6bed0334ce4fadaf5650ba15bb0a63811af SHA256 c27365dd2556fba34837e283b62998a7168d1f51628acb16ee5242c468353f97 SHA512 899eab8ab702fa32496da69581075af9815c538831b531adaa0e233d9685cd5006b7cbe7d970910f4b83ef885e7c59522ef6ab423930b16dfbb6c54ea68f9a80
+MKBUILD gst-ffmpeg.mkbuild 4456 MD5 bf9a337757acbd0d45ecf4add60ab721 RMD160 9272a69a2ed5c833a13e2e1404a77621d8ae4fc7 SHA1 2924cafc60a4d1e5c6da211a268fc62f6d0d8792 SHA256 bc49535852ecfaa2ef1a17467893e4ff1be6c236cc181544ff20354bf189a06f SHA512 79d14293ae2dcd3ffc13a929bb5cfe80a2922cc661c66564f033febb0db1500acaacb506de7a40d0b039c94b21f3daa0e939bdcad9b0ba11f9285a926ea3387a
+SLACK-REQUIRED slack-required 116 MD5 7fba6d9f3acf666a19264e28c1374d09 RMD160 dbae19a045719e592952c5c9eda3db3ad0543a6d SHA1 383a3c1cfe2897f673c2dd07b809a27826e258e8 SHA256 9682345b27fce71a1dc16b9f055c8e87ee3611d7206e713c81b59e113b4603f4 SHA512 c05a7d3a5486e263da7e59f2ab1f9385ef6a8f0d923d00e553f5a0586a6bafa1ebd70f25ff6302f3cdc8723ed9da49ff274c1fa544b998744667516d61a836ec
+SLACKBUILD gst-ffmpeg.SlackBuild 5090 MD5 28b7d7bbe8bf5f3694031f7d36af0fcd RMD160 01b0a1c632978c1dd3387dfb79b5129bd9bd7b8b SHA1 ed59c9e4a47e9edf4951942efab5c3ceee6b78ff SHA256 f61ab988029dfe3299b30323277f84b4c5b117575e730b3d83e12ac829b387ff SHA512 7424c670e0b618b6045e7aa2ca0135179ea019596e6cc4fdca88b9198de8605042e435c2c4a546e35fd66b2728794eff973de4ecff730e3d91f0ae30b4679c3a
diff --git a/media/libs/gst-ffmpeg/gst-ffmpeg.SlackBuild b/media/libs/gst-ffmpeg/gst-ffmpeg.SlackBuild
index 0dfa6cec..774a6a75 100644
--- a/media/libs/gst-ffmpeg/gst-ffmpeg.SlackBuild
+++ b/media/libs/gst-ffmpeg/gst-ffmpeg.SlackBuild
@@ -16,7 +16,8 @@
#
# slackbuild for gst-ffmpeg, by Rafael Diniz
# requires: gstreamer gst-plugins-base ffmpeg
-# tested: gst-ffmpeg-0.10.4
+# tested: gst-ffmpeg-0.10.7
+# model: generic.mkSlackBuild $Rev: 805 $
#
# Look for slackbuildrc
@@ -31,13 +32,14 @@ CWD="$(pwd)"
SRC_NAME="gst-ffmpeg"
PKG_NAME="gst-ffmpeg"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=0.10.4}
+SRC_VERSION=${VERSION:=0.10.7}
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-ffmpeg"}
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
@@ -147,7 +150,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