From 198c33b0f10b4f53ab16a599907a9fb4ae99174b Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Sun, 8 Sep 2024 12:42:10 +0300 Subject: core/gpgme: Re-enable Qt6 --- core/gpgme/PKGBUILD | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) (limited to 'core/gpgme') 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 -- cgit v1.2.3-70-g09d2