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

Jan Steffens heftig at archlinux.org
Wed May 6 22:26:07 UTC 2020


    Date: Wednesday, May 6, 2020 @ 22:26:06
  Author: heftig
Revision: 382453

3.36.0+1+g3907987d-1

Modified:
  glade/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-06 19:48:43 UTC (rev 382452)
+++ PKGBUILD	2020-05-06 22:26:06 UTC (rev 382453)
@@ -2,7 +2,7 @@
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 
 pkgname=glade
-pkgver=3.22.2
+pkgver=3.36.0+1+g3907987d
 pkgrel=1
 pkgdesc="User Interface Builder for GTK+ applications"
 url="https://glade.gnome.org/"
@@ -9,12 +9,13 @@
 arch=(x86_64)
 license=(GPL LGPL)
 depends=(gtk3 libxml2)
-makedepends=(intltool gtk-doc gobject-introspection python-gobject itstool docbook-xsl git
-             gnome-common webkit2gtk)
+makedepends=(gtk-doc gobject-introspection python-gobject itstool docbook-xsl
+             git webkit2gtk meson)
+checkdepends=(xorg-server-xvfb)
 optdepends=('devhelp: development help')
-groups=('gnome-extra')
+groups=(gnome-extra)
 provides=(libgladeui-2.so)
-_commit=1f0e1db7178c5038b2f61dc708b0939cb21d9254  # tags/GLADE_3_22_2^0
+_commit=3907987d318875fae551ca9a2bce97f33749d230  # glade-3-36
 source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -25,18 +26,19 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --disable-static --enable-gtk-doc
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build -D gtk_doc=true
+  ninja -C build
 }
 
+check() {
+  dbus-run-session xvfb-run \
+    -s '-screen 0 1920x1080x24 -nolisten local' \
+    meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }


More information about the arch-commits mailing list