garcon: fix build.

This commit is contained in:
Juan RP 2013-05-06 10:42:53 +02:00
parent 9bf384adfe
commit 33e36e542a
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@ revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
hostmakedepends="pkg-config intltool" hostmakedepends="pkg-config intltool"
makedepends="libglib-devel libxfce4util-devel" makedepends="glib-devel libxfce4util-devel"
short_desc="Glib/GIO freedesktop.org compliant menu implementation" short_desc="Glib/GIO freedesktop.org compliant menu implementation"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wiki.xfce.org/dev/garcon" homepage="http://wiki.xfce.org/dev/garcon"
@ -19,6 +19,10 @@ long_desc="
was lacking menu merging features essential for loading menus modified was lacking menu merging features essential for loading menus modified
with menu editors." with menu editors."
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel"
fi
garcon-devel_package() { garcon-devel_package() {
depends="libglib-devel ${sourcepkg}-${version}_${revision}" depends="libglib-devel ${sourcepkg}-${version}_${revision}"
short_desc=+" - development files" short_desc=+" - development files"