summaryrefslogtreecommitdiff
path: root/user/cairomm/APKBUILD
blob: f06e312d93983e02433053e50366caee6172ae4f (plain) (blame)
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
33
34
35
36
37
38
39
40
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=cairomm
pkgver=1.14.3
pkgrel=0
pkgdesc="C++ interfaces to Cairo"
url="https://gnome.org"
arch="all"
options="!check" # broken test
license="LGPL-2.1+"
depends=""
makedepends="boost-dev cairo-dev doxygen fontconfig-dev glibmm-dev graphviz
	libsigc++-dev meson ninja cmd:xsltproc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.xz"

build() {
	meson \
	    	--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nofallback \
		-Dbuild-documentation=true \
		-Dbuild-examples=false \
		-Dbuild-tests=true \
		-Dboost-shared=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="8dc8a0de733904742c54d4935b596d4103f2e498c6735894bc6a5a81eb4962c6ea944bad94102b18b25850f78e948d38f117c566b197bc76da23a4e88b62ee4e  cairomm-1.14.3.tar.xz"