aboutsummaryrefslogtreecommitdiffstats
path: root/community/libchamplain/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 00:17:46 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 00:17:46 +0200
commit026c14bd00c0e1e23dd37842e3dd3d11684b1b82 (patch)
tree850bb94d805966126adfead5c5985527473c5dc6 /community/libchamplain/APKBUILD
parent2e6d3bebca33bd3ee4e6622f58b41d642804eca1 (diff)
downloadaports-026c14bd00c0e1e23dd37842e3dd3d11684b1b82.tar.bz2
aports-026c14bd00c0e1e23dd37842e3dd3d11684b1b82.tar.xz
community/libchamplain: move from testing
Diffstat (limited to 'community/libchamplain/APKBUILD')
-rw-r--r--community/libchamplain/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/libchamplain/APKBUILD b/community/libchamplain/APKBUILD
new file mode 100644
index 0000000000..8ccf1629a1
--- /dev/null
+++ b/community/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"