summaryrefslogtreecommitdiff
path: root/user/gtkmm+3.0/APKBUILD
blob: 659a58def9c7c523c9514f454a776bc27aa7415b (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
41
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=gtkmm+3.0
pkgver=3.24.7
pkgrel=0
pkgdesc="C++ interfaces for GTK+ 3"
url="https://gnome.org"
arch="all"
options="!check" # Tests require X
license="GPL-2.0+ AND LGPL-2.1+"
depends=""
makedepends="atkmm-dev cairomm-dev doxygen glibmm-dev graphviz gtk+3.0-dev
	meson ninja pangomm-dev libxslt"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz"
builddir="$srcdir/gtkmm-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nofallback \
		-Dbuild-documentation=true \
		-Dbuild-x11-api=true \
		-Dbuild-demos=false \
		-Ddist-warnings=no \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="2ede6d77df5cbaa6ea3ee347d8b949e38512db7f5e9b36cb6f531eb259d5986f84ebfc6bb0cdaac1be4dc97e9d611515995184d245e2c0fab2cd8ebcae933a98  gtkmm-3.24.7.tar.xz"