summaryrefslogtreecommitdiffstats
path: root/libraries/libavif
diff options
context:
space:
mode:
author Vijay Marcel <vijaymarcel@outlook.com>2024-02-07 06:30:00 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-10 16:09:43 +0700
commit11f395bcddcb99893ef51435d071a255d4e3864e (patch)
tree7af62b4e58253b056155bfde98a6307c525cfdde /libraries/libavif
parentc3f9776555030b6fb7bf56644396eaf2043e4f6e (diff)
downloadslackbuilds-11f395bcddcb99893ef51435d071a255d4e3864e.tar.gz
slackbuilds-11f395bcddcb99893ef51435d071a255d4e3864e.tar.xz
libraries/libavif: Updated for version 1.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libavif')
-rw-r--r--libraries/libavif/changelog4
-rw-r--r--libraries/libavif/libavif.SlackBuild16
-rw-r--r--libraries/libavif/libavif.info6
3 files changed, 13 insertions, 13 deletions
diff --git a/libraries/libavif/changelog b/libraries/libavif/changelog
index 91ed097c28..f92f32b749 100644
--- a/libraries/libavif/changelog
+++ b/libraries/libavif/changelog
@@ -31,3 +31,7 @@ hence pandoc will now be an optional dependency for all
architectures. Gtest needs to be installed if want to build
test during compile time, by default this is turned off.
+06/02/2024:
+
+Updated to version 1.0.3
+
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} \
diff --git a/libraries/libavif/libavif.info b/libraries/libavif/libavif.info
index 5fbbccd543..ad50898690 100644
--- a/libraries/libavif/libavif.info
+++ b/libraries/libavif/libavif.info
@@ -1,8 +1,8 @@
PRGNAM="libavif"
-VERSION="20230512_94352e0"
+VERSION="1.0.3"
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-DOWNLOAD="https://github.com/AOMediaCodec/libavif/archive/94352e0/libavif-94352e0e203aaeec8427882c66f37f75d7391139.tar.gz"
-MD5SUM="e47cc56b7b46021d71f01e09f442c5b5"
+DOWNLOAD="https://github.com/AOMediaCodec/libavif/archive/v1.0.3/libavif-1.0.3.tar.gz"
+MD5SUM="0cdf4e91089a8f6c1cff6a4110371212"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="aom dav1d svt-av1 libyuv"