Date: Friday, March 15, 2019 @ 21:33:02 Author: heftig Revision: 348397
3.7.1-1 Modified: gthumb/trunk/PKGBUILD ----------+ PKGBUILD | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-03-15 21:32:35 UTC (rev 348396) +++ PKGBUILD 2019-03-15 21:33:02 UTC (rev 348397) @@ -3,7 +3,7 @@ # Contributor: Tobias Kieslich <tob...@justdreams.de> pkgname=gthumb -pkgver=3.6.2 +pkgver=3.7.1 pkgrel=1 pkgdesc="Image browser and viewer for the GNOME Desktop" url="https://wiki.gnome.org/Apps/gthumb" @@ -11,14 +11,13 @@ license=(GPL) depends=(dconf librsvg clutter-gtk gst-plugins-base-libs gsettings-desktop-schemas libwebp libsecret libsoup webkit2gtk json-glib gtk3-print-backends) -makedepends=(intltool libchamplain exiv2 itstool brasero libraw liboauth docbook-xsl - yelp-tools flex gnome-common git) +makedepends=(libchamplain exiv2 brasero libraw liboauth docbook-xsl yelp-tools meson git) optdepends=('libraw: read RAW files' 'exiv2: metadata support' 'libchamplain: map viewer' 'brasero: burn discs' 'liboauth: web albums') -_commit=28f951e14aae66b96d7a03aa887ca3844824cecb # tags/3.6.2^0 +_commit=c2a0c415679b511d5f5436d89edff3445250d63a # tags/3.7.1^0 source=("git+https://gitlab.gnome.org/GNOME/gthumb.git#commit=$_commit") sha256sums=('SKIP') @@ -29,24 +28,17 @@ prepare() { cd $pkgname - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static \ - --enable-libchamplain - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + arch-meson $pkgname build -D libchamplain=true + ninja -C build } check() { - cd $pkgname - make check + meson test -C build --print-errorlogs } package() { - cd $pkgname - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build }