diff options
author | davidovski <david@davidovski.xyz> | 2022-06-03 13:05:13 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-03 13:05:13 +0100 |
commit | 66c326b6d65388e9f1003715ad9675505f01f9d2 (patch) | |
tree | 40d7355cccfa3464902cf339a563e744c28a7101 /repo/libnotify/libnotify.xibuild | |
parent | fccdaa986f67f820df2914bef851d5fed77abac8 (diff) |
added porting from alpine linux
Diffstat (limited to 'repo/libnotify/libnotify.xibuild')
-rw-r--r-- | repo/libnotify/libnotify.xibuild | 27 |
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 +} |