kirigami: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 21:12:57 +10:00
parent ef3ed8a73c
commit 980d5c23da

View File

@@ -10,7 +10,7 @@ COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kirigami/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="6f09333f93d1a1e2f0faaf1c4ac6ac2260d8ed5423f0dc7215829befe58ae7f7"
CHECKSUM_SHA256="3241ed055bee1dd06d2f58c076795271e83ae7415c60e8af5e99242e51fe8c2f"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -35,7 +35,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.15
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
@@ -44,10 +44,14 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
sed -e '/ecm_find_qmlmodule/ s/^#*/#/' -i $sourceDir/CMakeLists.txt
}
BUILD()
{
sed -e '/ecm_find_qmlmodule/ s/^#*/#/' -i CMakeLists.txt
mkdir -p build
cd build
@@ -58,6 +62,7 @@ BUILD()
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DBUILD_EXAMPLES=OFF \
-DDISABLE_DBUS=ON
make $jobArgs
}