From 4da7b87f7d69be3bdbad1f4e79843cbcf6d542b9 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 21 Feb 2015 23:36:15 +0100 Subject: [PATCH] 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 --- package/freerdp/freerdp.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2