blob: ce1d7c57fa694918393d4c1afdd1874e3d061323 (
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
41
42
43
44
45
46
47
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=xpra
pkgver=0.17.6
pkgrel=1
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 xorg-server
py-numpy py-pillow py-gtkglext py-lz4 py-rencode py-opencl"
depends_dev="python2-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
x265-dev libvpx-dev ffmpeg-dev libwebp-dev"
makedepends="$depends_dev cython linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tests::noarch"
source="http://xpra.org/src/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
# https://www.xpra.org/trac/ticket/1080
CFLAGS="$CFLAGS -fno-strict-aliasing"
python2 setup.py build \
--with-csc_opencl \
--with-bundle_tests \
|| return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
# fixes Error relocating /usr/lib/xorg/modules/drivers/dummy_drv.so: fbPictureInit: symbol not found
printf '\nSection "Module"\n Load\t"fb"\nEndSection' >> $pkgdir/etc/xpra/xorg.conf
# https://bugs.alpinelinux.org/issues/5478
}
tests() {
cd "$builddir"
mkdir -p "$subpkgdir"/usr/share/xpra
cp -rf tests "$subpkgdir"/usr/share/xpra/
}
md5sums="8572df8e71f6f5b9ea8ebcdd40c0bedf xpra-0.17.6.tar.xz"
sha256sums="f266df26c866699ec71fe7e33e71d38e397563230f0bb12f8b20bc422a2afbfc xpra-0.17.6.tar.xz"
sha512sums="9a553e446390792907ec90038b680e5e63a4b91b0dd1e741b65e4dc6e4c899ea550a2e5728057104419686339a3aa557585437d38913f82fa59be013afa2d8f2 xpra-0.17.6.tar.xz"
|