summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPhilip Goto2020-05-08 13:55:14 +0200
committerPhilip Goto2020-05-08 13:55:14 +0200
commit617d699c0742722548adbf6fa6da5b6642f79ab8 (patch)
tree1d051c817ffabec14873f2d43869958ad8af825d /PKGBUILD
parentce5db9a4eba5aadc2b0aab46feb48c4beaac000b (diff)
downloadaur-glade-git.tar.gz
Update to latest version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 19 insertions, 23 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d5fcd042765..669be8fbf27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,19 @@
# Maintainer: Philip Goto <philip.goto@gmail.com>
pkgname=glade-git
-pkgver=3.22.0.r319.gb8b1b0fa
+pkgver=3.36.0.r2.gce473462
pkgrel=1
-pkgdesc="User interface builder for GTK+ and GNOME."
-provides=(glade)
-conflicts=(glade)
-arch=(i686 x86_64 armv6h armv7h)
+pkgdesc="User Interface Builder for GTK applications"
+url="https://glade.gnome.org/"
+arch=(i686 x86_64 armv7h aarch64)
license=(GPL LGPL)
-depends=(webkit2gtk)
-makedepends=(intltool
- gtk-doc
- gobject-introspection
- python-gobject
- itstool
- docbook-xsl
- git
- gnome-common
- meson)
+depends=(gtk3 libxml2)
+makedepends=(gtk-doc gobject-introspection python-gobject itstool docbook-xsl git webkit2gtk meson)
+checkdepends=(xorg-server-xvfb)
optdepends=('devhelp: development help')
-url="https://glade.gnome.org/"
+groups=(gnome-extra)
+provides=(glade libgladeui-2.so)
+conflicts=(glade)
source=("git+https://gitlab.gnome.org/GNOME/glade.git")
sha256sums=(SKIP)
@@ -28,15 +22,17 @@ pkgver() {
git describe --long --tags | sed 's/^GLADE_//;s/_/./g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-# check() {
-# ninja -C build test
-# }
-
build() {
- arch-meson glade build
- ninja -C build
+ arch-meson glade 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/" ninja -C build install
+ DESTDIR="$pkgdir" meson install -C build
}