multimedia/aom: Updated for version 2.0.0.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Strong 2020-05-30 01:15:05 +01:00 committed by Willy Sudiarto Raharjo
parent 3039395eec
commit 38dee70ccd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 9 additions and 20 deletions

View file

@ -5,4 +5,3 @@ VP9 and also to eventually be a competitor with HEVC/H.265.
This script builds the encoder aomenc, the decoder aomdec as well
as shared libraries which can be utilised by recent versions of
both FFmpeg and vlc.

View file

@ -25,9 +25,8 @@
PRGNAM=aom
# Git repository was tagged for release 2.0.0 but the downloadable archive
# has the git commit in the filename, some adjustments therefore required
# for a sane Slackware build:
# The 'official' archive for the aom 2.0.0 release has the git commit in
# the filename, so adjustments are required for a sane Slackware build:
VERSION=${VERSION:-2.0.0}
GITCOMMIT=${GITCOMMIT:-bb35ba9148543f22ba7d8642e4fbd29ae301f5dc}
BUILD=${BUILD:-1}
@ -63,20 +62,11 @@ fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $TMP/$PRGNAM-$VERSION
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
# Browser download and wget download will have a different filename.
# Note as well the need to specify a suitable output folder name,
# otherwise the extracted aom files are simply scattered across $TMP:
rm -rf $PRGNAM
if [ -e $CWD/$PRGNAM-$GITCOMMIT.tar.gz ]; then
tar xvf $CWD/$PRGNAM-$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION
else
tar xvf $CWD/$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION
fi
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -105,7 +95,7 @@ cd build
-DENABLE_DOCS=OFF \
-DBUILD_SHARED_LIBS=ON \
../
make
make -j1
make install DESTDIR=$PKG
cd ..

View file

@ -1,8 +1,8 @@
PRGNAM="aom"
VERSION="2.0.0"
HOMEPAGE="https://aomedia.googlesource.com/aom"
DOWNLOAD="https://aomedia.googlesource.com/aom/+archive/bb35ba9148543f22ba7d8642e4fbd29ae301f5dc.tar.gz"
MD5SUM="0b6d82f4b0f56c198e400ad829b27bba"
DOWNLOAD="http://www.andrews-corner.org/downloads/aom-bb35ba9148543f22ba7d8642e4fbd29ae301f5dc.tar.gz"
MD5SUM="ebca14bf0ef8843cf89fb8cbbab7b6ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""