# Template file for 'xpra'
pkgname=xpra
version=0.16.2
revision=2
build_style=python-module
make_build_args="--with-webp"
make_install_args="--with-webp"
conf_files="/etc/xpra/xpra.conf /etc/xpra/xorg.conf"
pycompile_module="xpra"
hostmakedepends="python pkg-config python-Cython"
makedepends="pygtk-devel libXtst-devel libXrandr-devel
 libxkbfile-devel libXcomposite-devel libXdamage-devel x264-devel libwebp-devel
 libvpx-devel"
depends="pygtk python-Pillow xorg-server-xvfb python-rencode"
short_desc="Like screen(1) for X"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://xpra.org/"
distfiles="https://xpra.org/src/${pkgname}-${version}.tar.xz"
checksum=ce99b941f63aeae465c9d095bcdef857227f8102759df3d013fbfb65c8cea540

post_extract() {
	sed -i 's/-Werror/-Wno-error/g' setup.py  # ugh
}
