libnotify: fix build
This commit is contained in:
parent
370328f173
commit
c852a77491
@ -5,7 +5,7 @@ revision=1
|
|||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static $(vopt_enable gir introspection)"
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
||||||
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-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"
|
short_desc="Desktop notification library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://library.gnome.org/devel/notification-spec/"
|
homepage="http://library.gnome.org/devel/notification-spec/"
|
||||||
@ -21,12 +21,6 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
fi
|
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() {
|
libnotify-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user