multimedia/svt-av1: Fix gitlab tag handling.

I've changed DOWNLOAD to actually download the tag correctly while
the previous URL resolved to a commit. The two yield tarballs with
different md5sums, but the exact same contents.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-11-25 23:36:09 +09:00 committed by Willy Sudiarto Raharjo
parent 24c71917f8
commit bc89e8e4e8
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 7 deletions

View File

@ -31,7 +31,6 @@ TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
DIR=${DIR:-SVT-AV1-v1.1.0}
GIT=${GIT:-6e87a1de98281840abebc030781780edd822bae5}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -74,9 +73,9 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ER
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $DIR-$GIT
rm -rf $DIR
tar xvf $CWD/$DIR.tar.gz
cd $DIR
chown -R root:root .
find -L . \
@ -90,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
export LDFLAGS+=' -Wl,-z,noexecstack'
cmake -B build -S $TMP/$DIR-$GIT \
cmake -B build -S $TMP/$DIR \
-DCMAKE_BUILD_TYPE:STRING=None \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \

View File

@ -1,8 +1,8 @@
PRGNAM="svt-av1"
VERSION="1.1.0"
HOMEPAGE="https://gitlab.com/AOMediaCodec/SVT-AV1/"
DOWNLOAD="https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.1.0/svt-av1-1.1.0.tar.gz"
MD5SUM="99819a8783169eeaaba3e494395c3d97"
DOWNLOAD="https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.1.0/SVT-AV1-v1.1.0.tar.gz"
MD5SUM="db2114b5c8f8d7eaeeee98c478b6e59c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""