diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 22:20:34 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-09 09:59:35 -0300 |
commit | ff55947a9b05839ed2ee7a38a291fa5ee1a4d375 (patch) | |
tree | 4864c1168e460d0ef84edcad2fd875da1b962780 /community/xpra | |
parent | 55e7c057a5ba32e327a525f3c29d011c163d1da3 (diff) | |
download | aports-ff55947a9b05839ed2ee7a38a291fa5ee1a4d375.tar.bz2 aports-ff55947a9b05839ed2ee7a38a291fa5ee1a4d375.tar.xz |
community/xpra: upgrade to 2.5.3
Diffstat (limited to 'community/xpra')
-rw-r--r-- | community/xpra/APKBUILD | 82 |
1 files changed, 65 insertions, 17 deletions
diff --git a/community/xpra/APKBUILD b/community/xpra/APKBUILD index 17c0d4eb25..fa9c4e6fa6 100644 --- a/community/xpra/APKBUILD +++ b/community/xpra/APKBUILD @@ -1,40 +1,88 @@ # Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=xpra -pkgver=2.4.2 -pkgrel=3 +pkgver=2.5.3 +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="https://xpra.org" # !armhf: fails to build -arch="" # Requires numpy which is py3- +arch="all !arhmf" license="GPL-2.0-or-later" -depends="py-gobject py-gtk py-gtkglext py-imaging py-opencl>=2018.1.1-r1 py-rencode py2-cryptography - py2-lz4 py2-numpy py2-pillow py2-xxhash setxkbmap xf86-video-dummy xorg-server xvfb" -makedepends="cython ffmpeg-dev gstreamer-dev gtk+2.0-dev libvpx-dev libx11-dev - libxcomposite-dev libxdamage-dev libxkbfile-dev libxrandr-dev libxtst-dev linux-headers - py-gobject-dev py-gtk-dev py2-yuicompressor python2-dev x264-dev x265-dev" +depends=" + py3-gobject3 + py3-numpy + py3-opengl + py3-opengl-accelerate + py3-rencode + py3-lz4 + py3-cryptography + py3-dbus + py3-openssl + py3-brotli + + py3-pillow + + xf86-video-dummy + xorg-server + xvfb + " +makedepends=" + x264-dev + x265-dev + ffmpeg-dev + libvpx-dev + libwebp-dev + libpng-dev + libjpeg-turbo-dev + + libogg-dev + opus-dev + libvorbis-dev + + libx11-dev + libxrandr-dev + libxtst-dev + libxfixes-dev + libxkbfile-dev + libxcomposite-dev + libxdamage-dev + + gtk+3.0-dev + glib-dev + + py-gobject3-dev + py-cairo-dev + + lz4-dev + + python3-dev + cython3 + yasm + nasm + gmp-dev + mpfr-dev + py3-yuicompressor + " subpackages="$pkgname-openrc $pkgname-doc $pkgname-tests::noarch $pkgname-webclient::noarch" options="!check" -source="https://xpra.org/src/$pkgname-$pkgver.tar.xz" -builddir="$srcdir/$pkgname-$pkgver" +source="https://xpra.org/src/xpra-$pkgver.tar.xz" build() { - cd "$builddir" - # https://www.xpra.org/trac/ticket/1080 CFLAGS="$CFLAGS -fno-strict-aliasing" - python2 setup.py build \ + python3 setup.py build \ --with-bundle_tests } package() { - cd "$builddir" - - python2 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" # Fixes Error relocating /usr/lib/xorg/modules/drivers/dummy_drv.so: fbPictureInit: symbol not found # https://bugs.alpinelinux.org/issues/5478 printf '\nSection "Module"\n Load\t"fb"\nEndSection\n' >> "$pkgdir"/etc/xpra/xorg.conf + + rm -rf "$pkgdir"/usr/lib/tmpfiles.d/xpra.conf + rm -rf "$pkgdir"/usr/lib/sysusers.d/xpra.conf } tests() { @@ -53,4 +101,4 @@ webclient() { cp -rf usr/share/xpra/www "$subpkgdir"/usr/share/xpra/ } -sha512sums="a450691c21dbe58e7a8ac3b1ba6bb91021d9b1659180e97a18fa02f1f1af8d89b4b13cdfcadc95d922fa301416107d4b0883b0db76967ad8c464d183c60d6a24 xpra-2.4.2.tar.xz" +sha512sums="1079d3b80fecfa454d25cc0f616f0abf8263723c4b59ed4aa584973c5975686fd8bc02bf08f13ce035e5756dc795048581e9c3cec565a008d9127d8eb81139c1 xpra-2.5.3.tar.xz" |