garcon: cross compilation support.

This commit is contained in:
Juan RP 2015-03-01 10:14:00 +01:00
parent 83241c3d21
commit 2050a8ac83

View File

@ -4,7 +4,7 @@ version=0.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool glib-devel"
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel"
makedepends="libglib-devel libxfce4ui-devel>=4.12"
conf_files="/etc/xdg/menus/xfce-applications.menu"
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
@ -14,6 +14,11 @@ license="LGPL-2.1"
distfiles="http://archive.xfce.org/src/xfce/garcon/${version%.*}/$pkgname-$version.tar.bz2"
checksum=787dc859713b6518992d760d4b858fb02e8a30705e6f6e871d7a14cc97bca972
pre_configure() {
mkdir m4
NOCONFIGURE=1 xdt-autogen
}
garcon-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc=+" - development files"