[arch-commits] Commit in gjs/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Tue Jan 11 19:19:24 UTC 2022


    Date: Tuesday, January 11, 2022 @ 19:19:24
  Author: heftig
Revision: 434247

archrelease: copy trunk to extra-x86_64

Added:
  gjs/repos/extra-x86_64/PKGBUILD
    (from rev 434246, gjs/trunk/PKGBUILD)
Deleted:
  gjs/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 49 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-11 18:15:54 UTC (rev 434246)
+++ PKGBUILD	2022-01-11 19:19:24 UTC (rev 434247)
@@ -1,45 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gjs
-pkgver=1.70.0
-pkgrel=2
-epoch=2
-pkgdesc="Javascript Bindings for GNOME"
-url="https://wiki.gnome.org/Projects/Gjs"
-arch=(x86_64)
-license=(GPL)
-depends=(cairo gobject-introspection-runtime js78 dconf readline
-         libsysprof-capture)
-makedepends=(gobject-introspection git meson dbus)
-checkdepends=(valgrind xorg-server-xvfb gtk3 gtk4)
-provides=(libgjs.so)
-_commit=da5d5fe74469c799de80117758d79ad694d1116a  # tags/1.70.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build \
-    --buildtype release \
-    -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"
-}

Copied: gjs/repos/extra-x86_64/PKGBUILD (from rev 434246, gjs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-11 19:19:24 UTC (rev 434247)
@@ -0,0 +1,49 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.70.0
+pkgrel=3
+epoch=2
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs"
+arch=(x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js78 dconf readline
+         libsysprof-capture)
+makedepends=(gobject-introspection git meson dbus)
+checkdepends=(valgrind xorg-server-xvfb gtk3 gtk4)
+provides=(libgjs.so)
+_commit=da5d5fe74469c799de80117758d79ad694d1116a  # tags/1.70.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd gjs
+  git describe --tags | sed '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