kdoctools: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 13:17:05 +10:00
parent b2ecb6350c
commit 31e5c89111

View File

@@ -4,9 +4,9 @@ DocBook files."
HOMEPAGE="https://github.com/KDE/kdoctools/"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kdoctools/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="8d6af1a614785d2bf9bf90b95dd2cfcb7d35fd3947d2a4cd31e6d88f62f93f5f"
CHECKSUM_SHA256="6224af330dc18537734e1247672756595af9d12d7c3d03fb0882b6b63feb589c"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -42,7 +42,7 @@ BUILD_REQUIRES="
uri
devel:libKF5archive$secondaryArchSuffix == $portVersion
# devel:libKF5i18n$secondaryArchSuffix == $portVersion # breaks the build
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libxslt$secondaryArchSuffix
"
@@ -54,11 +54,15 @@ BUILD_PREREQUIRES="
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
}
BUILD()
{
# disable docs generation until libxml package is fixed
sed -i s/add/#add/g docs/CMakeLists.txt
mkdir -p build
cd build
@@ -68,6 +72,7 @@ BUILD()
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_INSTALL_DATAROOTDIR=data \
-DDocBookXSL_DIR=/system/data/xml/docbook/xsl-stylesheets-1.79.2
make $jobArgs
}