aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xpra/APKBUILD
blob: 6db479501062214da78c09b4714d2fb7760f76a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=xpra
pkgver=0.15.6
pkgrel=0
pkgdesc="Xpra is 'screen for X' & allows you to run X programs, usually on a remote host over SSH or encrypted tcp."
url="http://xpra.org"
arch="all"
license="GPLv2+"
depends="py-gobject py-gtk py-imaging xf86-video-dummy xvfb setxkbmap"
depends_dev="python-dev cython-dev libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev libxrandr-dev
		py-gobject-dev py-gtk-dev libxkbfile-dev gtk+2.0-dev x264-dev libvpx-dev ffmpeg-dev libwebp-dev"
makedepends="$depends_dev cython"
subpackages="$pkgname-dev $pkgname-doc"
source="http://xpra.org/src/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
        cd "$_builddir"
	python setup.py build || return 1
}

package() {
        cd "$_builddir"
        python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="0e115be1df40fe2ce2fe63ff2460488a  xpra-0.15.6.tar.xz"
sha256sums="cebd8d22d4173610258c835f175ad3781cf49bf91b3d6d3c36c35a825228fa32  xpra-0.15.6.tar.xz"
sha512sums="750b24d06b6af93757e54651c0e5e55192280715c4439e56881824da90dcea25460631c993bf239c6f9023e74dce5063e32688e31c616d036da16fa3da8c304a  xpra-0.15.6.tar.xz"