summaryrefslogtreecommitdiff
path: root/repo/libnotify/libnotify.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libnotify/libnotify.xibuild')
-rw-r--r--repo/libnotify/libnotify.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/libnotify/libnotify.xibuild b/repo/libnotify/libnotify.xibuild
new file mode 100644
index 0000000..0bb4cf5
--- /dev/null
+++ b/repo/libnotify/libnotify.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="libnotify"
+DESC="Desktop notification library"
+
+MAKEDEPS="meson gdk-pixbuf dbus gtk3 gobject-introspection"
+
+PKG_VER=0.7.9
+SOURCE="https://download.gnome.org/sources/libnotify/${PKG_VER%.*}/libnotify-$PKG_VER.tar.xz"
+
+build() {
+ meson --prefix=/usr \
+ -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="$PKG_DEST" meson install --no-rebuild -C output
+}