Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gpgme
diff options
context:
space:
mode:
Diffstat (limited to 'core/gpgme')
-rw-r--r--core/gpgme/PKGBUILD41
1 files changed, 22 insertions, 19 deletions
diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD
index fe809fc7..472d6ab5 100644
--- a/core/gpgme/PKGBUILD
+++ b/core/gpgme/PKGBUILD
@@ -35,25 +35,28 @@ eval "$(
'
)"
-# also some sse2 breakage in qt6 libs on i686, so ignoring on all subarchs
-
-# ignore gui (for now, needs Qt6, which needs atomics)
-makedepends=(${makedepends[@]//qt6-base/})
-eval "$(
- declare -f package_qgpgme-qt6 | \
- sed '
- s/--sphinx-man//
- s/--sphinx-html//
- '
- declare -f package_gpgme | \
+if [[ $CARCH == i486 ]]; then
+ # ignore gui (for now, needs Qt6, which needs atomics)
+ makedepends=(${makedepends[@]//qt6-base/})
+ eval "$(
+ declare -f package_qgpgme-qt6 | \
+ sed '
+ s/--sphinx-man//
+ s/--sphinx-html//
+ '
+ declare -f package_gpgme | \
+ sed '
+ /libqgpgmeqt6/d
+ '
+
+ declare -f package_qgpgme-qt6 | \
sed '
- /libqgpgmeqt6/d
+ 3 i if false; then
+ $ i fi
'
+ )"
+fi
- declare -f package_qgpgme-qt6 | \
- sed '
- 3 i if false; then
- $ i fi
- '
-
-)"
+if [[ $CARCH == pentium4 ]]; then
+ eval "$(declare -f build | sed 's@./configure@CC="gcc -msse2" CXX="g++ -msse2" ./configure@')"
+fi