SUMMARY="Integration of Qt application with KDE workspaces" DESCRIPTION="Framework Integration is a set of plugins responsible for better integration of \ Qt applications when running on a KDE Plasma workspace. Applications do not need to link to this directly." HOMEPAGE="https://invent.kde.org/frameworks/frameworkintegration" COPYRIGHT="2010-2025 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/frameworkintegration-$portVersion.tar.xz" CHECKSUM_SHA256="a0e3e2c5776b19e2de6273893f0c927ef7eadea86a6301f21e18377cb75907fc" SOURCE_DIR="frameworkintegration-$portVersion" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="$portVersion" libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" frameworkintegration6$secondaryArchSuffix = $portVersion lib:libKF6Style$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix lib:libGL$secondaryArchSuffix lib:libKF6ColorScheme$secondaryArchSuffix lib:libKF6ConfigCore$secondaryArchSuffix lib:libKF6IconThemes$secondaryArchSuffix lib:libKF6WidgetsAddons$secondaryArchSuffix lib:libQt6Core$secondaryArchSuffix lib:libQt6Gui$secondaryArchSuffix lib:libQt6Widgets$secondaryArchSuffix " PROVIDES_devel=" frameworkintegration6${secondaryArchSuffix}_devel = $portVersion devel:libKF6Style$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" frameworkintegration6$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel # appstream_qt6$secondaryArchSuffix extra_cmake_modules$secondaryArchSuffix == $portVersion qt6_tools${secondaryArchSuffix}_devel devel:libKF6Attica$secondaryArchSuffix == $libVersion devel:libKF6ColorScheme$secondaryArchSuffix == $libVersion devel:libKF6ConfigCore$secondaryArchSuffix == $libVersion devel:libKF6CoreAddons$secondaryArchSuffix == $libVersion devel:libKF6I18n$secondaryArchSuffix == $libVersion devel:libKF6IconThemes$secondaryArchSuffix == $libVersion devel:libKF6NewStuffCore$secondaryArchSuffix == $libVersion devel:libKF6Notifications$secondaryArchSuffix == $libVersion devel:libKF6Package$secondaryArchSuffix == $libVersion devel:libKF6WidgetsAddons$secondaryArchSuffix == $libVersion devel:libQt6Core$secondaryArchSuffix devel:libQt6Qml$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix cmd:make cmd:msgfmt$secondaryArchSuffix cmd:msgmerge$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix " TEST_REQUIRES=" qthaikuplugins$secondaryArchSuffix " BUILD() { cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ $cmakeDirArgs \ -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \ -DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \ -DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ -DCMAKE_SKIP_RPATH=YES \ -DBUILD_TESTING=OFF \ -Wno-dev make -C build $jobArgs } INSTALL() { make -C build install prepareInstalledDevelLib \ libKF6Style packageEntries devel \ $developDir \ $libDir/cmake } TEST() { export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}" ctest --test-dir build --output-on-failure }