kholidays, revbump, put qml files in the right place (#10421)

This commit is contained in:
Schrijvers Luc
2024-05-04 13:05:13 +02:00
committed by GitHub
parent cd847bbff8
commit 1184189dfa

View File

@@ -4,7 +4,7 @@ other special events for a geographical region."
HOMEPAGE="https://invent.kde.org/frameworks/kholidays/"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kholidays-${portVersion}.tar.xz"
CHECKSUM_SHA256="cdf0d732cf0fa85971961803f0d1be5a78f3f45536fc7c22231b953349b641a4"
@@ -46,28 +46,19 @@ 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 -Cbuild $jobArgs
}
INSTALL()
{
cd build
make install
make -Cbuild install
prepareInstalledDevelLibs \
libKF5Holidays
@@ -82,6 +73,5 @@ INSTALL()
TEST()
{
cd build
make test
make -Cbuild test
}