36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'xpra'
|
|
pkgname=xpra
|
|
version=2.0.2
|
|
revision=1
|
|
build_style=python2-module
|
|
conf_files="
|
|
/etc/xpra/xpra.conf
|
|
/etc/xpra/xorg.conf
|
|
/etc/xpra/conf.d/*"
|
|
pycompile_module="xpra"
|
|
hostmakedepends="python pkg-config python-Cython"
|
|
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 cups python-dbus xauth"
|
|
short_desc="Like screen(1) for X"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2"
|
|
homepage="http://xpra.org/"
|
|
distfiles="https://xpra.org/src/${pkgname}-${version}.tar.xz"
|
|
checksum=4341bb6652d6e7784dddc02c63a634019c782332e9af1c08f4b8ec24f57a1f26
|
|
|
|
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
|
|
}
|