diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-08 12:53:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-09 12:37:45 +0000 |
commit | e0b74a131ccda97f0fa26c5ce106e87852b7e059 (patch) | |
tree | f3db0b38b51276deb357d9f0bff51ef522b90838 /community/geocode-glib/APKBUILD | |
parent | 6deccdd96e1921d888b41fc61298d1f37d7c6b2e (diff) | |
download | aports-e0b74a131ccda97f0fa26c5ce106e87852b7e059.tar.bz2 aports-e0b74a131ccda97f0fa26c5ce106e87852b7e059.tar.xz |
community/geocode-glib: upgrade to 3.26.0
Diffstat (limited to 'community/geocode-glib/APKBUILD')
-rw-r--r-- | community/geocode-glib/APKBUILD | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/community/geocode-glib/APKBUILD b/community/geocode-glib/APKBUILD index 740b9bd056..5e3627da5e 100644 --- a/community/geocode-glib/APKBUILD +++ b/community/geocode-glib/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=geocode-glib -pkgver=3.24.0 +pkgver=3.26.0 pkgrel=0 pkgdesc="Geocoding helper library" url="https://www.gnome.org/" @@ -9,38 +9,34 @@ license="LGPL-2.0-or-later" depends="" depends_dev="" makedepends="$depends_dev glib-dev gobject-introspection-dev intltool - json-glib-dev libsoup-dev" + json-glib-dev libsoup-dev meson ninja gtk-doc" install="" subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/geocode-glib/${pkgver%.*}/geocode-glib-$pkgver.tar.xz" builddir="$srcdir"/geocode-glib-$pkgver -prepare() { - local i - cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + mkdir -p "$builddir"/build + cd "$builddir"/build + meson \ --prefix=/usr \ + --buildtype=release \ --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + -Denable-installed-tests=false \ + .. + ninja +} + +check() { + cd "$builddir"/build + ninja test } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir"/build + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + DESTDIR="$pkgdir" ninja install } -sha512sums="0e3910e99d164fdf5afd6befbcb7139a56779834fb1f2a318951c03e5196a31c4dafd7f88c37c7014377f15cd4d4b81e7080a440881e2c50aadaadf621abe3b6 geocode-glib-3.24.0.tar.xz" +sha512sums="d0924673b669a29d04ad5f1d70797e98b67af3bc85edd8870d21d22d18ec8f2b93a13f94226e295ccb3c6e83d1545bdd2361ebacdbb1928c06b8beed36759838 geocode-glib-3.26.0.tar.xz" |