diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-02-04 15:05:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-11 07:24:06 +0700 |
commit | a903fdc0e499eefcea6844443d1b0e6c0aebce9d (patch) | |
tree | 37e6edf8931ffc5d58b5b29b0ccb65f963787fb0 /multimedia | |
parent | ca3824114d95b70f299f42990addc00fef71d374 (diff) | |
download | slackbuilds-a903fdc0e499eefcea6844443d1b0e6c0aebce9d.tar.gz |
multimedia/opera-developer-ffmpeg-codecs: Fix build on x86.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild | 10 |
1 files changed, 5 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 7f6d9ff359..eaf8efb8ba 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:-57.0.2970.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -43,15 +43,15 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" - BITS="i386" + BITS="i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" - BITS="i386" + BITS="i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - BITS="amd64" + BITS="x86_64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -66,7 +66,7 @@ mkdir -p $TMP/$PRGNAM $PKG $OUTPUT cd $TMP/$PRGNAM mkdir -p $PRGNAM-${VERSION} -tar xvf $CWD/${PRGNAM}-${SRCVER}-${ARCH}.pkg.tar.xz \ +tar xvf $CWD/${PRGNAM}-${SRCVER}-${BITS}.pkg.tar.xz \ --exclude={.PKGINFO,.BUILDINFO,.MTREE} -C $PRGNAM-${VERSION} cd $PRGNAM-${VERSION} chown -R root:root . |