mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
KDE frameworks, bump to 6.25.0 part6 (#13944)
This commit is contained in:
92
kde-frameworks/kimageformats/kimageformats6-6.25.0.recipe
Normal file
92
kde-frameworks/kimageformats/kimageformats6-6.25.0.recipe
Normal file
@@ -0,0 +1,92 @@
|
||||
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://invent.kde.org/frameworks/kimageformats"
|
||||
COPYRIGHT="2010-2026 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kimageformats-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="dfa0e9b16a288a8f94233afcbaffc87c1c5ddc037aca643943aab5a67685f26b"
|
||||
SOURCE_DIR="kimageformats-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
|
||||
PROVIDES="
|
||||
kimageformats6$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libavif$secondaryArchSuffix
|
||||
lib:libheif$secondaryArchSuffix
|
||||
lib:libjxl$secondaryArchSuffix
|
||||
lib:liblcms2$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libKF6Archive$secondaryArchSuffix
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6KIOCore$secondaryArchSuffix
|
||||
lib:libOpenEXR_3_2$secondaryArchSuffix
|
||||
lib:libopenjp2$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libraw$secondaryArchSuffix
|
||||
lib:libsharpyuv$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libavif$secondaryArchSuffix >= 16
|
||||
devel:libbrotlienc$secondaryArchSuffix
|
||||
devel:libheif$secondaryArchSuffix
|
||||
devel:libhwy$secondaryArchSuffix
|
||||
devel:libImath_3_1$secondaryArchSuffix
|
||||
devel:libjxl$secondaryArchSuffix >= 0.11
|
||||
devel:liblcms2$secondaryArchSuffix
|
||||
devel:libKF6Archive$secondaryArchSuffix >= $libVersion
|
||||
devel:libOpenEXR_3_2$secondaryArchSuffix
|
||||
devel:libOpenEXRUtil_3_2$secondaryArchSuffix
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libraw$secondaryArchSuffix >= 24
|
||||
devel:libsharpyuv$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:msgfmt$secondaryArchSuffix
|
||||
cmd:msgmerge$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
qthaikuplugins
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DCMAKE_SKIP_RPATH=YES \
|
||||
-DKIMAGEFORMATS_HEIF=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-Wno-dev
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
# 91% tests passed, 2 tests failed out of 22
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
Reference in New Issue
Block a user