libnotify: fix build

This commit is contained in:
Enno Boland 2018-03-27 12:56:46 +02:00
parent 370328f173
commit c852a77491
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View file

@ -5,7 +5,7 @@ revision=1
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel libpng-devel gdk-pixbuf-devel"
makedepends="libglib-devel libpng-devel gdk-pixbuf-devel gtk+3-devel"
short_desc="Desktop notification library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://library.gnome.org/devel/notification-spec/"
@ -21,12 +21,6 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
# Avoid gtk+3 dependency, it's only required for tests.
sed -e 's,^tests_modules.*,tests_modules="glib-2.0",g' -i configure
sed -e '/SUBDIRS =.*/s/tests//g' -i Makefile.in
}
libnotify-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"