Date: Tuesday, November 1, 2022 @ 23:09:25
Author: felixonmars
Revision: 1340717
archrelease: copy trunk to community-staging-x86_64
Added:
spice-gtk/repos/community-staging-x86_64/
spice-gtk/repos/community-staging-x86_64/PKGBUILD
(from rev 1340716, spice-gtk/trunk/PKGBUILD)
spice-gtk/repos/community-staging-x86_64/keys/
spice-gtk/repos/community-staging-x86_64/spice-gtk.install
(from rev 1340716, spice-gtk/trunk/spice-gtk.install)
-------------------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
spice-gtk.install | 8 +++++++
2 files changed, 62 insertions(+)
Copied: spice-gtk/repos/community-staging-x86_64/PKGBUILD (from rev 1340716,
spice-gtk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-11-01 23:09:25 UTC (rev 1340717)
@@ -0,0 +1,54 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Maintainer: Brett Cornwall <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Stefano Facchini <[email protected]>
+# Contributor: Jonathan Lestrelin <[email protected]>
+# Contributor: Lucio Zara <[email protected]>
+
+pkgname=spice-gtk
+pkgver=0.41
+pkgrel=5
+pkgdesc="GTK+ client library for SPICE"
+arch=('x86_64')
+url="https://www.spice-space.org/"
+license=('LGPL2.1')
+depends=(
+ 'gst-plugins-base'
+ 'gst-plugins-good'
+ 'libcacard'
+ 'libgtk-3.so'
+ 'libjpeg.so'
+ 'libopus.so'
+ 'phodav'
+ 'polkit'
+ 'usbredir'
+)
+makedepends=(
+ 'gobject-introspection'
+ 'meson'
+ 'spice-protocol'
+ 'usbutils'
+ 'vala'
+ 'wayland-protocols'
+)
+provides=("spice-glib=$pkgver" "spice-gtk3=$pkgver")
+replaces=('spice-glib' 'spice-gtk3')
+install=spice-gtk.install
+options=('debug')
+source=("https://www.spice-space.org/download/gtk/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('d8f8b5cbea9184702eeb8cc276a67d72acdb6e36e7c73349fb8445e5bca0969f'
+ 'SKIP')
+validpgpkeys=('206D3B352F566F3B0E6572E997D9123DE37A484F') # Victor Toso de
Carvalho <[email protected]>
+
+build() {
+ arch-meson $pkgname-$pkgver build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
Copied: spice-gtk/repos/community-staging-x86_64/spice-gtk.install (from rev
1340716, spice-gtk/trunk/spice-gtk.install)
===================================================================
--- community-staging-x86_64/spice-gtk.install (rev 0)
+++ community-staging-x86_64/spice-gtk.install 2022-11-01 23:09:25 UTC (rev
1340717)
@@ -0,0 +1,8 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be
run as root
+ setcap CAP_FOWNER=+ep /usr/lib/spice-client-glib-usb-acl-helper
+}
+
+post_upgrade() {
+ post_install
+}