libraries/qt-avif-image-plugin: Updated for version 0.8.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marek Šrejma 2024-02-22 21:39:43 +07:00 committed by Willy Sudiarto Raharjo
parent 0cde9de25d
commit df18b43429
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 15 additions and 19 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for qt-avif-image-plugin
# Copyright 2023 Marek Šrejma, <marek at modweb dot de>, Germany
# Copyright 2023-2024 Marek Šrejma, <marek at modweb dot de>, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qt-avif-image-plugin
VERSION=${VERSION:-0.7.0}
VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,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
@ -76,16 +73,15 @@ 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 {} \;
mkdir build
cd build
cmake \
cmake -B build -S $TMP/$PRGNAM-$VERSION \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release ..
-DCMAKE_BUILD_TYPE=Release
make
make install DESTDIR=$PKG QTDIR=$PKG/usr/lib$LIBDIRSUFFIX/qt5
cd ..
cmake --build build
DESTDIR=$PKG \
QTDIR=$PKG/usr/lib$LIBDIRSUFFIX/qt5 \
cmake --install build
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,8 +1,8 @@
PRGNAM="qt-avif-image-plugin"
VERSION="0.7.0"
VERSION="0.8.0"
HOMEPAGE="https://github.com/novomesk/qt-avif-image-plugin"
DOWNLOAD="https://github.com/novomesk/qt-avif-image-plugin/archive/refs/tags/v0.7.0/qt-avif-image-plugin-0.7.0.tar.gz"
MD5SUM="0cce2eb320bcecfb44782bcd21e208bc"
DOWNLOAD="https://github.com/novomesk/qt-avif-image-plugin/archive/refs/tags/v0.8.0/qt-avif-image-plugin-0.8.0.tar.gz"
MD5SUM="66c59fff3575362d088eb1520f1f9f80"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libavif"