From cd847bbff86418a47f1662077458bbd9bcccbfe9 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 4 May 2024 12:43:43 +0200 Subject: [PATCH] knotifications, move qml files to the right place (#10420) --- .../knotifications-5.115.0.recipe | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/kde-frameworks/knotifications/knotifications-5.115.0.recipe b/kde-frameworks/knotifications/knotifications-5.115.0.recipe index 6448d3ed0..a8ba69099 100644 --- a/kde-frameworks/knotifications/knotifications-5.115.0.recipe +++ b/kde-frameworks/knotifications/knotifications-5.115.0.recipe @@ -4,7 +4,7 @@ It covers feedback and persistent events." HOMEPAGE="https://invent.kde.org/frameworks/knotifications/" COPYRIGHT="2010-2024 KDE Organisation" LICENSE="GNU LGPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/knotifications-${portVersion}.tar.xz" CHECKSUM_SHA256="fb8271ffbbbb570949326eb28ccfe3fe36d97be4b07172b8992a546791570642" @@ -60,30 +60,21 @@ BUILD_PREREQUIRES=" cmd:make " -PATCH() -{ - sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml -} - BUILD() { - mkdir -p build - cd build - - cmake .. $cmakeDirArgs \ + cmake -Bbuild -S. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ + -DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake - - make $jobArgs + make -C build $jobArgs } INSTALL() { - cd build - make install + make -C build install - prepareInstalledDevelLibs \ + prepareInstalledDevelLib \ libKF5Notifications packageEntries devel \ @@ -94,6 +85,5 @@ INSTALL() TEST() { - cd build - make test + make -C build test }