kwindowsystem: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 12:31:21 +10:00
parent 466fd8a18f
commit 389773ac14

View File

@@ -11,11 +11,11 @@ on all windowing systems.
In addition to the high level API, this framework also provides several \ In addition to the high level API, this framework also provides several \
more low level classes for interaction with the X Windowing System." more low level classes for interaction with the X Windowing System."
HOMEPAGE="https://github.com/KDE/kwindowsystem/" HOMEPAGE="https://github.com/KDE/kwindowsystem/"
COPYRIGHT="2010-2021 KDE Organisation" COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2" LICENSE="GNU LGPL v2"
REVISION="1" REVISION="1"
SOURCE_URI="https://github.com/KDE/kwindowsystem/archive/v$portVersion.tar.gz" SOURCE_URI="https://github.com/KDE/kwindowsystem/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="4b8ab14dd996d370995590be8bcc9c2cfff28da01dc0e277fe54c305ebc7e14e" CHECKSUM_SHA256="691f56eade5e052986cf0861d12ded676e270a1b862d247904cc91f3dc1e1996"
ARCHITECTURES="all !x86_gcc2" ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86" SECONDARY_ARCHITECTURES="x86"
@@ -40,7 +40,7 @@ REQUIRES_devel="
BUILD_REQUIRES=" BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7 devel:libQt5Core$secondaryArchSuffix
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
cmd:cmake cmd:cmake
@@ -49,6 +49,11 @@ BUILD_PREREQUIRES="
cmd:make cmd:make
" "
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD() BUILD()
{ {
mkdir -p build mkdir -p build
@@ -59,6 +64,7 @@ BUILD()
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
-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 $jobArgs make $jobArgs
} }