qt6-translations: fix cross compiling
This commit is contained in:
parent
e075cf6789
commit
b0d4643aa2
@ -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 <me@johnnynator.dev>"
|
||||
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 ..
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user