From: Yann E. MORIN Date: Sat, 21 Feb 2015 22:36:15 +0000 (+0100) Subject: package/freerdp: conditionally build gstreamer support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4da7b87f7d69be3bdbad1f4e79843cbcf6d542b9;p=buildroot.git package/freerdp: conditionally build gstreamer support Avoid a warning at configure time when gstreamer is missing. Reported-by: Thomas Petazzoni Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk index ffe014cd1d..32b4714090 100644 --- a/package/freerdp/freerdp.mk +++ b/package/freerdp/freerdp.mk @@ -14,6 +14,13 @@ FREERDP_LICENSE_FILES = LICENSE FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF +ifeq ($(BR2_PACKAGE_GSTREAMER),y) +FREERDP_CONF_OPTS += -DWITH_GSTREAMER=ON +FREERDP_DEPENDENCIES += gstreamer +else +FREERDP_CONF_OPTS += -DWITH_GSTREAMER=OFF +endif + ifeq ($(BR2_PACKAGE_CUPS),y) FREERDP_CONF_OPTS += -DWITH_CUPS=ON FREERDP_DEPENDENCIES += cups