Date: Tuesday, September 10, 2019 @ 18:55:22 Author: heftig Revision: 362133
4.4.0-1 Modified: gtksourceview4/trunk/PKGBUILD ----------+ PKGBUILD | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-09-10 18:50:59 UTC (rev 362132) +++ PKGBUILD 2019-09-10 18:55:22 UTC (rev 362133) @@ -3,7 +3,7 @@ # Contributor: Ionut Biru <ib...@archlinux.org> pkgname=gtksourceview4 -pkgver=4.2.0 +pkgver=4.4.0 pkgrel=1 pkgdesc="A text widget adding syntax highlighting and more to GNOME" url="https://wiki.gnome.org/Projects/GtkSourceView" @@ -10,9 +10,9 @@ arch=(x86_64) license=(GPL) depends=(gtk3 libxml2) -makedepends=(intltool gobject-introspection vala gtk-doc autoconf-archive glade - yelp-tools git) -_commit=9d633818558ecaa18b48d4b4d59afca6f4a68fb3 # tags/4.2.0^0 +makedepends=(gobject-introspection vala gtk-doc glade yelp-tools git meson) +checkdepends=(xorg-server-xvfb) +_commit=6cbb07d5454ccb46ee053cc458391289cc2fb630 # tags/4.4.0^0 source=("git+https://gitlab.gnome.org/GNOME/gtksourceview.git#commit=$_commit") sha256sums=('SKIP') @@ -23,23 +23,17 @@ prepare() { cd gtksourceview - - # Workaround incompat with recent autoconf-archive - find . -name Makefile.am -exec sed -i '/@CODE_COVERAGE_RULES@/d' {} + - - NOCONFIGURE=1 ./autogen.sh } build() { - cd gtksourceview - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static \ - --enable-glade-catalog --enable-gtk-doc --disable-Werror - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + arch-meson gtksourceview build -D glade_catalog=true -D gtk_doc=true + ninja -C build } +check() { + xvfb-run meson test -C build --print-errorlogs +} + package() { - cd gtksourceview - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build }