diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-09 19:51:15 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-09 19:51:15 +0200 |
commit | 24b30eff0fc1037262a2e8513d447f60eed644f2 (patch) | |
tree | cc828528f3723a5f28838edfe89bd1b4805437cc | |
parent | 199d207fe287f9c15655f1b45732620b2a1b6f2f (diff) | |
download | packages-24b30eff0fc1037262a2e8513d447f60eed644f2.tar.xz |
extra/cmake: build without qt5 on i486
-rw-r--r-- | extra/cmake/PKGBUILD | 11 |
1 files changed, 11 insertions, 0 deletions
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 |