[arch-commits] Commit in gjs/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Jan 11 16:35:14 UTC 2022
Date: Tuesday, January 11, 2022 @ 16:35:14
Author: heftig
Revision: 434242
1.70.0-3: Use same optimization as mutter
Modified:
gjs/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-11 16:26:37 UTC (rev 434241)
+++ PKGBUILD 2022-01-11 16:35:14 UTC (rev 434242)
@@ -3,7 +3,7 @@
pkgname=gjs
pkgver=1.70.0
-pkgrel=2
+pkgrel=3
epoch=2
pkgdesc="Javascript Bindings for GNOME"
url="https://wiki.gnome.org/Projects/Gjs"
@@ -19,18 +19,20 @@
sha256sums=('SKIP')
pkgver() {
- cd $pkgname
+ cd gjs
git describe --tags | sed 's/-/+/g'
}
prepare() {
- cd $pkgname
+ cd gjs
}
build() {
- arch-meson $pkgname build \
- --buildtype release \
- -D installed_tests=false
+ CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
+ CXXFLAGS="${CXXFLAGS/-O2/-O3} -fno-semantic-interposition"
+ LDFLAGS+=" -Wl,-Bsymbolic-functions"
+
+ arch-meson gjs build -D installed_tests=false
meson compile -C build
}
@@ -43,3 +45,5 @@
depends+=(libreadline.so)
meson install -C build --destdir "$pkgdir"
}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list