aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libchamplain/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libchamplain/APKBUILD')
-rw-r--r--testing/libchamplain/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/libchamplain/APKBUILD b/testing/libchamplain/APKBUILD
new file mode 100644
index 0000000000..8ccf1629a1
--- /dev/null
+++ b/testing/libchamplain/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=libchamplain
+pkgver=0.12.19
+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"
+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
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-memphis \
+ --enable-introspection \
+ --enable-vala
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3fc03c123859b078f1c4f5062706c95446146a7ed2352306cea3f72f3fbf95099afd2a99f61182e3cb7c47e546de6501ff3ed6ff17614f23dc2e4139ba5e4902 libchamplain-0.12.19.tar.xz"