diff options
author | Julian Lunz <git@jlunz.de> | 2012-06-05 11:19:53 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-06-06 00:34:16 +0200 |
commit | d9f72abf4bab4e01c5e5848c8b8f05ff6065668a (patch) | |
tree | 6d4936aed7e95e56b1b9dc329c3833129fcb771a /package/freerdp/freerdp.mk | |
parent | 6457adf87b17c597761a503cfbee4923a3772ee8 (diff) | |
download | buildroot-novena-d9f72abf4bab4e01c5e5848c8b8f05ff6065668a.tar.gz buildroot-novena-d9f72abf4bab4e01c5e5848c8b8f05ff6065668a.zip |
freerdp: new package
[Peter: fix help, required and optional dependencies]
Signed-off-by: Julian Lunz <git@jlunz.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/freerdp/freerdp.mk')
-rw-r--r-- | package/freerdp/freerdp.mk | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk new file mode 100644 index 000000000..aeef3fc07 --- /dev/null +++ b/package/freerdp/freerdp.mk @@ -0,0 +1,62 @@ +############################################################# +# +# FreeRDP +# +############################################################# + +FREERDP_VERSION = 1.0.1 +FREERDP_SITE = https://github.com/downloads/FreeRDP/FreeRDP + +FREERDP_DEPENDENCIES = openssl zlib \ + xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor + +ifeq ($(BR2_PACKAGE_CUPS),y) +FREERDP_CONF_OPT += -DWITH_CUPS=ON +FREERDP_DEPENDENCIES += cups +else +FREERDP_CONF_OPT += -DWITH_CUPS=OFF +endif + +ifeq ($(BR2_PACKAGE_FFMPEG),y) +FREERDP_CONF_OPT += -DWITH_FFMPEG=ON +FREERDP_DEPENDENCIES += ffmpeg +else +FREERDP_CONF_OPT += -DWITH_FFMPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +FREERDP_CONF_OPT += -DWITH_ALSA=ON +FREERDP_DEPENDENCIES += alsa-lib +else +FREERDP_CONF_OPT += -DWITH_ALSA=OFF +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +FREERDP_CONF_OPT += -DWITH_PULSEAUDIO=ON +FREERDP_DEPENDENCIES += pulseaudio +else +FREERDP_CONF_OPT += -DWITH_PULSEAUDIO=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +FREERDP_CONF_OPT += -DWITH_XINERAMA=ON +FREERDP_DEPENDENCIES += xlib_libXinerama +else +FREERDP_CONF_OPT += -DWITH_XINERAMA=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y) +FREERDP_CONF_OPT += -DWITH_XKBFILE=ON +FREERDP_DEPENDENCIES += xlib_libxkbfile +else +FREERDP_CONF_OPT += -DWITH_XKBFILE=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y) +FREERDP_CONF_OPT += -DWITH_XV=ON +FREERDP_DEPENDENCIES += xlib_libXv +else +FREERDP_CONF_OPT += -DWITH_XV=OFF +endif + +$(eval $(call CMAKETARGETS)) |