[arch-commits] Commit in xpra/repos/community-x86_64 (PKGBUILD PKGBUILD)
Giancarlo Razzolini
grazzolini at archlinux.org
Sat Feb 27 12:54:05 UTC 2021
Date: Saturday, February 27, 2021 @ 12:54:04
Author: grazzolini
Revision: 874937
archrelease: copy trunk to community-x86_64
Added:
xpra/repos/community-x86_64/PKGBUILD
(from rev 874936, xpra/trunk/PKGBUILD)
Deleted:
xpra/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-27 12:53:32 UTC (rev 874936)
+++ PKGBUILD 2021-02-27 12:54:04 UTC (rev 874937)
@@ -1,63 +0,0 @@
-# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
-# Contributor: Bug <bug2000 at gmail.com>
-
-pkgname=xpra
-pkgver=4.0.6
-pkgrel=1
-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=('55f08fbe4e4c0a7c1010a2ad1876846c'
- 'SKIP')
-sha1sums=('106a0ccea67827098191dac18baa1dfc08ba036e'
- 'SKIP')
-sha256sums=('9c672f6d914661dda743be4b2f860dfb17166fb52c562037380aa972b4f089e8'
- '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
-}
Copied: xpra/repos/community-x86_64/PKGBUILD (from rev 874936, xpra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-27 12:54:04 UTC (rev 874937)
@@ -0,0 +1,65 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Bug <bug2000 at gmail.com>
+
+pkgname=xpra
+pkgver=4.0.6
+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=('55f08fbe4e4c0a7c1010a2ad1876846c'
+ 'SKIP')
+sha1sums=('106a0ccea67827098191dac18baa1dfc08ba036e'
+ 'SKIP')
+sha256sums=('9c672f6d914661dda743be4b2f860dfb17166fb52c562037380aa972b4f089e8'
+ '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
+ #Fix for FS#69804
+ chmod +x "${pkgdir}"/usr/bin/*
+}
More information about the arch-commits
mailing list