diff options
Diffstat (limited to 'libraries/libavif/libavif.SlackBuild')
-rw-r--r-- | libraries/libavif/libavif.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/libraries/libavif/libavif.SlackBuild b/libraries/libavif/libavif.SlackBuild index 3318970932..a303ed44d5 100644 --- a/libraries/libavif/libavif.SlackBuild +++ b/libraries/libavif/libavif.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libavif -# 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,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libavif -VERSION=${VERSION:-20230512_94352e0} +VERSION=${VERSION:-1.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -GITNAM=${GITNAM:-94352e0e203aaeec8427882c66f37f75d7391139} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,9 +38,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -72,9 +68,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -rm -rf $PRGNAM-$GITNAM -tar xvf $CWD/$PRGNAM-$GITNAM.tar.gz -cd $PRGNAM-$GITNAM +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -82,7 +77,7 @@ 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 {} \; -cmake -B build -S $TMP/$PRGNAM-$GITNAM \ +cmake -B build -S $TMP/$PRGNAM-$VERSION \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DBUILD_SHARED_LIBS:BOOL=ON \ @@ -98,6 +93,7 @@ cmake -B build -S $TMP/$PRGNAM-$GITNAM \ -DAVIF_BUILD_APPS:BOOL=ON \ -DAVIF_BUILD_TESTS:BOOL=OFF \ -DAVIF_ENABLE_GTEST:BOOL=OFF \ + -DAVIF_ENABLE_COVERAGE:BOOL=OFF \ -DAVIF_BUILD_MAN_PAGES:BOOL=OFF \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \ |