diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-02-21 23:36:15 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-02-22 10:48:16 +0100 |
commit | 4da7b87f7d69be3bdbad1f4e79843cbcf6d542b9 (patch) | |
tree | 83e1df293739a44ab2f757197f4cacbf2fb61ecb /package/freerdp | |
parent | 361f528aea3682929990e53d38f72f30ab86ba3a (diff) |
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>
Diffstat (limited to 'package/freerdp')
-rw-r--r-- | package/freerdp/freerdp.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk index ffe014cd1..32b471409 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 |