solid: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 12:37:57 +10:00
parent 389773ac14
commit 6c9e45e623
2 changed files with 9 additions and 3 deletions

View File

@@ -9,11 +9,11 @@ It provides the following features for application developers:
* Power Management
* Network Management"
HOMEPAGE="https://github.com/KDE/solid/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/solid/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="ace8ac9da7cf8b437ca273e0a971534733dad3497ad0b30545f4e840f6e7dcb5"
CHECKSUM_SHA256="31cc677f69a4b63852efb1d17d38540262b469315cff61494440c3029038df60"
PATCHES="solid-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
@@ -44,7 +44,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:bison
@@ -55,6 +55,11 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -65,6 +70,7 @@ BUILD()
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}