void-packages/srcpkgs/xpra/template

32 lines
990 B
Bash

# Template file for 'xpra'
pkgname=xpra
version=1.0
revision=2
build_style=python2-module
conf_files="
/etc/xpra/xpra.conf
/etc/xpra/xorg.conf
/etc/xpra/conf.d/*
/etc/xpra/cuda.conf
/etc/xpra/nvenc.keys"
pycompile_module="xpra"
hostmakedepends="python pkg-config python-Cython"
makedepends="ffmpeg-devel libXcomposite-devel libXdamage-devel libXrandr-devel
libXtst-devel libvpx-devel libwebp-devel libxkbfile-devel pygtk-devel
x264-devel"
depends="pygtk python-Pillow xorg-server-xvfb python-rencode python-lz4"
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=87b7c4e4bd4afe40363b23add4b3246004c8a027b305faee23b6063761c3826a
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
}