index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/gpgme/PKGBUILD | 41 |
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 |