[arch-commits] Commit in gjs/repos (2 files)

Jan Steffens heftig at gemini.archlinux.org
Tue Mar 29 18:56:03 UTC 2022


    Date: Tuesday, March 29, 2022 @ 18:56:03
  Author: heftig
Revision: 440906

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gjs/repos/gnome-unstable-x86_64/
  gjs/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 440904, gjs/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 440904, gjs/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2022-03-29 18:56:03 UTC (rev 440906)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.72.0
+pkgrel=1
+epoch=2
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs"
+arch=(x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js91 dconf readline
+         libsysprof-capture)
+makedepends=(gobject-introspection git meson dbus)
+checkdepends=(xorg-server-xvfb gtk3 gtk4)
+provides=(libgjs.so)
+options=(debug)
+_commit=f0341aaa64318752272c4c6a3aef335401f1b3c9  # tags/1.72.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd gjs
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd gjs
+}
+
+build() {
+  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
+}
+
+check() {
+  xvfb-run -s '-nolisten local' \
+    meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libreadline.so)
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list