aboutsummaryrefslogtreecommitdiffstats
path: root/community/libnotify/APKBUILD
blob: 57e10729ee6bae2119538eb273bb9ecb3d9172ac (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnotify
pkgver=0.7.9
pkgrel=1
pkgdesc="Desktop notification library"
url="https://developer.gnome.org/notification-spec/"
arch="all"
options="!check" # No tests defined when building with meson.
license="LGPL-2.1-or-later"
makedepends="meson gdk-pixbuf-dev dbus-dev gtk+3.0-dev gobject-introspection-dev"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libnotify/${pkgver%.*}/libnotify-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Dtests=true \
		-Dintrospection=enabled \
		-Dgtk_doc=false \
		-Dman=false \
		output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="8a842b50777279efdb7d96a836a546c47decad158a4f03f7ffc818860d1f6276a657619e4f4a19a4e2f5ad55e0371c793420d50d802983700e8c342273b73874  libnotify-0.7.9.tar.xz"