blob: add4157554ee647f68309780cd9ea7a493f4b5d5 (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=glibmm2.68
pkgver=2.76.0
pkgrel=0
pkgdesc="C++ wrapper for the GLib toolkit"
url="https://www.gtkmm.org/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="glib-dev libsigc++3-dev perl meson m4"
checkdepends="glib-networking"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/glibmm/${pkgver%.*}/glibmm-$pkgver.tar.xz"
builddir="$srcdir/glibmm-$pkgver"
build() {
abuild-meson \
-Db_lto=true \
-Dbuild-documentation=false \
-Dbuild-examples=false \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
dev() {
amove usr/lib/glibmm-* usr/lib/giomm-*
default_dev
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
sha512sums="
be49599f5eb8eb5a1cef015cdb37af2564fcd1ea845aa4344804ca5f0f61468949711e25cefebb93219e1be37128ebfdd2a816324e752ac4395b4b87c072fc78 glibmm-2.76.0.tar.xz
"
|