blob: 7c7e000857660621bca70538eff5d78a1f940581 (
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
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnotify
pkgver=0.7.8
pkgrel=0
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"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="meson gdk-pixbuf-dev dbus-dev gtk+3.0-dev gobject-introspection-dev xmlto"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
build() {
cd "$builddir"
meson \
--prefix=/usr \
-Dtests=true \
-Dintrospection=enabled \
-Dgtk_doc=false \
output
ninja -C output
}
check() {
ninja -C output test
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="9973d7a1af5dd7cfbaa0d0d2c9e72a40df9d814967fde47e95763a69690cc4ed32ecf713d75f91f3dff99a693eff9dab963be124e0530ebf231d517a44e75e94 libnotify-0.7.8.tar.xz"
|