diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2024-02-07 06:36:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-10 16:09:45 +0700 |
commit | 0ab09a2fbf8e1b6eab4f5cebb9f22e1d2f2886c5 (patch) | |
tree | dba85fab3b9a3548ae012b05b4553631f4b4e9a4 /multimedia/svt-av1/svt-av1.SlackBuild | |
parent | 9e8cd247cb6789167c9a8f379f1944d6bd92b166 (diff) |
multimedia/svt-av1: Updated for version 1.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/svt-av1/svt-av1.SlackBuild')
-rw-r--r-- | multimedia/svt-av1/svt-av1.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/multimedia/svt-av1/svt-av1.SlackBuild b/multimedia/svt-av1/svt-av1.SlackBuild index b6a2c52975ca5..d66709b419904 100644 --- a/multimedia/svt-av1/svt-av1.SlackBuild +++ b/multimedia/svt-av1/svt-av1.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for SVT-AV1 -# Copyright 2022-2023 Vijay Marcel +# Copyright 2022-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,11 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=svt-av1 -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -DIR=${DIR:-SVT-AV1-v1.5.0} +DIR=${DIR:-SVT-AV1-v1.8.0} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -57,9 +57,6 @@ else LIBDIRSUFFIX="" fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -82,13 +79,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ export LDFLAGS+=' -Wl,-z,noexecstack' - cmake -B build -S $TMP/$DIR \ - -DCMAKE_BUILD_TYPE:STRING=None \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \ -Wno-dev |