mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
kunitconversion: bump version
This commit is contained in:
@@ -28,11 +28,11 @@ systems (e.g. liters, gallons). The following areas are supported:
|
||||
* Volume
|
||||
* Voltage"
|
||||
HOMEPAGE="https://github.com/KDE/kunitconversion/"
|
||||
COPYRIGHT="2010-2021 KDE Organisation"
|
||||
COPYRIGHT="2010-2022 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kunitconversion/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="74470dd4c5e605db7e73f68e40f8c1ab44ba5b0a6d96d1f292f409972771b3fb"
|
||||
CHECKSUM_SHA256="ab64fd31d2a319e5494c473a4b6909cf5947a7bade468b1207091f8dd3429006"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -61,9 +61,9 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libKF5I18n$secondaryArchSuffix == $portVersion
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Network$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Xml$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
@@ -72,6 +72,11 @@ BUILD_PREREQUIRES="
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
@@ -81,6 +86,7 @@ BUILD()
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user