1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Patryk Kowalczyk < patryk at kowalczyk dot ws>
9 url="https://www.spice-space.org"
11 depends=('pixman' 'opus' 'libjpeg-turbo' 'glib2' 'libsasl' 'lz4')
12 makedepends=('meson' 'spice-protocol' 'libcacard')
13 checkdepends=('gdk-pixbuf2' 'glib-networking')
14 provides=('libspice-server.so')
15 source=("https://www.spice-space.org/download/releases/spice-server/$pkgname-$pkgver.tar.bz2"{,.sig})
16 sha256sums=('b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5'
18 validpgpkeys=('206D3B352F566F3B0E6572E997D9123DE37A484F') # Victor Toso <victortoso@redhat.com>
21 sed -i "s/if not version_info.contains('git')/if version_info.length() >= 4/" $pkgname-$pkgver/server/meson.build
22 # Consider removing the following sed once this issue is resolved:
23 # https://gitlab.freedesktop.org/spice/spice/-/issues/62
24 sed -i "/doxygen.sh/d" $pkgname-$pkgver/meson.build
28 arch-meson "$pkgname-$pkgver" build -D gstreamer=no
33 meson test -C build --print-errorlogs
37 DESTDIR="$pkgdir" meson install -C build