diff options
Diffstat (limited to 'media/libs/gst-plugins-base')
-rw-r--r-- | media/libs/gst-plugins-base/Manifest | 4 | ||||
-rwxr-xr-x | media/libs/gst-plugins-base/gst-plugins-base.SlackBuild | 14 |
2 files changed, 13 insertions, 5 deletions
diff --git a/media/libs/gst-plugins-base/Manifest b/media/libs/gst-plugins-base/Manifest new file mode 100644 index 00000000..7a9447f8 --- /dev/null +++ b/media/libs/gst-plugins-base/Manifest @@ -0,0 +1,4 @@ +DIST gst-plugins-base-0.10.22.tar.gz 3004556 MD5 d1efc130a30cab7ada167293db3566ec RMD160 37dd75c2a55ba483c55b4b08ce1c053da5e2f987 SHA1 7e3cba2e3d1eab9150e9a68fd97d859c52914a6c SHA256 e2d8c6d532b6e97a5d11d10542cebac1ccf4e0dde82bf3a6ead39690a6043d1b SHA512 e16699dcdf70eaeb992eb63f7f2ee13566109208f789a9b2d609234fdb2a31a8f7bdc651a20c15a53bdce112d255d597ca1cd492ec5b1adcda8cfb270cc1863e +MKBUILD gst-plugins-base.mkbuild 4454 MD5 50e7f63e412da584e0e264ef579dd243 RMD160 a584c9808bfb987cf103c544315aba91e2612272 SHA1 8f01afee117b8d2a3e3246b0c3e0b77cfe0c026d SHA256 74aafa1968dc676c25d7257b372d80caf91d1d738079f939f4af4edd94e63020 SHA512 9d83e6e42f9b85713efe765fef3c0a533f4c72f51cda0dd5fa0535cac96effb7a0986bacfe24d32632c03422aa354e40da0d7c19d8135789145f05b9703d8f0d +SLACK-REQUIRED slack-required 90 MD5 44cb3efdacfc2a1758d7577901e098d9 RMD160 73bd988d38da9aaf77f37db5d7fbd2c3c82ccefa SHA1 d027e1fbe5b7398cfad6ca80777ad1124e87f779 SHA256 e87be5c6023111e87923ecea05d212d870daaaa52c636a32ac63b0bab0cf827f SHA512 d0b77584460a70b831e1778d61cddfe2e62a080b1cfd5dd650740ff6984e81c78bf30d4a22a80e3152c55bda61a2877bef4968639eed0bc92a1b9439ecd6fd18 +SLACKBUILD gst-plugins-base.SlackBuild 5298 MD5 1fea99c01421a8b476ea3636e9bb19c4 RMD160 31474fc9c6c92c5ec800dc7a7905a0781c0c9189 SHA1 a2402abbde37a760e209c31f56ebf043952899aa SHA256 e65fca5bcfe4331c6e15352a9378dad866160f6c5f3b6717a8dab2f861cb7f66 SHA512 b269fc097d9df549cc813c64678e567d49de545f8b1e3dace77dee9e223ef6df18cfeaab1131919f666b5022a49840876e538182ecaabe00301f23541ae1786a diff --git a/media/libs/gst-plugins-base/gst-plugins-base.SlackBuild b/media/libs/gst-plugins-base/gst-plugins-base.SlackBuild index 59b87fb1..b5c11717 100755 --- a/media/libs/gst-plugins-base/gst-plugins-base.SlackBuild +++ b/media/libs/gst-plugins-base/gst-plugins-base.SlackBuild @@ -16,7 +16,8 @@ # # slackbuild for gst-plugins-base, by Rafael Diniz # requires: gstreamer -# tested: gst-plugins-base-0.10.19 +# tested: gst-plugins-base-0.10.22 +# model: generic.mkSlackBuild $Rev: 805 $ # # Look for slackbuildrc @@ -31,13 +32,14 @@ CWD="$(pwd)" SRC_NAME="gst-plugins-base" PKG_NAME="gst-plugins-base" ARCH=${ARCH:=i486} -SRC_VERSION=${VERSION:=0.10.19} +SRC_VERSION=${VERSION:=0.10.22} 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-base"} 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 |