knotifications, move qml files to the right place (#10420)

This commit is contained in:
Schrijvers Luc
2024-05-04 12:43:43 +02:00
committed by GitHub
parent 0cfc385c84
commit cd847bbff8

View File

@@ -4,7 +4,7 @@ It covers feedback and persistent events."
HOMEPAGE="https://invent.kde.org/frameworks/knotifications/" HOMEPAGE="https://invent.kde.org/frameworks/knotifications/"
COPYRIGHT="2010-2024 KDE Organisation" COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2" LICENSE="GNU LGPL v2"
REVISION="1" REVISION="2"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/knotifications-${portVersion}.tar.xz" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/knotifications-${portVersion}.tar.xz"
CHECKSUM_SHA256="fb8271ffbbbb570949326eb28ccfe3fe36d97be4b07172b8992a546791570642" CHECKSUM_SHA256="fb8271ffbbbb570949326eb28ccfe3fe36d97be4b07172b8992a546791570642"
@@ -60,30 +60,21 @@ BUILD_PREREQUIRES="
cmd:make cmd:make
" "
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD() BUILD()
{ {
mkdir -p build cmake -Bbuild -S. $cmakeDirArgs \
cd build
cmake .. $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake -DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make -C build $jobArgs
make $jobArgs
} }
INSTALL() INSTALL()
{ {
cd build make -C build install
make install
prepareInstalledDevelLibs \ prepareInstalledDevelLib \
libKF5Notifications libKF5Notifications
packageEntries devel \ packageEntries devel \
@@ -94,6 +85,5 @@ INSTALL()
TEST() TEST()
{ {
cd build make -C build test
make test
} }