mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add KF6 frameworks, kimageformats6 (#10537)
This commit is contained in:
78
kde-frameworks/kimageformats/kimageformats6-6.2.0.recipe
Normal file
78
kde-frameworks/kimageformats/kimageformats6-6.2.0.recipe
Normal file
@@ -0,0 +1,78 @@
|
||||
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-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kimageformats-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="9844219185f03fe7990aeae6ffbaa5f452b0f6c5053c8728bc87e97682643561"
|
||||
SOURCE_DIR="kimageformats-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kimageformats6$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libavif$secondaryArchSuffix
|
||||
# lib:libjxl$secondaryArchSuffix
|
||||
lib:liblcms2$secondaryArchSuffix
|
||||
lib:libKF6Archive$secondaryArchSuffix
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6KIOCore$secondaryArchSuffix
|
||||
lib:libOpenEXR_3_2$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libraw$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libavif$secondaryArchSuffix >= 16
|
||||
# devel:libbrotlicommon$secondaryArchSuffix
|
||||
# devel:libheif$secondaryArchSuffix
|
||||
# devel:libhwy$secondaryArchSuffix
|
||||
# devel:libjxl$secondaryArchSuffix
|
||||
devel:liblcms2$secondaryArchSuffix
|
||||
devel:libKF6Archive$secondaryArchSuffix == $portVersion
|
||||
devel:libOpenEXR_3_2$secondaryArchSuffix
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libraw$secondaryArchSuffix
|
||||
# devel:libtiff$secondaryArchSuffix >= 6
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
qthaikuplugins
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make -Cbuild $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -Cbuild install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make -Cbuild test
|
||||
}
|
||||
Reference in New Issue
Block a user