From a93605f5f7880437ae3f1deb84fa593eb1b1ed3e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Dec 2019 14:26:46 +0100 Subject: extra/hspell: no qt5-webengine on i486 --- extra/hspell/PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 extra/hspell/PKGBUILD (limited to 'extra') diff --git a/extra/hspell/PKGBUILD b/extra/hspell/PKGBUILD new file mode 100644 index 00000000..f1b372e9 --- /dev/null +++ b/extra/hspell/PKGBUILD @@ -0,0 +1,20 @@ +# no qt5-webengine on i486 +if makedepends_i686=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -xF qt5-webengine + ) +); then + makedepends_pentium4=("${makedepends_i686[@]}") + makedepends=(${makedepends[@]//qt5-webengine/}) +fi +eval "$( + declare -f package_hunspell-he \ + | sed ' + /^\s*install .*qtwebengine_dictionaries/ s/^/if [ "${CARCH}" != i486 ]; then / + /^\s*qwebengine_convert_dict / { + N + s/$/ ; fi; / + } + ' +)" -- cgit v1.2.3-70-g09d2