From 1871bd7a307c27e13b0a7b60e3b8d8861776ce6d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 28 Mar 2017 16:19:56 +0200 Subject: [PATCH] xpra: restore cross compilation --- srcpkgs/xpra/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xpra/template b/srcpkgs/xpra/template index 8b009a881e4..116532deb26 100644 --- a/srcpkgs/xpra/template +++ b/srcpkgs/xpra/template @@ -13,8 +13,7 @@ makedepends="ffmpeg-devel libXcomposite-devel libXdamage-devel libXrandr-devel libXtst-devel libwebp-devel libxkbfile-devel pygtk-devel x264-devel libvpx-devel" depends="pygtk python-Pillow xorg-server-xvfb python-rencode python-lz4 - python-cups xf86-video-dummy python-PyOpenGL-accelerate cups - python-dbus xauth python-numpy" + python-cups xf86-video-dummy cups python-dbus xauth" short_desc="Like screen(1) for X" maintainer="Leah Neukirchen " license="GPL-2" @@ -22,6 +21,10 @@ homepage="http://xpra.org/" distfiles="https://xpra.org/src/${pkgname}-${version}.tar.xz" checksum=ca9e9622a9d435f9591bf60baec50ea02ebad4e0c0017e1df43dfddd6616e807 +if [ -z "$CROSS_BUILD" ]; then + depends+=" python-PyOpenGL-accelerate" +fi + post_extract() { sed -i 's/-Werror/-Wno-error/g' setup.py # ugh }