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

Jan Steffens heftig at archlinux.org
Wed May 6 22:34:11 UTC 2020


    Date: Wednesday, May 6, 2020 @ 22:34:11
  Author: heftig
Revision: 382456

archrelease: copy trunk to extra-x86_64

Added:
  glade/repos/extra-x86_64/PKGBUILD
    (from rev 382455, glade/trunk/PKGBUILD)
Deleted:
  glade/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 44 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-06 22:33:16 UTC (rev 382455)
+++ PKGBUILD	2020-05-06 22:34:11 UTC (rev 382456)
@@ -1,41 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgname=glade
-pkgver=3.22.2
-pkgrel=1
-pkgdesc="User Interface Builder for GTK+ applications"
-url="https://glade.gnome.org/"
-arch=(x86_64)
-license=(GPL LGPL)
-depends=(gtk3 libxml2)
-makedepends=(intltool gtk-doc gobject-introspection python-gobject itstool docbook-xsl git
-             gnome-common webkit2gtk)
-optdepends=('devhelp: development help')
-provides=(libgladeui-2.so)
-_commit=1f0e1db7178c5038b2f61dc708b0939cb21d9254  # tags/GLADE_3_22_2^0
-source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^GLADE_//;s/_/./g;s/-/+/g'
-}
-
-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
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}

Copied: glade/repos/extra-x86_64/PKGBUILD (from rev 382455, glade/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-06 22:34:11 UTC (rev 382456)
@@ -0,0 +1,44 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=glade
+pkgver=3.36.0+1+g3907987d
+pkgrel=1
+pkgdesc="User Interface Builder for GTK+ applications"
+url="https://glade.gnome.org/"
+arch=(x86_64)
+license=(GPL LGPL)
+depends=(gtk3 libxml2)
+makedepends=(gtk-doc gobject-introspection python-gobject itstool docbook-xsl
+             git webkit2gtk meson)
+checkdepends=(xorg-server-xvfb)
+optdepends=('devhelp: development help')
+groups=(gnome-extra)
+provides=(libgladeui-2.so)
+_commit=3907987d318875fae551ca9a2bce97f33749d230  # glade-3-36
+source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^GLADE_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  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() {
+  DESTDIR="$pkgdir" meson install -C build
+}


More information about the arch-commits mailing list