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

Jan Steffens heftig at archlinux.org
Sun Mar 11 20:10:07 UTC 2018


    Date: Sunday, March 11, 2018 @ 20:10:06
  Author: heftig
Revision: 318644

3.27.92-1

Modified:
  gnome-session/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-11 20:03:30 UTC (rev 318643)
+++ PKGBUILD	2018-03-11 20:10:06 UTC (rev 318644)
@@ -2,8 +2,8 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gnome-session
-pkgver=3.26.1
-pkgrel=2
+pkgver=3.27.92
+pkgrel=1
 pkgdesc="The GNOME Session Handler"
 url="https://git.gnome.org/browse/gnome-session"
 arch=(x86_64)
@@ -10,9 +10,9 @@
 license=(GPL LGPL)
 depends=(systemd dconf gsettings-desktop-schemas gtk3 gnome-desktop
          json-glib libgl libsm libxtst systemd)
-makedepends=(intltool mesa gtk-doc xtrans git gnome-common python xmlto)
+makedepends=(mesa gtk-doc xtrans git python xmlto docbook-xsl meson)
 groups=(gnome)
-_commit=26514ecb0844b7f3acd9fd8c70343450ecf7afca  # tags/3.26.1^0
+_commit=20476a81527e2b9839e1943645d08a4d4909e996  # tags/3.27.92^0
 source=("git+https://git.gnome.org/browse/gnome-session#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -23,18 +23,18 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
   
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
-      --disable-schemas-compile --enable-systemd --disable-gconf
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build -D session_selector=true
+  ninja -C build
 }
 
+check() {
+  cd build
+  meson test
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list