From 24b30eff0fc1037262a2e8513d447f60eed644f2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 9 Oct 2018 19:51:15 +0200 Subject: extra/cmake: build without qt5 on i486 --- extra/cmake/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 extra/cmake/PKGBUILD (limited to 'extra/cmake') diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD new file mode 100644 index 00000000..2128d8f8 --- /dev/null +++ b/extra/cmake/PKGBUILD @@ -0,0 +1,11 @@ +# 486-specific +if [ "${CARCH}" = "i486" ]; then + # no Qt5 GUI + makedepends=(${makedepends[@]//qt5-base/}) + eval "$( + declare -f build | \ + sed ' + s/--qt-gui// + ' + )" +fi -- cgit v1.2.3-70-g09d2