[arch-commits] Commit in xpra/repos (2 files)

Maxime Gauduin alucryd at archlinux.org
Fri Apr 3 11:07:52 UTC 2020


    Date: Friday, April 3, 2020 @ 11:07:51
  Author: alucryd
Revision: 610808

archrelease: copy trunk to community-staging-x86_64

Added:
  xpra/repos/community-staging-x86_64/
  xpra/repos/community-staging-x86_64/PKGBUILD
    (from rev 610807, xpra/trunk/PKGBUILD)

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

Copied: xpra/repos/community-staging-x86_64/PKGBUILD (from rev 610807, xpra/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-03 11:07:51 UTC (rev 610808)
@@ -0,0 +1,63 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Bug <bug2000 at gmail.com>
+
+pkgname=xpra
+pkgver=3.0.7
+pkgrel=2
+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'
+         'ffmpeg' 'libvpx' 'xf86-video-dummy' 'libxkbfile'
+         '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
+        $pkgname-$pkgver.tar.xz.asc::$url/src/$pkgname-$pkgver.tar.xz.gpg)
+
+md5sums=('56368006af88bf5e7d2afa04ca88b6f1'
+         'SKIP')
+sha1sums=('4aa532bf56901ac17233a633f971205840c56c05'
+          'SKIP')
+sha256sums=('dc88ab4f7011f0f50f79f2cba97dd14503b336b451db2849f92bdf921b2b8c44'
+            'SKIP')
+validpgpkeys=('C11C0A4DF702EDF6C04F458C18ADB31CF18AD6BB') # Antoine Martin <antoine at nagafix.co.uk>
+
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  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
+}


More information about the arch-commits mailing list