aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnotify/APKBUILD
blob: a40214e932dc20366b48fd037d6fdcf0d7b39ad4 (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
# 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() {
	meson \
		--prefix=/usr \
		--buildtype=plain \
		-Dtests=true \
		-Dintrospection=enabled \
		-Dgtk_doc=false \
		-Dman=false \
		output
	ninja -C output
}

check() {
	ninja -C output test
}

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