[arch-commits] Commit in gnome-shell/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Tue Jan 11 16:26:37 UTC 2022


    Date: Tuesday, January 11, 2022 @ 16:26:37
  Author: heftig
Revision: 434241

41.3-1

Modified:
  gnome-shell/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-11 16:24:44 UTC (rev 434240)
+++ PKGBUILD	2022-01-11 16:26:37 UTC (rev 434241)
@@ -3,8 +3,8 @@
 # Contributor: Flamelab <panosfilip at gmail.com
 
 pkgname=gnome-shell
-pkgver=41.2
-pkgrel=2
+pkgver=41.3
+pkgrel=1
 epoch=1
 pkgdesc="Next generation desktop shell"
 url="https://wiki.gnome.org/Projects/GnomeShell"
@@ -20,7 +20,7 @@
 optdepends=('gnome-control-center: System settings'
             'evolution-data-server: Evolution calendar integration')
 groups=(gnome)
-_commit=618965fcd4a16255235dc6e27a88fe29118afd22  # tags/41.2^0
+_commit=0599ffd06e1795f2c1c1bb18fe3d495c7206a3b7  # tags/41.3^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
         "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
 sha256sums=('SKIP'
@@ -27,13 +27,16 @@
             'SKIP')
 
 pkgver() {
-  cd $pkgname
+  cd gnome-shell
   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd gnome-shell
 
+  # Fix build with meson 0.61.0
+  git cherry-pick -n 65450a836ee9e0722a2d4c3327f52345eae293c6
+
   git submodule init
   git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
   git submodule update
@@ -40,19 +43,28 @@
 }
 
 build() {
-  arch-meson $pkgname build -D gtk_doc=true
+  CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
+  LDFLAGS+=" -Wl,-Bsymbolic-functions"
+
+  arch-meson gnome-shell build -D gtk_doc=true
   meson compile -C build
 }
 
-check() (
+_check() (
   mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/runtime-dir}"
   export XDG_RUNTIME_DIR
 
-  dbus-run-session xvfb-run -s '-nolisten local' \
-    meson test -C build --print-errorlogs
+  meson test -C build --print-errorlogs
 )
 
+check() {
+  dbus-run-session xvfb-run -s '-nolisten local +iglx -noreset' \
+    bash -c "$(declare -f _check); _check"
+}
+
 package() {
   depends+=(libmutter-9.so)
   meson install -C build --destdir "$pkgdir"
 }
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list