community/[various]: enable build on s390x

enable build webkit2gtk, shotwell, midori
fix local variable _archopt
This commit is contained in:
Tuan M. Hoang 2018-02-10 21:33:02 +00:00 committed by Natanael Copa
parent f8ed4713b5
commit 360208b74c
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ pkgver=0.5.11
pkgrel=1 pkgrel=1
pkgdesc="A lightweight web browser based on Gtk WebKit" pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.midori-browser.org" url="http://www.midori-browser.org"
arch="x86 x86_64 ppc64le armhf" arch="all !aarch64"
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
depends= depends=
makedepends="cmake librsvg-dev paxmark python2 vala gtk+3.0-dev gcr-dev libunique-dev webkit2gtk-dev" makedepends="cmake librsvg-dev paxmark python2 vala gtk+3.0-dev gcr-dev libunique-dev webkit2gtk-dev"

View File

@ -4,7 +4,7 @@ pkgver=0.27.3
pkgrel=0 pkgrel=0
pkgdesc="A digital photo organizer designed for the GNOME desktop environment" pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
url="https://wiki.gnome.org/Apps/Shotwell" url="https://wiki.gnome.org/Apps/Shotwell"
arch="x86 x86_64 ppc64le" arch="all !armhf !aarch64"
license="LGPL-2.1" license="LGPL-2.1"
install="shotwell.post-upgrade shotwell.post-install shotwell.pre-deinstall" install="shotwell.post-upgrade shotwell.post-install shotwell.pre-deinstall"
subpackages="$pkgname-lang $pkgname-doc" subpackages="$pkgname-lang $pkgname-doc"

View File

@ -6,7 +6,7 @@ pkgver=2.18.4
pkgrel=0 pkgrel=0
pkgdesc="portable web rendering engine WebKit for GTK+" pkgdesc="portable web rendering engine WebKit for GTK+"
url="https://webkitgtk.org/" url="https://webkitgtk.org/"
arch="x86 x86_64 ppc64le aarch64 armhf" arch="all"
license="LGPL-2.0-or-later BSD" license="LGPL-2.0-or-later BSD"
makedepends="$depends_dev makedepends="$depends_dev
bison bison
@ -75,7 +75,7 @@ prepare() {
} }
build() { build() {
local _jitopt= local _archopt=
case "$CARCH" in case "$CARCH" in
armhf) _archopt="-DUSE_LD_GOLD=OFF -DENABLE_JIT=OFF -DUSE_SYSMEM_MALLOC=ON";; armhf) _archopt="-DUSE_LD_GOLD=OFF -DENABLE_JIT=OFF -DUSE_SYSMEM_MALLOC=ON";;
aarch64) _archopt="-DUSE_LD_GOLD=OFF";; aarch64) _archopt="-DUSE_LD_GOLD=OFF";;