From b0d4643aa2032458c1f5aa2a0772fbe9b213892b Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sun, 23 Feb 2025 17:32:17 -0800 Subject: [PATCH] qt6-translations: fix cross compiling --- srcpkgs/qt6-translations/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/qt6-translations/template b/srcpkgs/qt6-translations/template index a4f96a5f6bc..4f2ba73c3c1 100644 --- a/srcpkgs/qt6-translations/template +++ b/srcpkgs/qt6-translations/template @@ -3,7 +3,8 @@ pkgname=qt6-translations version=6.8.2 revision=1 build_style=cmake -hostmakedepends="qt6-base-devel qt6-tools-devel perl" +hostmakedepends="qt6-base qt6-tools perl" +makedepends="qt6-base-devel qt6-tools-devel" short_desc="Cross-platform application and UI framework - translations" maintainer="John " license="GPL-3.0-only with Qt-GPL-exception-1.0" @@ -11,10 +12,7 @@ homepage="https://qt.io/" distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qttranslations-everywhere-src-${version}.tar.xz" checksum=d2106e8a580bfd77702c4c1840299288d344902b0e2c758ca813ea04c6d6a3d1 -do_configure() { +pre_configure() { rm -rf build mkdir build - cd build - unset CC CXX CFLAGS CXXFLAGS LD LDFLAGS - cmake -DCMAKE_BUILD_TYPE=None -GNinja .. }