Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-09-08 12:42:10 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-09-08 12:42:10 +0300
commit198c33b0f10b4f53ab16a599907a9fb4ae99174b (patch)
treeb0436a7fea26bf476cf72a2d4f1e13b5d64f5c6c
parent3131024f4f76cc00f72d556d2d070771fb62bda4 (diff)
core/gpgme: Re-enable Qt6
-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