### this file is sourced not run
PKGVER=0.9.8 # this is the known working version, versions after this up to 0.13.3 creates blank screen
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=xpra-$PKGVER.tar.xz
MD5SUM=df6c4f948c3da5190aec9479f3ad874c
SRC_URL=https://www.xpra.org/src/$TARBALL
BUNDLE=

SLACKREQ='python xorg-server python-pygtk xf86-video-dummy' # cython compile-time only
SLACKDESC="xpra: xpra $PKGVER (X Persistent Remote Access)  
xpra:  
xpra: Xpra gives you \"persistent remote applications\" for X. That is, unlike 
xpra: normal X applications, applications run with xpra are "persistent" - you 
xpra: can run them remotely, and they don't die if your connection does. You 
xpra: can detach them, and reattach them later - even from another computer - 
xpra: with no loss of state. And unlike VNC or RDP, xpra is for remote 
xpra: applications, not remote desktops - individual applications show up as 
xpra: individual windows on your screen, managed by your window manager. 
xpra: They're not trapped in a box.  
xpra: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	! [ -e /usr/bin/env ] && ln -sf /tools/bin/env /usr/bin
	cd /tmp/xpra*/
	python setup.py install &&
	rm -f /usr/bin/env &&
	pkg_build_slackdesc &&
	cp /usr/share/icons/xpra.png /usr/share/pixmaps
}
