summaryrefslogtreecommitdiff
path: root/community/atkmm2.36/APKBUILD
blob: bfaf654e9879ea1699d1b613967ecaeb65d9e518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atkmm2.36
pkgver=2.36.2
pkgrel=3
pkgdesc="C++ bindings for atk"
#options="!check" # No testsuite
url="https://www.gtkmm.org/en/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="at-spi2-core-dev glibmm2.68-dev libsigc++3-dev meson m4 doxygen graphviz"
subpackages="$pkgname-devhelp $pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.tar.xz"
builddir="$srcdir/atkmm-$pkgver"

replaces="gtkmm"

build() {
	abuild-meson -Dbuild-documentation=true . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
ad8ba4cb83a71c2998a600e015d1639d7d2ad39b450148ddb40ed750f3321e6932e81986cb1591ad3bcf914bcc50409c24300580b898f16408acc57a0ce2d914  atkmm-2.36.2.tar.xz
"