libnotify: fix build
This commit is contained in:
parent
370328f173
commit
c852a77491
1 changed files with 1 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue