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