package/freerdp: conditionally build gstreamer support

Avoid a warning at configure time when gstreamer is missing.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2015-02-21 23:36:15 +01:00 committed by Thomas Petazzoni
parent 361f528aea
commit 4da7b87f7d

View File

@ -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