diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-12-04 10:46:02 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-05 07:58:28 +0700 |
commit | a7ea8ce7cfefd9b32c120dfbf9d5e8ab225dc63a (patch) | |
tree | 654eb67a1d8123ddb82830c236995cc53caabe2a /multimedia | |
parent | e8ef480f143ba5438dd86d2035e23d675f0595f4 (diff) |
multimedia/pitivi: Updated for version 0.95.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/pitivi/pitivi.SlackBuild | 24 | ||||
-rw-r--r-- | multimedia/pitivi/pitivi.info | 10 |
2 files changed, 19 insertions, 15 deletions
diff --git a/multimedia/pitivi/pitivi.SlackBuild b/multimedia/pitivi/pitivi.SlackBuild index 387acf9bc1e83..0b64064583820 100644 --- a/multimedia/pitivi/pitivi.SlackBuild +++ b/multimedia/pitivi/pitivi.SlackBuild @@ -1,5 +1,4 @@ #!/bin/sh - # Slackware build script for PiTiVi # Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com @@ -25,9 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pitivi -VERSION=${VERSION:-0.94_beta} -SRCVERSION=${SRCVERSION:-0.94} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.95} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -43,22 +41,28 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" - SRCARCH=x86 elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" - SRCARCH=x86 elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - SRCARCH=x86_64 else SLKCFLAGS="-O2" LIBDIRSUFFIX="" +fi + +if [ `getconf LONG_BIT` = "32" ]; then SRCARCH=x86 +elif [ `getconf LONG_BIT` = "64" ]; then + SRCARCH=x86_64 +else + echo "Your architecture is not supported." + exit 1 fi set -eu @@ -69,10 +73,10 @@ mkdir -p $TMP/$PRGNAM-$VERSION/ mkdir -p $PKG/opt/$PRGNAM/ mkdir -p $PKG/usr/bin/ cd $TMP/$PRGNAM-$VERSION/ -tar xpvf $CWD/${PRGNAM}-${SRCVERSION}-beta-${SRCARCH}.tar.xz +tar xpvf $CWD/${PRGNAM}-${VERSION}-beta-${SRCARCH}.tar.xz -cp -av ${PRGNAM}-${SRCVERSION}-${SRCARCH} $PKG/opt/$PRGNAM/ -ln -sf ../../opt/${PRGNAM}/${PRGNAM}-${SRCVERSION}-${SRCARCH} $PKG/usr/bin/${PRGNAM} +cp -av ${PRGNAM}-${VERSION}-${SRCARCH} $PKG/opt/$PRGNAM/ +ln -sf ../../opt/${PRGNAM}/${PRGNAM}-${VERSION}-${SRCARCH} $PKG/usr/bin/${PRGNAM} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/pitivi/pitivi.info b/multimedia/pitivi/pitivi.info index 7241cbb7cc73a..2b680b61a1c8f 100644 --- a/multimedia/pitivi/pitivi.info +++ b/multimedia/pitivi/pitivi.info @@ -1,10 +1,10 @@ PRGNAM="pitivi" -VERSION="0.94-beta" +VERSION="0.95" HOMEPAGE="http://www.pitivi.org/" -DOWNLOAD="http://pitivi.ecchi.ca/bundles/releases/pitivi-0.94-beta-x86.tar.xz" -MD5SUM="7fb7478b4e4ac85c8cbeeea86e841e6f" -DOWNLOAD_x86_64="http://pitivi.ecchi.ca/bundles/releases/pitivi-0.94-beta-x86_64.tar.xz" -MD5SUM_x86_64="2d3b22956b5f3eb574dc86576750967b" +DOWNLOAD="http://pitivi.ecchi.ca/bundles/releases/pitivi-0.95-beta-x86.tar.xz" +MD5SUM="5f894e477f845cc13393101b8eb5d09b" +DOWNLOAD_x86_64="http://pitivi.ecchi.ca/bundles/releases/pitivi-0.95-beta-x86_64.tar.xz" +MD5SUM_x86_64="ec0d0d85eca47234309da63fd23770f1" REQUIRES="" MAINTAINER="Ryan P.C. McQuen" EMAIL="ryan.q@linux.com" |