kitemviews, revbump, move qtdesigner plugin to the right place, cleanup (#10394)

This commit is contained in:
Schrijvers Luc
2024-05-01 11:24:43 +02:00
committed by GitHub
parent 37d46cd91a
commit 0e3deb3cf5

View File

@@ -5,7 +5,7 @@ flat and hierarchical lists."
HOMEPAGE="https://invent.kde.org/frameworks/kitemviews/"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kitemviews-${portVersion}.tar.xz"
CHECKSUM_SHA256="6e2e5bc2e5c5126b3cf3e52dcc2f26c349068c345c8825bbb7e7c11efe4565d9"
@@ -33,7 +33,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion
extra_cmake_modules$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
@@ -43,40 +43,30 @@ 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_QTPLUGINDIR=$addOnsDir/Qt5 \
-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 \
prepareInstalledDevelLib \
libKF5ItemViews
packageEntries devel \
$libDir/cmake \
$dataDir/Qt5/mkspecs \
$dataDir/Qt5 \
$developDir
}
TEST()
{
cd build
make test
make -Cbuild test
}