community/gjs: fix rebuild against libffi.so.7

During the previous rebuild (d95e2bc8267a) something else still pulled
in the old libffo.so.6, so it didn't get rebuilt correctly

Also enable tests on 32-bits, the 1.64.1 upgrade to gobject-introspection
fixed them
This commit is contained in:
Rasmus Thomsen 2020-04-10 10:52:31 +02:00
parent 7f045aae9a
commit 2edb15dec9

View File

@ -2,22 +2,17 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gjs
pkgver=1.64.1
pkgrel=1
pkgrel=2
pkgdesc="GNOME javascript library"
url="https://wiki.gnome.org/Projects/Gjs"
arch="all !s390x !mips !mips64"
license="MIT AND LGPL-2.0-or-later"
makedepends="dbus gobject-introspection-dev mozjs68-dev mozjs68
gtk+3.0-dev cairo-dev meson"
gtk+3.0-dev cairo-dev meson libffi>=3.3"
checkdepends="xvfb-run"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/gjs/${pkgver%.*}/gjs-$pkgver.tar.xz"
# Tests fail on 32-bit: https://gitlab.gnome.org/GNOME/gjs/-/issues/312
case "$CARCH" in
x86|armv7|armhf) options="!check";;
esac
build() {
meson \
--buildtype=plain \
@ -32,7 +27,8 @@ build() {
}
check() {
xvfb-run ninja -C output test
# Tests can take a while on armv7
xvfb-run meson test -C output -t 10
}
package() {