# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libnotify
pkgver=0.7.7
pkgrel=2
pkgdesc="Desktop notification library"
url="https://developer.gnome.org/notification-spec/"
arch="all"
options="!check"  # Test suite requires running X11
license="LGPL-2.1+"
depends=""
depends_dev="dbus-dev"
makedepends="$depends_dev gdk-pixbuf-dev glib-dev autoconf automake
	gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--disable-tests
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="133874114407bf12267ef609f5941657181760bc7cf115c5973b1810cb72bf55072b621c143e32be1e7e8b49f244851925d14bc3f9f26457747b8a8695ee9954  libnotify-0.7.7.tar.xz"