blob: d05854e85c2f04bc748eda1429d4f40dc636cb01 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gtkmm4
pkgver=4.6.1
pkgrel=0
pkgdesc="C++ wrappers for GTK 4"
url="https://www.gtkmm.org/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
atkmm2.36-dev
cairomm1.16-dev
doxygen
gdk-pixbuf-dev
glibmm2.68-dev
graphviz
gtk4.0-dev
m4
meson
pangomm2.48-dev
perl
"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz"
builddir="$srcdir/gtkmm-$pkgver"
build() {
abuild-meson \
-Dbuild-demos=false \
-Dbuild-tests=true \
-Dbuild-documentation=true \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
xvfb-run meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
87867deb2b4b0e50841e42d5957f9030c31c4ec1178b71a884a84c3c3aca178100ceb011729559f8f8f761dbe241c3cf4d420cc16c5b5aedcdd1d78f582d006d gtkmm-4.6.1.tar.xz
"
|