Skip to content
Snippets Groups Projects
Unverified Commit c5051fec authored by Casey's avatar Casey :recycle: Committed by Oliver Smith
Browse files

temp/gjs: temporarily fork to upgrade for gnome-mobile (MR 3404)

parent 21760954
Branches
No related tags found
No related merge requests found
# Forked from Alpine to rebuild against mozjs102 and upgrade
pkgname=gjs
pkgver=1.73.2
pkgrel=0
pkgdesc="GNOME javascript library"
url="https://wiki.gnome.org/Projects/Gjs"
# armhf, s390x, and riscv64 blocked by mozjs102
arch="all !armhf !s390x !riscv64"
license="MIT AND LGPL-2.0-or-later"
makedepends="
cairo-dev
dbus
gobject-introspection-dev
gtk+3.0-dev
libffi>=3.3
meson
mozjs102-dev
"
checkdepends="xvfb-run"
subpackages="$pkgname-dev"
options="!check" # test suite does not always pass on all architectures
source="https://download.gnome.org/sources/gjs/${pkgver%.*}/gjs-$pkgver.tar.xz"
build() {
abuild-meson \
-Dprofiler=disabled \
-Dinstalled_tests=false \
output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
# Tests can take a while on armv7
xvfb-run -a meson test -C output -t 10
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
273adf42e5359e716ec158377539a2d41c515969f257a502bf5a9bdb75e16e24ace9296026974d24c6294a261e22a3524697f27f640a0aad381fb2bcf512b7bf gjs-1.73.2.tar.xz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment