mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-03 23:49:04 +00:00
Relax GTK-VNC version again
A previous commit needlessly increased the min required GTK-VNC
This commit is contained in:
parent
e1064a5355
commit
c3baafc898
@ -15,7 +15,8 @@ LIBXML2_REQUIRED="2.6.0"
|
||||
LIBVIRT_REQUIRED="0.6.0"
|
||||
GTK2_REQUIRED="2.12.0"
|
||||
GTK3_REQUIRED="3.0"
|
||||
GTK_VNC_REQUIRED="0.4.3"
|
||||
GTK_VNC1_REQUIRED="0.3.8"
|
||||
GTK_VNC2_REQUIRED="0.4.0"
|
||||
SPICE_GTK_REQUIRED="0.9"
|
||||
|
||||
AC_PROG_CC
|
||||
@ -80,11 +81,13 @@ AC_MSG_RESULT([$with_gtk])
|
||||
case "$with_gtk" in
|
||||
2.0) GTK_API_VERSION=2.0
|
||||
GTK_REQUIRED=$GTK2_REQUIRED
|
||||
GTK_VNC_REQUIRED=$GTK_VNC1_REQUIRED
|
||||
GTK_VNC_API_VERSION=1.0
|
||||
SPICE_GTK_API_VERSION=2.0
|
||||
;;
|
||||
3.0) GTK_API_VERSION=3.0
|
||||
GTK_REQUIRED=$GTK3_REQUIRED
|
||||
GTK_VNC_REQUIRED=$GTK_VNC2_REQUIRED
|
||||
GTK_VNC_API_VERSION=2.0
|
||||
SPICE_GTK_API_VERSION=3.0
|
||||
;;
|
||||
|
||||
@ -40,9 +40,9 @@ BuildRequires: gtk2-devel >= 2.12.0
|
||||
BuildRequires: libvirt-devel >= 0.6.0
|
||||
BuildRequires: libxml2-devel
|
||||
%if %{with_gtk3}
|
||||
BuildRequires: gtk-vnc2-devel >= 0.4.3
|
||||
BuildRequires: gtk-vnc2-devel >= 0.4.0
|
||||
%else
|
||||
BuildRequires: gtk-vnc-devel >= 0.4.3
|
||||
BuildRequires: gtk-vnc-devel >= 0.3.8
|
||||
%endif
|
||||
%if %{with_spice}
|
||||
%if %{with_gtk3}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user