summaryrefslogtreecommitdiffstats
path: root/deps/qt-gstreamer/qt-gstreamer.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-04-30 14:36:34 +0200
committer Eric Hameleers <alien@slackware.com>2015-04-30 14:36:34 +0200
commit90d77e6eacf554de433018b46668bd0d2456bd87 (patch)
treebd1b9c0e9e779d8e71573bf7c76c713b2db629d2 /deps/qt-gstreamer/qt-gstreamer.SlackBuild
parent1779760b06f6e99ddb51596138185ace3c71b229 (diff)
downloadktown-90d77e6eacf554de433018b46668bd0d2456bd87.tar.gz
ktown-90d77e6eacf554de433018b46668bd0d2456bd87.tar.xz
Refreshed all remaining deps for KDE 5_15.04.
Diffstat (limited to '')
-rwxr-xr-xdeps/qt-gstreamer/qt-gstreamer.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/deps/qt-gstreamer/qt-gstreamer.SlackBuild b/deps/qt-gstreamer/qt-gstreamer.SlackBuild
index e75f55d..91950df 100755
--- a/deps/qt-gstreamer/qt-gstreamer.SlackBuild
+++ b/deps/qt-gstreamer/qt-gstreamer.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2014 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2014, 2015 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2014, 2015 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
@@ -23,20 +23,21 @@
PKGNAM=qt-gstreamer
-VERSION=${VERSION:-0.10.3}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:--j7}
# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i486 ;;
- arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7lh ;;
+ case "$MARCH" in
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$(uname -m) ;;
+ *) export ARCH=$MARCH ;;
esac
- export ARCH
fi
if [ "$ARCH" = "i486" ]; then
@@ -118,7 +119,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz