mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
kde-frameworks: bump to 5.47.0
This commit is contained in:
93
kde-frameworks/kconfig/kconfig-5.47.0.recipe
Normal file
93
kde-frameworks/kconfig/kconfig-5.47.0.recipe
Normal file
@@ -0,0 +1,93 @@
|
||||
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-2018 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kconfig/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6d9a6d81369b968c7b61c809a77102db62b479e2ca4e2d345c2308b31998edef"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
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="
|
||||
extra_cmake_modules >= 5.46
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-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
|
||||
}
|
||||
Reference in New Issue
Block a user