freerdp: new package
authorJulian Lunz <git@jlunz.de>
Tue, 5 Jun 2012 11:19:53 +0000 (11:19 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 5 Jun 2012 22:34:16 +0000 (00:34 +0200)
[Peter: fix help, required and optional dependencies]
Signed-off-by: Julian Lunz <git@jlunz.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/freerdp/Config.in [new file with mode: 0644]
package/freerdp/freerdp.mk [new file with mode: 0644]

index dde5800867363747fbc4e3b8a246625c4b082be8..2b69c575c79f90ffe60ebe39d1dd220d82c7f011 100644 (file)
@@ -145,6 +145,7 @@ comment "X applications"
 source "package/alsamixergui/Config.in"
 source "package/docker/Config.in"
 source "package/feh/Config.in"
+source "package/freerdp/Config.in"
 source "package/gqview/Config.in"
 source "package/gmpc/Config.in"
 source "package/gob2/Config.in"
diff --git a/package/freerdp/Config.in b/package/freerdp/Config.in
new file mode 100644 (file)
index 0000000..c5ff769
--- /dev/null
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_FREERDP
+       bool "freerdp"
+       select BR2_PACKAGE_OPENSSL
+       select BR2_PACKAGE_XLIB_LIBX11
+       select BR2_PACKAGE_XLIB_LIBXT
+       select BR2_PACKAGE_XLIB_LIBXEXT
+       select BR2_PACKAGE_XLIB_LIBXCURSOR
+       select BR2_PACKAGE_ZLIB
+       depends on BR2_PACKAGE_XORG7
+       help
+         FreeRDP is a free implementation of the Remote Desktop
+         Protocol (RDP), released under the Apache license
+
+         http://www.freerdp.com/
diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk
new file mode 100644 (file)
index 0000000..aeef3fc
--- /dev/null
@@ -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))