xpra: restore cross compilation
This commit is contained in:
parent
acd783d193
commit
1871bd7a30
1 changed files with 5 additions and 2 deletions
|
@ -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 <leah@vuxu.org>"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue