summaryrefslogtreecommitdiff
path: root/community/cairomm1.16/APKBUILD
blob: 1b9f5e4a77e2544d1a576112f8569d73d7d84f9f (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=cairomm1.16
pkgver=1.16.2
pkgrel=1
pkgdesc="C++ bindings to Cairo vector graphics library"
url="https://www.cairographics.org"
arch="all"
license="LGPL-2.0-or-later AND MPL-1.1"
makedepends="meson libsigc++3-dev cairo-dev perl"
subpackages="$pkgname-dev"
source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.xz"
builddir="$srcdir/cairomm-$pkgver"

build() {
	abuild-meson \
		-Db_lto=true \
		-Dboost-shared=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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

sha512sums="
61dc639eabe8502e1262c53c92fe57c5647e5ab9931f86ed51e657df1b7d0e3e58c2571910a05236cc0dca8d52f1f693aed99a553430f14d0fb87be1832a6b62  cairomm-1.16.2.tar.xz
"