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

Jan Steffens heftig at archlinux.org
Wed May 1 11:16:57 UTC 2019


    Date: Wednesday, May 1, 2019 @ 11:16:56
  Author: heftig
Revision: 352350

3.32.0-1

Modified:
  libwnck3/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-01 09:52:06 UTC (rev 352349)
+++ PKGBUILD	2019-05-01 11:16:56 UTC (rev 352350)
@@ -2,7 +2,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=libwnck3
-pkgver=3.30.0
+pkgver=3.32.0
 pkgrel=1
 pkgdesc="Library to manage X windows and workspaces (via pagers, tasklists, etc.)"
 url="https://gitlab.gnome.org/GNOME/libwnck"
@@ -9,8 +9,8 @@
 arch=(x86_64)
 license=(LGPL)
 depends=(gtk3 startup-notification libxres)
-makedepends=(gobject-introspection gtk-doc autoconf-archive git)
-_commit=83548dda1c15789ad50eb1823731c17864cbb951  # tags/3.30.0^0
+makedepends=(gobject-introspection gtk-doc git meson)
+_commit=d3a714db6af5c1a146effb8d8f827b8973bbb91c  # tags/3.32.0^0
 source=("git+https://gitlab.gnome.org/GNOME/libwnck.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -21,28 +21,19 @@
 
 prepare() {
     cd libwnck
-    NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-    cd libwnck
-    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-        --disable-static --enable-gtk-doc --enable-compile-warnings=minimum
-
-    # https://bugzilla.gnome.org/show_bug.cgi?id=655517
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-    make
+    arch-meson libwnck build -D gtk_doc=true
+    ninja -C build
 }
 
 check() {
-    cd libwnck
-    make -k check
+    meson test -C build --print-errorlogs
 }
 
 package() {
-    cd libwnck
-    make DESTDIR="$pkgdir" install
+    DESTDIR="$pkgdir" meson install -C build
 }
 
 # vim:set sw=4 et:


More information about the arch-commits mailing list