From 3a1005c01ecd84de8f14c90ce0b0aa36465a8ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 26 Apr 2020 18:10:09 +0200 Subject: [PATCH] qtcreator: build for arm* w/o qt5-webengine Since our builders still try to build packages for 32bit arm* architectures in an x86_64 environment, they won't build qt5-webengine. Therefore make qtcreator-full depend on qt5-webeninge only for cases where it should be available. --- srcpkgs/qtcreator/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/qtcreator/template b/srcpkgs/qtcreator/template index 36b18042f8e..71831176d18 100644 --- a/srcpkgs/qtcreator/template +++ b/srcpkgs/qtcreator/template @@ -55,7 +55,8 @@ qtcreator-full_package() { qt5-x11extras-devel qt5-xmlpatterns-devel qt5-tools-devel qt5-host-tools qt5-examples qt5-imageformats qt5-graphicaleffects qt5-translations qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" - if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then + # Not for big endian targets and not if word sizes of host and target differ + if [ "$XBPS_TARGET_ENDIAN" = "le" -a "$XBPS_TARGET_WORDSIZE" == "$XBPS_WORDSIZE"]; then depends+=" qt5-webengine-devel" fi build_style=meta