kconfigwidgets: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 14:07:05 +10:00
parent 02fcaf5468
commit e1dcd5ec26

View File

@@ -3,11 +3,11 @@ DESCRIPTION="KConfigWidgets provides easy-to-use classes to create \
configuration dialogs, as well as a set of widgets which uses KConfig \
to store their settings."
HOMEPAGE="https://github.com/KDE/kconfigwidgets/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kconfigwidgets/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="43fbd2a4be2a67e33a01cf439f573c13a588bb2050dd9896aebe7c3dc2745b9e"
CHECKSUM_SHA256="3670a0440cee22c2ace4ee696b1778b43b09717e936e3ad709c2a901b870006d"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -50,7 +50,7 @@ BUILD_REQUIRES="
devel:libKF5GuiAddons$secondaryArchSuffix == $portVersion
devel:libKF5I18n$secondaryArchSuffix == $portVersion
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
@@ -60,12 +60,16 @@ BUILD_PREREQUIRES="
cmd:python2
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
# disable docs generation until libxml package is fixed
sed -e 's/add/#add/g' -i $sourceDir/docs/CMakeLists.txt
sed -e 's/kdoctools/#kdoctool/g' -i $sourceDir/CMakeLists.txt
}
BUILD()
{
# disable docs generation until libxml package is fixed
sed -i s/add/#add/g docs/CMakeLists.txt
sed -i s/kdoctools/#kdoctool/g CMakeLists.txt
mkdir -p build
cd build
@@ -73,6 +77,7 @@ BUILD()
-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}