kimageformats: bump version

This commit is contained in:
Gerasim Troeglazov
2024-03-02 13:37:03 +10:00
parent f9cd171cde
commit ddf8c2c996

View File

@@ -2,12 +2,12 @@ SUMMARY="Plugins to allow QImage to support extra file formats"
DESCRIPTION="This framework provides additional image format plugins for QtGui. \
As such it is not required for the compilation of any other software, but may \
be a runtime requirement for Qt-based software to support certain image formats."
HOMEPAGE="https://github.com/KDE/kimageformats/"
COPYRIGHT="2010-2022 KDE Organisation"
HOMEPAGE="https://invent.kde.org/frameworks/kimageformats/"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kimageformats/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="4445ba4f394169e183be6ffbf0acf428f90e86148c763eccbfd2c3e1b1eb6c07"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kimageformats-${portVersion}.tar.xz"
CHECKSUM_SHA256="9f61020d66f86b8b10bce14e42a39c5e8fd8e40ec9e6ca8b9e9b5ce3e1aa7283"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -17,21 +17,32 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libavif$secondaryArchSuffix
# lib:libjxl$secondaryArchSuffix
lib:liblcms2$secondaryArchSuffix
lib:libKF5Archive$secondaryArchSuffix
lib:libKF5ConfigCore$secondaryArchSuffix
lib:libKF5CoreAddons$secondaryArchSuffix
lib:libKF5KIOCore$secondaryArchSuffix
lib:libOpenEXR_3_0$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libraw$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libavif$secondaryArchSuffix >= 16
# devel:libjxl$secondaryArchSuffix
devel:liblcms2$secondaryArchSuffix
devel:libKF5Archive$secondaryArchSuffix == $portVersion
devel:libKF5ConfigCore$secondaryArchSuffix == $portVersion
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
devel:libKF5KIOCore$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix
devel:libraw$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
@@ -45,7 +56,6 @@ BUILD_PREREQUIRES="
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
sed -e '/find_package(libavif 0.8.2 CONFIG)/ s/^#*/#/' -i $sourceDir/CMakeLists.txt
}
BUILD()