SUMMARY="Persistent platform-independent application settings" DESCRIPTION="KConfig provides an advanced configuration system. It is made \ of two parts: KConfigCore and KConfigGui. KConfigCore provides access to the configuration files themselves. It features: * Code generation: describe your configuration in an XML file, and use \ kconfig_compiler to generate classes that read and write configuration \ entries. * Cascading configuration files (global settings overridden by local settings). * Optional shell expansion support (see [docs/options.md](@ref options)). * The ability to lock down configuration options (see [docs/options.md](@ref \ options)). KConfigGui provides a way to hook widgets to the configuration so that they \ are automatically initialized from the configuration and automatically \ propagate their changes to their respective configuration files." HOMEPAGE="https://github.com/KDE/kconfig/" COPYRIGHT="2010-2021 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/kconfig/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="920c5ee76a082849b04c3cb0d6aa545aa0de30a98c0c62c29ee10cae86a0916a" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" kconfig$secondaryArchSuffix = $portVersion cmd:kreadconfig5$secondaryArchSuffix = $portVersion cmd:kwriteconfig5$secondaryArchSuffix = $portVersion lib:libKF5ConfigCore$secondaryArchSuffix = $portVersion compat >= 5 lib:libKF5ConfigGui$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES=" haiku$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Xml$secondaryArchSuffix " PROVIDES_devel=" kconfig${secondaryArchSuffix}_devel = $portVersion devel:libKF5ConfigCore$secondaryArchSuffix = $portVersion compat >= 5 devel:libKF5ConfigGui$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES_devel=" kconfig$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion devel:libQt5Core$secondaryArchSuffix >= 5.7 " BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix cmd:lrelease$secondaryArchSuffix >= 5 cmd:make " BUILD() { mkdir -p build cd build cmake .. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake make $jobArgs } INSTALL() { cd build make install prepareInstalledDevelLibs \ libKF5ConfigCore \ libKF5ConfigGui fixPkgconfig packageEntries devel \ $libDir/cmake \ $dataDir/Qt5/mkspecs \ $developDir } TEST() { cd build make test }