aboutsummaryrefslogtreecommitdiffstats
path: root/community/libchamplain/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-10-29 10:22:16 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-10-29 06:42:25 -0300
commit519b4341ecf5eef7726aa3fce8c020e8969f5eff (patch)
treefd052c381d693f0ab69cb4d4205941699fb7199a /community/libchamplain/APKBUILD
parent64cd956567b9a456053a848a218cd6b664e318de (diff)
community/libchamplain: upgrade to 0.12.20
upstream has switched to meson as build system
Diffstat (limited to 'community/libchamplain/APKBUILD')
-rw-r--r--community/libchamplain/APKBUILD34
1 files changed, 13 insertions, 21 deletions
diff --git a/community/libchamplain/APKBUILD b/community/libchamplain/APKBUILD
index 8ccf1629a16..f00de07ea9f 100644
--- a/community/libchamplain/APKBUILD
+++ b/community/libchamplain/APKBUILD
@@ -1,40 +1,32 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libchamplain
-pkgver=0.12.19
+pkgver=0.12.20
pkgrel=0
pkgdesc="libchamplain is a C library providing a ClutterActor to display maps"
url="https://wiki.gnome.org/Projects/libchamplain"
arch="all"
license="LGPL-2.0-or-later"
makedepends="glib-dev gtk+3.0-dev clutter-dev cairo-dev sqlite-dev libsoup-dev
- gobject-introspection-dev clutter-gtk-dev gtk-doc vala automake autoconf libtool"
+ gobject-introspection-dev clutter-gtk-dev gtk-doc vala meson"
options="!check" # no tests
-subpackages="$pkgname-static $pkgname-dev"
-source="https://download.gnome.org/sources/libchamplain/0.12/libchamplain-0.12.19.tar.xz"
-
-prepare() {
- default_prepare
- gtkdocize
- autoreconf -if
-}
+subpackages="$pkgname-dev"
+source="https://download.gnome.org/sources/libchamplain/${pkgver%.*}/libchamplain-$pkgver.tar.xz"
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
--localstatedir=/var \
- --disable-memphis \
- --enable-introspection \
- --enable-vala
- make
+ --buildtype=release \
+ -Dvapi=true \
+ -Dintrospection=true \
+ -Dgtk_doc=true \
+ . output
+ ninja -C output
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="3fc03c123859b078f1c4f5062706c95446146a7ed2352306cea3f72f3fbf95099afd2a99f61182e3cb7c47e546de6501ff3ed6ff17614f23dc2e4139ba5e4902 libchamplain-0.12.19.tar.xz"
+sha512sums="514e4bd2803ace0d87a95a318a03bc2f2ccc454129146d76590d1b1f5666c95a4fb7013e2ad0cfafc5844d7d8b732c81a44cd0e7d51c505adcfe55c55abb4f6f libchamplain-0.12.20.tar.xz"