* update gjs to 2:1.82.1-2
This commit is contained in:
parent
4b3266802d
commit
01ae0e8df5
@ -1,7 +1,7 @@
|
||||
pkgbase = gjs
|
||||
pkgdesc = Javascript Bindings for GNOME
|
||||
pkgver = 1.82.1
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
epoch = 2
|
||||
url = https://wiki.gnome.org/Projects/Gjs
|
||||
arch = x86_64
|
||||
|
11
gjs/PKGBUILD
11
gjs/PKGBUILD
@ -5,7 +5,7 @@
|
||||
|
||||
pkgname=gjs
|
||||
pkgver=1.82.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
epoch=2
|
||||
pkgdesc="Javascript Bindings for GNOME"
|
||||
url="https://wiki.gnome.org/Projects/Gjs"
|
||||
@ -51,6 +51,15 @@ prepare() {
|
||||
git submodule init
|
||||
git submodule set-url subprojects/gobject-introspection-tests "${srcdir}/gobject-introspection-tests"
|
||||
git -c protocol.file.allow=always -c protocol.allow=never submodule update
|
||||
|
||||
# printf() supports %I alternative int syntax
|
||||
## Meson disables code optimization (sets -O0) during the dependency-check phase.
|
||||
## This causes conflicts with the default Arch build flag -D_FORTIFY_SOURCE=3,
|
||||
## leading to the following warning (and a failed dependency check due to -Werror):
|
||||
## # warning: _FORTIFY_SOURCE requires compiling with optimization (-O)
|
||||
## This adjustment offers a workaround for the issue.
|
||||
## https://gitlab.gnome.org/GNOME/gjs/-/issues/671
|
||||
sed -i "s/'-Werror'/'-Werror=format'/" meson.build
|
||||
}
|
||||
|
||||
build() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user