index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-12-20 17:08:53 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-20 17:08:53 +0100 |
commit | 40f7e12f97e40be89c3b89c128b5f1ed2b1fc327 (patch) | |
tree | c48278c6bc40a3ed052c28107f48caaff8772a04 /extra/webkit2gtk | |
parent | d039a0bfb858ecdcbab6e157304e4956e49751d6 (diff) |
-rw-r--r-- | extra/webkit2gtk/PKGBUILD | 20 |
diff --git a/extra/webkit2gtk/PKGBUILD b/extra/webkit2gtk/PKGBUILD index 795e8003..0afeb273 100644 --- a/extra/webkit2gtk/PKGBUILD +++ b/extra/webkit2gtk/PKGBUILD @@ -1,15 +1,15 @@ # disable SSE2 on 486 and 686 -if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then - source+=('webkitgtk-2.24.2-no-sse2.patch') - sha256sums+=('e95391eceeb29d0ebc57d6b867afd7cd95ed92683edeb28c6a7a5048b5a9b85b') +source_i486+=('webkitgtk-2.24.2-no-sse2.patch') +source_i686+=('webkitgtk-2.24.2-no-sse2.patch') +sha256sums_i486+=('e95391eceeb29d0ebc57d6b867afd7cd95ed92683edeb28c6a7a5048b5a9b85b') +sha256sums_i686+=('e95391eceeb29d0ebc57d6b867afd7cd95ed92683edeb28c6a7a5048b5a9b85b') - eval "$( - declare -f prepare | \ - sed ' - /cd.*/a patch -p1 < ../webkitgtk-2.24.2-no-sse2.patch - ' - )" -fi +eval "$( + declare -f prepare | \ + sed ' + /cd.*/a [ "${CARCH}" = pentium4 ] || patch -p1 -i ../webkitgtk-2.24.2-no-sse2.patch + ' +)" # work around broken generated makefiles resulting in # "make[2]: *** No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'. Stop." |