mate-menus: add python build option (native on, cross off).

This commit is contained in:
Juan RP 2015-10-23 14:11:24 +02:00
parent eba0e64e10
commit 2ff55463d6

View file

@ -1,11 +1,11 @@
# Template file for 'mate-menus'
pkgname=mate-menus
version=1.10.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-python"
configure_args="--disable-static $(vopt_enable python)"
hostmakedepends="pkg-config intltool itstool"
makedepends="python-devel glib-devel $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel $(vopt_if python python-devel) $(vopt_if gir gobject-introspection)"
short_desc="MATE menu specifications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2"
@ -13,9 +13,9 @@ homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=dc0832bdcc60354ccfc6e898cf167b7f45778825ef2011d7fe849c10ed0ae759
build_options="gir"
build_options="gir python"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
build_options_default="gir python"
fi
mate-menus-devel_package() {