2022-02-11 21:43:11 +00:00
|
|
|
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
|
|
|
# Contributor: Bug <bug2000@gmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove makedepend on pandoc
|
|
|
|
# - setup.py with --without-docs
|
|
|
|
|
|
|
|
pkgname=xpra
|
2024-10-17 11:59:30 +00:00
|
|
|
pkgver=6.2.0
|
2024-05-06 14:01:50 +00:00
|
|
|
pkgrel=1
|
2022-02-11 21:43:11 +00:00
|
|
|
pkgdesc="multi-platform screen and application forwarding system screen for X11"
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://www.xpra.org'
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('gtk3' 'python' 'libxtst' 'python-cairo' 'python-gobject' 'python-pillow' 'python-lz4'
|
2022-06-21 14:42:12 +00:00
|
|
|
'ffmpeg' 'libvpx' 'xf86-video-dummy' 'libxkbfile' 'libxres'
|
2022-02-11 21:43:11 +00:00
|
|
|
'python-netifaces' 'python-rencode' 'python-opengl'
|
|
|
|
'python-lz4')
|
|
|
|
optdepends=('x264: Codec' 'python-dbus: dbus features'
|
|
|
|
'python-pycups: Printing support'
|
|
|
|
'python-cryptography: Cryptography'
|
|
|
|
'python-numpy: GPU accelerated capture and compression for NVIDIA cards'
|
|
|
|
'gst-python: Sound Forwarding'
|
|
|
|
'opencv: Webcam Forwarding')
|
|
|
|
makedepends=('pkgconf' 'pygobject-devel' 'python-setuptools' 'cython' 'uglify-js')
|
|
|
|
backup=('etc/xpra/xpra.conf' 'etc/xpra/xorg.conf'
|
|
|
|
'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=($pkgname-$pkgver.tar.xz::$url/src/$pkgname-$pkgver.tar.xz
|
2023-03-16 15:31:46 +00:00
|
|
|
$pkgname-$pkgver.tar.xz.asc::$url/src/$pkgname-$pkgver.tar.xz.gpg)
|
2022-02-11 21:43:11 +00:00
|
|
|
|
2024-10-17 11:59:30 +00:00
|
|
|
md5sums=('f465b07d95601d053e9d48da3c03e9cb'
|
2023-03-16 15:31:46 +00:00
|
|
|
'SKIP')
|
2024-10-17 11:59:30 +00:00
|
|
|
sha1sums=('46c84c9ea90a46c3c665a9b1d1fcd077e6a5243a'
|
2023-03-16 15:31:46 +00:00
|
|
|
'SKIP')
|
2024-10-17 11:59:30 +00:00
|
|
|
sha256sums=('2d76b40043c7ddc3fc94c24cdc030a9b071049aaf2c50e68f322e53eba6e8537'
|
2023-03-16 15:31:46 +00:00
|
|
|
'SKIP')
|
2024-05-06 14:01:50 +00:00
|
|
|
validpgpkeys=('B4993B57323148E37977E5D873254CAD17978FAF') # Xpra <xpra@xpra.org>
|
2022-02-11 21:43:11 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/$pkgname-$pkgver"
|
|
|
|
python setup.py build --without-docs
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/$pkgname-$pkgver"
|
|
|
|
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build --without-docs
|
|
|
|
sed -i 's|/build/xpra/pkg/xpra/etc/xpra/xorg.conf|/etc/xpra/xorg.conf|' "${pkgdir}"/etc/xpra/conf.d/55_server_x11.conf
|
|
|
|
mv "${pkgdir}"/lib/* "${pkgdir}"/usr/lib/
|
|
|
|
rmdir "${pkgdir}/lib"
|
|
|
|
mkdir -p "${pkgdir}"/usr/share/dbus-1
|
|
|
|
#Move D-BUS Policy
|
|
|
|
mv "${pkgdir}"/{etc,usr/share}/dbus-1/system.d
|
|
|
|
#Fix for FS#69804
|
|
|
|
chmod +x "${pkgdir}"/usr/bin/*
|
|
|
|
}
|