kdelibs4support: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 16:52:16 +10:00
parent 12a0fd8d15
commit e7a4755628
2 changed files with 21 additions and 16 deletions

View File

@@ -14,11 +14,11 @@ KDELibs 4 Support framework are installed to the same location as \
KDELibs4Support, although it may be sufficient to set the KDEDIRS environment \
variable correctly."
HOMEPAGE="https://github.com/KDE/kdelibs4support/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kdelibs4support/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="a209f3c238e55bd87f632d065c05c91cfcd97188b50ed0f9306d6c625b2df1fd"
CHECKSUM_SHA256="50993143715399e8b06b745b391688ae465c465072ad3116705c0f1a349321dc"
PATCHES="kdelibs4support-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
@@ -124,32 +124,36 @@ BUILD_REQUIRES="
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion
devel:libKF5XmlGui$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5DBus$secondaryArchSuffix >= 5.7
devel:libQt5Gui$secondaryArchSuffix >= 5.7
devel:libQt5Network$secondaryArchSuffix >= 5.7
devel:libQt5PrintSupport$secondaryArchSuffix >= 5.7
devel:libQt5Svg$secondaryArchSuffix >= 5.7
devel:libQt5Test$secondaryArchSuffix >= 5.7
devel:libQt5Widgets$secondaryArchSuffix >= 5.7
devel:libQt5Xml$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
devel:libQt5DBus$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5PrintSupport$secondaryArchSuffix
devel:libQt5Svg$secondaryArchSuffix
devel:libQt5Test$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:perl
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
@@ -159,6 +163,7 @@ BUILD()
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt5 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DBUILD_TESTING:BOOL=OFF
make $jobArgs
}