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-2026 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kiconthemes-${portVersion}.tar.xz" CHECKSUM_SHA256="f68f0d810a53ec589fbbc0b05d3754e2bd26e0b7c3ceb3938698b08702ae10d5" 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:libKF6BreezeIcons$secondaryArchSuffix lib:libKF6ColorScheme$secondaryArchSuffix lib:libKF6ConfigCore$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 " ARCHITECTURES_doc="any" PROVIDES_doc=" kiconthemes6_doc = $portVersion " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion qt6_tools${secondaryArchSuffix}_devel devel:libKF6Archive$secondaryArchSuffix >= $libVersion devel:libKF6BreezeIcons$secondaryArchSuffix >= $libVersion devel:libKF6ColorScheme$secondaryArchSuffix >= $libVersion devel:libKF6ConfigCore$secondaryArchSuffix >= $libVersion devel:libKF6I18n$secondaryArchSuffix >= $libVersion devel:libKF6WidgetsAddons$secondaryArchSuffix >= $libVersion devel:libQt6Core$secondaryArchSuffix devel:libQt6Gui$secondaryArchSuffix devel:libQt6Qml$secondaryArchSuffix devel:libQt6Svg$secondaryArchSuffix devel:libQt6Widgets$secondaryArchSuffix devel:libQt6Xml$secondaryArchSuffix " BUILD_PREREQUIRES=" kde_qdoc_common cmd:cmake cmd:g++$secondaryArchSuffix cmd:make cmd:msgfmt$secondaryArchSuffix cmd:msgmerge$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix " TEST_REQUIRES=" qthaikuplugins$secondaryArchSuffix " BUILD() { export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ $cmakeDirArgs \ -DCMAKE_SKIP_RPATH=YES \ -DBUILD_TESTING=OFF \ -Wno-dev make -C build $jobArgs cmake --build build --target prepare_docs cmake --build build --target generate_docs cmake --build build --target generate_qch } INSTALL() { make -C build install # cmake --build build --target install_html_docs cmake --build build --target install_qch_docs prepareInstalledDevelLibs \ libKF6IconThemes \ libKF6IconWidgets packageEntries devel \ $developDir \ $libDir/cmake packageEntries doc \ $documentationDir } TEST() { # 63% tests passed, 3 tests failed out of 8 export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}" ctest --test-dir build --output-on-failure }