mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
kconfig: bump version
This commit is contained in:
@@ -15,11 +15,11 @@ KConfigGui provides a way to hook widgets to the configuration so that they \
|
||||
are automatically initialized from the configuration and automatically \
|
||||
propagate their changes to their respective configuration files."
|
||||
HOMEPAGE="https://github.com/KDE/kconfig/"
|
||||
COPYRIGHT="2010-2021 KDE Organisation"
|
||||
COPYRIGHT="2010-2022 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kconfig/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="920c5ee76a082849b04c3cb0d6aa545aa0de30a98c0c62c29ee10cae86a0916a"
|
||||
CHECKSUM_SHA256="2a680ac032761cb666239ca74da9dbfa38cbbfbd54155ca715d278b89f149afd"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -30,6 +30,7 @@ PROVIDES="
|
||||
cmd:kwriteconfig5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix = $portVersion compat >= 5
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix = $portVersion compat >= 5
|
||||
lib:libKF5ConfigQml$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -42,6 +43,7 @@ PROVIDES_devel="
|
||||
kconfig${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix = $portVersion compat >= 5
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix = $portVersion compat >= 5
|
||||
devel:libKF5ConfigQml$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kconfig$secondaryArchSuffix == $portVersion base
|
||||
@@ -50,7 +52,7 @@ REQUIRES_devel="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
@@ -59,6 +61,11 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
@@ -68,6 +75,7 @@ BUILD()
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -78,7 +86,8 @@ INSTALL()
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5ConfigCore \
|
||||
libKF5ConfigGui
|
||||
libKF5ConfigGui \
|
||||
libKF5ConfigQml
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user