summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-06-27 02:44:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-28 01:56:46 +0700
commit1df5eeecd4fca49836fb7276c45179bc612c0b21 (patch)
tree2d625ad6ef3d6cb21e8fe62be3b748b5d7fc2786
parent0e06193204c011ed4442a48ca235a2da0593be49 (diff)
downloadslackbuilds-1df5eeecd4fca49836fb7276c45179bc612c0b21.tar.gz
multimedia/opera-developer-ffmpeg-codecs: Only for x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
index e4fe8519e6..625d0edd71 100644
--- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
+++ b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM="opera-developer-ffmpeg-codecs"
VERSION=${VERSION:-60.0.3107.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -44,23 +44,27 @@ if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i686"
+ echo "This package is currently only available for 64bit."
+ exit 1
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i686"
+ echo "This package is currently only available for 64bit."
+ exit 1
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
BITS="x86_64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "Package for $(uname -m) architecture is not available."
+ exit 1
fi
-set -e
-
SRCVER=$VERSION-1
+set -e
+
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT