orca: fix cross builds

This commit is contained in:
maxice8 2019-02-05 11:59:10 -02:00 committed by maxice8
parent e0e48eb0d8
commit 6f2c8ca6f2
1 changed files with 11 additions and 2 deletions

View File

@ -1,12 +1,12 @@
# Template file for 'orca'
pkgname=orca
version=3.30.2
revision=1
revision=2
noarch=yes
build_style=gnu-configure
pycompile_module="orca"
hostmakedepends="intltool itstool pkg-config"
makedepends="at-spi2-atk-devel liblouis-devel python-gobject-devel"
makedepends="at-spi2-atk-devel liblouis-devel python3-gobject-devel"
depends="desktop-file-utils gst-plugins-good1 hicolor-icon-theme liblouis
python3-atspi python3-brlapi python3-dbus python3-xdg speech-dispatcher"
short_desc="Screen reader for individuals who are blind or visually impaired"
@ -15,3 +15,12 @@ license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/Orca"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=a328945bceb7d49199c9077b6829eff5ff8262db5b12c09dc8af4443d88a5a9d
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3-gobject-devel"
fi
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) ;;
*-musl) broken="Requires gobject-introspection" ;;
esac