mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
knotifications, move qml files to the right place (#10420)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user