mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 14:11:47 +00:00
build-sys: Require a new enough spice-protocol in .pc file
spice-server headers expose SpiceImageCompression which is only available from recent spice-protocol releases. This dependency must be expressed in Requires and not Requires.private
This commit is contained in:
parent
3a5fb1c5e5
commit
c615ebb01c
@ -109,8 +109,9 @@ AS_IF([test x"$have_smartcard" = "xyes"], [
|
||||
AS_VAR_APPEND([SPICE_REQUIRES], [" libcacard >= 0.1.2"])
|
||||
])
|
||||
|
||||
PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= 0.12.10])
|
||||
AS_VAR_APPEND([SPICE_REQUIRES], [" spice-protocol >= 0.12.10"])
|
||||
SPICE_PROTOCOL_MIN_VER=0.12.10
|
||||
PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= $SPICE_PROTOCOL_MIN_VER])
|
||||
AC_SUBST([SPICE_PROTOCOL_MIN_VER])
|
||||
|
||||
PKG_CHECK_MODULES([GLIB2], [glib-2.0 >= 2.22])
|
||||
AS_VAR_APPEND([SPICE_REQUIRES], [" glib-2.0 >= 2.22"])
|
||||
|
||||
@ -7,6 +7,7 @@ Name: spice
|
||||
Description: SPICE server library
|
||||
Version: @VERSION@
|
||||
|
||||
Requires: spice-protocol >= @SPICE_PROTOCOL_MIN_VER@
|
||||
Requires.private: @SPICE_REQUIRES@
|
||||
Libs: -L${libdir} -lspice-server
|
||||
Libs.private: @SPICE_NONPKGCONFIG_LIBS@
|
||||
|
||||
Loading…
Reference in New Issue
Block a user