1 # Maintainer: Brett Cornwall <ainola@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 # Contributor: Stefano Facchini <stefano.facchini@gmail.com>
5 # Contributor: Jonathan Lestrelin <zanko@daemontux.org>
6 # Contributor: Lucio Zara <pennega@gmail.com>
11 pkgdesc="GTK+ client library for SPICE"
13 url="https://www.spice-space.org/"
45 'gobject-introspection'
53 provides=("spice-glib=$pkgver" "spice-gtk3=$pkgver")
54 replaces=('spice-glib' 'spice-gtk3')
55 install=spice-gtk.install
56 source=("https://www.spice-space.org/download/gtk/$pkgname-$pkgver.tar.xz"{,.sig}
57 'remove-gobject-introspection-dep.patch')
58 sha256sums=('9380117f1811ad1faa1812cb6602479b6290d4a0d8cc442d44427f7f6c0e7a58'
60 '1a016e9c0a0d0b355993b1b934d02d516c4626a262c2b0048551e00db316cb70')
61 validpgpkeys=('206D3B352F566F3B0E6572E997D9123DE37A484F') # Victor Toso de Carvalho <me@victortoso.com>
64 # https://gitlab.freedesktop.org/spice/spice-gtk/-/merge_requests/117
65 patch -Np1 -d $pkgname-$pkgver -i ../remove-gobject-introspection-dep.patch
69 arch-meson $pkgname-$pkgver build
70 meson compile -C build
74 meson test -C build --print-errorlogs
78 meson install -C build --destdir "$pkgdir"