# Template file for 'libnotify'
pkgname=libnotify
version=0.7.5
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config gobject-introspection"
makedepends="libglib-devel libpng-devel gdk-pixbuf-devel gtk+3-devel"
short_desc="Desktop notification library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://library.gnome.org/devel/notification-spec/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.xz"
checksum=4378cb47874ba4d5f759b7890d8d28d086e81d3f0bd4f6e84e5ab66d82ffb652
long_desc="
 libnotify is an implementation of the freedesktop.org desktop
 notification specification."

libnotify-devel_package() {
	depends="gdk-pixbuf-devel libglib-devel libnotify>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove usr/lib/pkgconfig
	}
}

libnotify_package() {
	pkg_install() {
		vmove usr
	}
}
