From ad95a34f3bd0ec1cee87713d047a0e9e57635c31 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 30 May 2024 10:10:02 +0200 Subject: [PATCH] Add KF6 frameworks, qqc2_desktop_style6 (#10551) --- .../qqc2_desktop_style6-6.2.0.recipe | 120 ++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 kde-frameworks/qqc2-desktop-style/qqc2_desktop_style6-6.2.0.recipe diff --git a/kde-frameworks/qqc2-desktop-style/qqc2_desktop_style6-6.2.0.recipe b/kde-frameworks/qqc2-desktop-style/qqc2_desktop_style6-6.2.0.recipe new file mode 100644 index 000000000..22d84710b --- /dev/null +++ b/kde-frameworks/qqc2-desktop-style/qqc2_desktop_style6-6.2.0.recipe @@ -0,0 +1,120 @@ +SUMMARY="Style for QtQuickControls 2 that uses QWidget's QStyle for painting" +DESCRIPTION="This is a style for QtQuickControls 2 that uses QWidget's QStyle \ +for painting, making possible to achieve an higher deree of consistency between \ +QWidget-based and QML-based apps." +HOMEPAGE="https://invent.kde.org/frameworks/qqc2-desktop-style" +COPYRIGHT="2010-2023 KDE Organisation" +LICENSE="GNU LGPL v3 + GNU GPL v2" +REVISION="1" +SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/qqc2-desktop-style-${portVersion}.tar.xz" +CHECKSUM_SHA256="b8ed270d930aad05eadf1ec5a540870f1128d8c728d8616c40801d6980869b1c" +SOURCE_DIR="qqc2-desktop-style-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + qqc2_desktop_style6$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libKF6Archive$secondaryArchSuffix + lib:libKF6Codecs$secondaryArchSuffix + lib:libKF6ColorScheme$secondaryArchSuffix + lib:libKF6ConfigCore$secondaryArchSuffix + lib:libKF6ConfigGui$secondaryArchSuffix + lib:libKF6ConfigWidgets$secondaryArchSuffix + lib:libKF6Completion$secondaryArchSuffix + lib:libKF6CoreAddons$secondaryArchSuffix + lib:libKF6GlobalAccel$secondaryArchSuffix + lib:libKF6GuiAddons$secondaryArchSuffix + lib:libKF6I18n$secondaryArchSuffix + lib:libKF6IconThemes$secondaryArchSuffix + lib:libKF6ItemViews$secondaryArchSuffix + lib:libKF6JobWidgets$secondaryArchSuffix + lib:libKF6KIOCore$secondaryArchSuffix + lib:libKF6KIOGui$secondaryArchSuffix + lib:libKirigami$secondaryArchSuffix + lib:libKF6Notifications$secondaryArchSuffix + lib:libKF6Package$secondaryArchSuffix + lib:libKF6Service$secondaryArchSuffix + lib:libKF6WidgetsAddons$secondaryArchSuffix + lib:libKF6WindowSystem$secondaryArchSuffix + lib:libKF6XmlGui$secondaryArchSuffix + lib:libQt6Core$secondaryArchSuffix + lib:libQt6DBus$secondaryArchSuffix + lib:libQt6Gui$secondaryArchSuffix + lib:libQt6Network$secondaryArchSuffix + lib:libQt6Qml$secondaryArchSuffix + lib:libQt6Quick$secondaryArchSuffix + lib:libQt6QuickWidgets$secondaryArchSuffix + lib:libQt6Widgets$secondaryArchSuffix + lib:libQt6Xml$secondaryArchSuffix + " + +PROVIDES_devel=" + qqc2_desktop_style6${secondaryArchSuffix}_devel = $portVersion + " +REQUIRES_devel=" + qqc2_desktop_style6$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + qt6_tools${secondaryArchSuffix}_devel + extra_cmake_modules$secondaryArchSuffix >= $portVersion + devel:libKF6Archive$secondaryArchSuffix == $portVersion + devel:libKF6Bookmarks$secondaryArchSuffix == $portVersion + devel:libKF6Codecs$secondaryArchSuffix == $portVersion + devel:libKF6ColorScheme$secondaryArchSuffix == $portVersion + devel:libKF6ConfigCore$secondaryArchSuffix == $portVersion + devel:libKF6ConfigWidgets$secondaryArchSuffix == $portVersion + devel:libKF6Completion$secondaryArchSuffix == $portVersion + devel:libKF6CoreAddons$secondaryArchSuffix == $portVersion + devel:libKF6GlobalAccel$secondaryArchSuffix == $portVersion + devel:libKF6GuiAddons$secondaryArchSuffix == $portVersion + devel:libKF6DBusAddons$secondaryArchSuffix == $portVersion + devel:libKF6I18n$secondaryArchSuffix == $portVersion + devel:libKF6Iconthemes$secondaryArchSuffix == $portVersion + devel:libKF6ItemViews$secondaryArchSuffix == $portVersion + devel:libKF6JobWidgets$secondaryArchSuffix == $portVersion + devel:libKF6KIOCore$secondaryArchSuffix == $portVersion + devel:libKirigami$secondaryArchSuffix == $portVersion + devel:libKF6Notifications$secondaryArchSuffix + devel:libKF6Package$secondaryArchSuffix == $portVersion + devel:libKF6Service$secondaryArchSuffix == $portVersion + devel:libKF6Solid$secondaryArchSuffix == $portVersion + devel:libKF6SonnetUi$secondaryArchSuffix == $portVersion + devel:libKF6WidgetsAddons$secondaryArchSuffix == $portVersion + devel:libKF6WindowSystem$secondaryArchSuffix == $portVersion + devel:libKF6XmlGui$secondaryArchSuffix == $portVersion + devel:libQt6Core$secondaryArchSuffix + devel:libQt6QuickControls2$secondaryArchSuffix + devel:libQt6QuickTemplates2$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + $cmakeDirArgs \ + -DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \ + -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \ + -DECM_DIR=/system/data/cmake/Modules/ECM/cmake + make -Cbuild $jobArgs +} + +INSTALL() +{ + make -Cbuild install + + packageEntries devel \ + $libDir/cmake +}