diff options
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 |