aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-11-25 23:36:09 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-26 09:11:47 +0700
commitbc89e8e4e81856d0468c4b4fc4f43dd5c905f42e (patch)
tree8a995a07a594120ea92b68d3433f9f78a23906b4 /multimedia
parent24c71917f89d978de3f40d9bd7e3aafb3af447b0 (diff)
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>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/svt-av1/svt-av1.SlackBuild9
-rw-r--r--multimedia/svt-av1/svt-av1.info4
2 files changed, 6 insertions, 7 deletions
diff --git a/multimedia/svt-av1/svt-av1.SlackBuild b/multimedia/svt-av1/svt-av1.SlackBuild
index 7587304a3b5b6..f57db7f5ab1c9 100644
--- a/multimedia/svt-av1/svt-av1.SlackBuild
+++ b/multimedia/svt-av1/svt-av1.SlackBuild
@@ -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} \
diff --git a/multimedia/svt-av1/svt-av1.info b/multimedia/svt-av1/svt-av1.info
index 5621e30ce27e5..cead7f1a77c3b 100644
--- a/multimedia/svt-av1/svt-av1.info
+++ b/multimedia/svt-av1/svt-av1.info
@@ -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=""