mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
kdesignerplugin: bump version
This commit is contained in:
@@ -4,11 +4,11 @@ display the widgets provided by various KDE frameworks, as well as a utility \
|
||||
(kgendesignerplugin) that can be used to generate other such plugins from \
|
||||
ini-style description files."
|
||||
HOMEPAGE="https://github.com/KDE/kdesignerplugin/"
|
||||
COPYRIGHT="2010-2021 KDE Organisation"
|
||||
COPYRIGHT="2010-2022 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kdesignerplugin/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="14447805b26b7bd53ec6c8699b791ea6b0caf4f3846d9c85d7582530cb8566fd"
|
||||
CHECKSUM_SHA256="3caa2bd4f7a0834bc142b575e378460d3ae46c55a10dd28d4a30193b81b37fa2"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -62,21 +62,25 @@ BUILD_REQUIRES="
|
||||
devel:libkf5textwidgets$secondaryArchSuffix == $portVersion
|
||||
devel:libkf5widgetsaddons$secondaryArchSuffix == $portVersion
|
||||
devel:libkf5xmlgui$secondaryArchSuffix == $portVersion
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
@@ -85,6 +89,7 @@ BUILD()
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user