kpackage: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 14:23:43 +10:00
parent b87c183c7f
commit 1eacec1489

View File

@@ -3,11 +3,11 @@ DESCRIPTION="The KPackage framework lets the user install and load packages \
of non binary content such as scripted extensions or graphic assets, as if \
they were traditional plugins."
HOMEPAGE="https://github.com/KDE/kpackage/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kpackage/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="41c06f881eb9ba250b4a03103953f8768dae7558469e9a96152ccd2323931582"
CHECKSUM_SHA256="8bd8336ccbf3adffdceb93e91316bf5496db2a197e7b8c296bda379e3c2e8129"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -39,7 +39,7 @@ BUILD_REQUIRES="
devel:libKF5Archive$secondaryArchSuffix == $portVersion
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
devel:libKF5I18n$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
@@ -49,6 +49,11 @@ BUILD_PREREQUIRES="
cmd:python2
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -57,6 +62,7 @@ BUILD()
cmake .. $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}