# Description: Desktop notification library
# URL: https://developer.gnome.org/libnotify/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gtk3

name=libnotify
version=0.8.1
release=1
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	meson $name-$version build \
		--prefix /usr \
		--wrap-mode nodownload \
		-D b_pie=true \
		-Dtests=false \
		-Dintrospection=auto \
		-Dman=false \
		-Dgtk_doc=false \
		-Ddocbook_docs=disabled

	ninja -C build -j ${JOBS-1}
	DESTDIR=$PKG meson install -C build
}
