spice-gtk: just -Wno-error is not enough, also fix dependency

[ci skip]
This commit is contained in:
q66 2019-08-11 20:27:09 +02:00 committed by Enno Boland
parent 330e188d0b
commit 7547c9f57f

View file

@ -1,7 +1,7 @@
# Template file for 'spice-gtk'
pkgname=spice-gtk
version=0.37
revision=2
revision=3
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)
@ -23,7 +23,7 @@ homepage="https://spice-space.org"
distfiles="https://spice-space.org/download/gtk/${pkgname}-${version}.tar.bz2"
checksum=1f28b706472ad391cda79a93fd7b4c7a03e84b88fc46ddb35dddbe323c923bb7
CFLAGS="-Wno-error"
CFLAGS="-Wno-error -Wno-error=unused-but-set-variable"
build_options="gir vala"
build_options_default="gir vala"
@ -34,7 +34,7 @@ esac
spice-gtk-devel_package() {
depends="gtk+3-devel pixman-devel libressl-devel opus-devel
libva-devel libsasl-devel lz4-devel usbredir-devel phodav-devel
libva-devel libsasl-devel liblz4-devel usbredir-devel phodav-devel
json-glib-devel gstreamer1-devel gst-plugins-base1-devel
$(vopt_if gir libgirepository-devel) ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"