mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
mate-menus: fix python bindings by setting python2 explicitly
This commit is contained in:
parent
1f77c40b63
commit
431c9b6bf1
1 changed files with 7 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'mate-menus'
|
# Template file for 'mate-menus'
|
||||||
pkgname=mate-menus
|
pkgname=mate-menus
|
||||||
version=1.20.2
|
version=1.20.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
configure_args="--disable-static $(vopt_enable python)"
|
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)"
|
makedepends="libglib-devel $(vopt_if python python-devel)"
|
||||||
short_desc="MATE menu specifications"
|
short_desc="MATE menu specifications"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
|
@ -17,6 +18,10 @@ checksum=e277df3b3072c2177277644a8c7b0191cc5c3779f1b8db99ef183734d4b4c4a3
|
||||||
build_options="gir python"
|
build_options="gir python"
|
||||||
build_options_default="gir python"
|
build_options_default="gir python"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
export PYTHON=/usr/bin/python2
|
||||||
|
}
|
||||||
|
|
||||||
mate-menus-devel_package() {
|
mate-menus-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue