From 431c9b6bf1d9a392575c4b877dc7af825cc1b9e8 Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 28 May 2019 11:53:40 +0200 Subject: [PATCH] mate-menus: fix python bindings by setting python2 explicitly --- srcpkgs/mate-menus/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/mate-menus/template b/srcpkgs/mate-menus/template index 1b238018e85..0fb93b4214b 100644 --- a/srcpkgs/mate-menus/template +++ b/srcpkgs/mate-menus/template @@ -1,11 +1,12 @@ # Template file for 'mate-menus' pkgname=mate-menus version=1.20.2 -revision=2 +revision=3 build_style=gnu-configure build_helper="gir" configure_args="--disable-static $(vopt_enable python)" -hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)" +hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection) + $(vopt_if python python)" makedepends="libglib-devel $(vopt_if python python-devel)" short_desc="MATE menu specifications" maintainer="Juan RP " @@ -17,6 +18,10 @@ checksum=e277df3b3072c2177277644a8c7b0191cc5c3779f1b8db99ef183734d4b4c4a3 build_options="gir python" build_options_default="gir python" +pre_configure() { + export PYTHON=/usr/bin/python2 +} + mate-menus-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"