# Contributor: Bug # Maintainer: Bug pkgname=xpra-winswitch pkgver=2.1.3 pkgrel=1 pkgdesc="Modified version of xpra by Winswitch" arch=('i686' 'x86_64') url='http://xpra.org/' license=('GPL2') depends=('python2' 'pygtk' 'libxtst' 'python2-pillow' 'python2-lz4' 'ffmpeg' 'libvpx' 'xf86-video-dummy' 'libxkbfile' 'python2-numpy' 'rencode' 'python2-opengl' 'python2-gtkglext' 'python-lz4' 'python-opengl') optdepends=('x264: Codec' 'python2-dbus: dbus features' 'python2-pycups: Printing support' 'python2-netifaces: mdns' 'python2-cryptography: Cryptography' 'python-cryptography: Cryptography' 'pam-selinux: Proxy Server Support') conflicts=('parti-all') provides=('parti-all') makedepends=('python2-setuptools' 'cython2' 'uglify-js') backup=('etc/xpra/xpra.conf' 'etc/xpra/xorg.conf' # 'etc/xpra/cuda.conf' 'etc/xpra/nvenc.keys' 'etc/xpra/conf.d/05_features.conf' 'etc/xpra/conf.d/10_network.conf' 'etc/xpra/conf.d/12_ssl.conf' 'etc/xpra/conf.d/15_file_transfers.conf' 'etc/xpra/conf.d/16_printing.conf' 'etc/xpra/conf.d/20_sound.conf' 'etc/xpra/conf.d/30_picture.conf' 'etc/xpra/conf.d/35_webcam.conf' 'etc/xpra/conf.d/40_client.conf' 'etc/xpra/conf.d/42_client_keyboard.conf' 'etc/xpra/conf.d/50_server_network.conf' 'etc/xpra/conf.d/55_server_x11.conf' 'etc/xpra/conf.d/60_server.conf' 'etc/xpra/conf.d/65_proxy.conf' 'etc/pam.d/xpra') source=("https://xpra.org/src/xpra-$pkgver.tar.xz") sha256sums=('359fded90cb63f2c725ae64d0cfd0e156de16ddd68cb71e7aeae009cca1d1464') build() { cd ${srcdir}/xpra-$pkgver export pkgdir #python2 setup.py build CFLAGS="$CFLAGS -fno-strict-aliasing" python2 setup.py build --without-enc_x265 } package() { cd ${srcdir}/xpra-$pkgver python2 setup.py install --root=${pkgdir} --without-enc_x265 mkdir -p ${pkgdir}/usr/lib/sysusers.d }