python-atspi: fix cross build

This commit is contained in:
maxice8 2019-02-05 11:58:50 -02:00 committed by maxice8
parent 64f4e5927f
commit e0e48eb0d8
1 changed files with 6 additions and 6 deletions

View File

@ -1,21 +1,21 @@
# Template file for 'python-atspi' # Template file for 'python-atspi'
pkgname=python-atspi pkgname=python-atspi
version=2.30.0 version=2.30.0
revision=1 revision=2
noarch=yes noarch=yes
wrksrc="pyatspi-${version}" wrksrc="pyatspi-${version}"
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="at-spi2-core-devel python-gobject-devel"
depends="${makedepends//-devel/}"
pycompile_module="pyatspi" pycompile_module="pyatspi"
hostmakedepends="pkg-config python python3"
makedepends="at-spi2-core-devel python-gobject-devel
python3-gobject-devel"
depends="at-spi2-core python-gobject"
short_desc="Python2 bindings for AT-SPI" short_desc="Python2 bindings for AT-SPI"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="http://www.gnome.org/" homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/pyatspi/${version%.*}/pyatspi-${version}.tar.xz" distfiles="${GNOME_SITE}/pyatspi/${version%.*}/pyatspi-${version}.tar.xz"
checksum=a22a5f7553fec557b6532179063a55cde781126709099c7789d5e515446fe785 checksum=a22a5f7553fec557b6532179063a55cde781126709099c7789d5e515446fe785
nocross="gobject-introspection"
pre_configure() { pre_configure() {
mkdir -p atspi-${py2_ver} mkdir -p atspi-${py2_ver}