From 44738a435d81ce0b2259836398fd6cb6d849aa1e Mon Sep 17 00:00:00 2001 From: John Date: Mon, 28 Jun 2021 13:54:27 +0200 Subject: [PATCH] kdoctoos: use qemu instead of depending on itself for cross builds Quick benchmarks show, that the build time doesn't get slower by using qemu, but it makes the template simpler by not having to specify additional configure_args and not having to potentially build kdoctools for the host when cross compiling --- srcpkgs/kdoctools/template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/kdoctools/template b/srcpkgs/kdoctools/template index ed2727a8e5..7d932fdb0b 100644 --- a/srcpkgs/kdoctools/template +++ b/srcpkgs/kdoctools/template @@ -3,11 +3,9 @@ pkgname=kdoctools version=5.83.0 revision=1 build_style=cmake -configure_args="-DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5 - -DCHECKXML5_EXECUTABLE=/usr/bin/checkXML5 - -DDOCBOOKL10NHELPER_EXECUTABLE=/usr/bin/docbookl10nhelper" +build_helper=qemu hostmakedepends="gettext kcoreaddons extra-cmake-modules perl perl-URI - qt5-host-tools qt5-qmake python kdoctools-devel" + qt5-host-tools qt5-qmake" makedepends="ki18n-devel karchive-devel libxml2-devel libxslt-devel docbook-xml docbook-xsl" depends="docbook-xml docbook-xsl"