mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Add KF6 frameworks, kiconthemes6 (#10492)
This commit is contained in:
124
kde-frameworks/kiconthemes/kiconthemes6-6.2.0.recipe
Normal file
124
kde-frameworks/kiconthemes/kiconthemes6-6.2.0.recipe
Normal file
@@ -0,0 +1,124 @@
|
||||
SUMMARY="Icon GUI utilities"
|
||||
DESCRIPTION="This library contains classes to improve the handling of icons \
|
||||
in applications using the KDE Frameworks. Provided are:
|
||||
|
||||
* KIconDialog: Dialog class to let the user select an icon from the list of \
|
||||
installed icons.
|
||||
* KIconButton: Custom button class that displays an icon. When clicking it, \
|
||||
the user can change it using the icon dialog.
|
||||
* KIconEffect: Applies various colorization effects to icons, which can be \
|
||||
used to create selected/disabled icon images.
|
||||
Other classes in this repository are used internally by the icon theme \
|
||||
configuration dialogs, and should not be used by applications."
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/kiconthemes"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kiconthemes-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="c0ffe65f53f59b75bf0432c4f57f7d36b6840c87f80e9ea5b88ceb71a28b5645"
|
||||
SOURCE_DIR="kiconthemes-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
kiconthemes6$secondaryArchSuffix = $portVersion
|
||||
cmd:kiconfinder6$secondaryArchSuffix = $portVersion
|
||||
lib:libKF6IconThemes$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libKF6IconWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libKF6Archive$secondaryArchSuffix
|
||||
lib:libKF6Codecs$secondaryArchSuffix
|
||||
lib:libKF6ColorScheme$secondaryArchSuffix
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
lib:libKF6ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6I18n$secondaryArchSuffix
|
||||
lib:libKF6WidgetsAddons$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Svg$secondaryArchSuffix
|
||||
lib:libQt6Widgets$secondaryArchSuffix
|
||||
lib:libQt6Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kiconthemes6${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF6IconThemes$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libKF6IconWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kiconthemes6$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
qt6_tools${secondaryArchSuffix}_devel
|
||||
devel:libKF6Archive$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Codecs$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ColorScheme$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ConfigCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ConfigWidgets$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6CoreAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6I18n$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6WidgetsAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Gui$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
devel:libQt6Svg$secondaryArchSuffix
|
||||
devel:libQt6Widgets$secondaryArchSuffix
|
||||
devel:libQt6Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:dot
|
||||
cmd:doxygen >= 1.9
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
qthaikuplugins$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBUILD_QCH=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-Wno-dev
|
||||
make -Cbuild $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -Cbuild install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF6IconThemes \
|
||||
libKF6IconWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$dataDir/doc \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
# 67% tests passed, 3 tests failed out of 9
|
||||
export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}"
|
||||
make -Cbuild test
|
||||
}
|
||||
Reference in New Issue
Block a user