mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
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:
parent
3039395eec
commit
38dee70ccd
3 changed files with 9 additions and 20 deletions
|
@ -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
|
This script builds the encoder aomenc, the decoder aomdec as well
|
||||||
as shared libraries which can be utilised by recent versions of
|
as shared libraries which can be utilised by recent versions of
|
||||||
both FFmpeg and vlc.
|
both FFmpeg and vlc.
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
PRGNAM=aom
|
PRGNAM=aom
|
||||||
# Git repository was tagged for release 2.0.0 but the downloadable archive
|
# The 'official' archive for the aom 2.0.0 release has the git commit in
|
||||||
# has the git commit in the filename, some adjustments therefore required
|
# the filename, so adjustments are required for a sane Slackware build:
|
||||||
# for a sane Slackware build:
|
|
||||||
VERSION=${VERSION:-2.0.0}
|
VERSION=${VERSION:-2.0.0}
|
||||||
GITCOMMIT=${GITCOMMIT:-bb35ba9148543f22ba7d8642e4fbd29ae301f5dc}
|
GITCOMMIT=${GITCOMMIT:-bb35ba9148543f22ba7d8642e4fbd29ae301f5dc}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
|
@ -63,20 +62,11 @@ fi
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT $TMP/$PRGNAM-$VERSION
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
# Browser download and wget download will have a different filename.
|
mkdir -p $PRGNAM-$VERSION
|
||||||
# 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
|
tar xvf $CWD/$PRGNAM-$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION
|
||||||
else
|
|
||||||
tar xvf $CWD/$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
|
@ -105,7 +95,7 @@ cd build
|
||||||
-DENABLE_DOCS=OFF \
|
-DENABLE_DOCS=OFF \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
../
|
../
|
||||||
make
|
make -j1
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="aom"
|
PRGNAM="aom"
|
||||||
VERSION="2.0.0"
|
VERSION="2.0.0"
|
||||||
HOMEPAGE="https://aomedia.googlesource.com/aom"
|
HOMEPAGE="https://aomedia.googlesource.com/aom"
|
||||||
DOWNLOAD="https://aomedia.googlesource.com/aom/+archive/bb35ba9148543f22ba7d8642e4fbd29ae301f5dc.tar.gz"
|
DOWNLOAD="http://www.andrews-corner.org/downloads/aom-bb35ba9148543f22ba7d8642e4fbd29ae301f5dc.tar.gz"
|
||||||
MD5SUM="0b6d82f4b0f56c198e400ad829b27bba"
|
MD5SUM="ebca14bf0ef8843cf89fb8cbbab7b6ef"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue