void-packages/srcpkgs/xpra/template
2018-04-02 20:05:47 +02:00

34 lines
1.1 KiB
Bash

# Template file for 'xpra'
pkgname=xpra
version=2.2.6
revision=1
build_style=python2-module
conf_files="
/etc/xpra/xpra.conf
/etc/xpra/xorg.conf
/etc/xpra/conf.d/*"
pycompile_module="xpra"
hostmakedepends="pkg-config python-Cython"
makedepends="ffmpeg-devel libXcomposite-devel libXrandr-devel libXtst-devel
libvpx-devel libwebp-devel libxkbfile-devel pygtk-devel x264-devel"
depends="cups pygtk python-Pillow python-PyOpenGL-accelerate python-cups
python-dbus python-lz4 python-rencode xauth xf86-video-dummy xorg-server-xvfb"
short_desc="Like screen(1) for X"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://xpra.org/"
distfiles="https://xpra.org/src/${pkgname}-${version}.tar.xz"
checksum=df732da8178f3314e93823b7d3c2f0f2b8242f3fa1aec87eb56fc90fe1b3deff
if [ -z "$CROSS_BUILD" ]; then
depends+=" python-PyOpenGL-accelerate"
fi
post_extract() {
sed -i 's/-Werror/-Wno-error/g' setup.py # ugh
}
post_install() {
sed -i "s:${DESTDIR/\/\//\/}::" ${DESTDIR}/etc/xpra/conf.d/55_server_x11.conf
rm -rf ${DESTDIR}/etc/init.d
}