2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-05 13:19:53 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# freerdp
|
2012-06-05 13:19:53 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-05 13:19:53 +02:00
|
|
|
|
2014-09-20 19:09:48 +02:00
|
|
|
# Changeset on the stable-1.1 branch
|
|
|
|
FREERDP_VERSION = 440916eae2e07463912d5fe507677e67096eb083
|
2014-06-17 00:54:56 +02:00
|
|
|
FREERDP_SITE = $(call github,FreeRDP,FreeRDP,$(FREERDP_VERSION))
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES = openssl zlib \
|
|
|
|
xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor
|
2014-01-02 14:01:48 +01:00
|
|
|
FREERDP_LICENSE = Apache-2.0
|
2014-06-24 20:55:54 +02:00
|
|
|
FREERDP_LICENSE_FILES = LICENSE
|
2012-06-05 13:19:53 +02:00
|
|
|
|
2014-12-07 12:39:27 +01:00
|
|
|
FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF
|
|
|
|
|
2012-06-05 13:19:53 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_CUPS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_CUPS=ON
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES += cups
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_CUPS=OFF
|
2012-06-05 13:19:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FFMPEG),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_FFMPEG=ON
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES += ffmpeg
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_FFMPEG=OFF
|
2012-06-05 13:19:53 +02:00
|
|
|
endif
|
|
|
|
|
2014-10-24 21:37:43 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_ALSA=ON
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_ALSA=OFF
|
2012-06-05 13:19:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=ON
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES += pulseaudio
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF
|
2012-06-05 13:19:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_XINERAMA=ON
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES += xlib_libXinerama
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_XINERAMA=OFF
|
2012-06-05 13:19:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_XKBFILE=ON
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES += xlib_libxkbfile
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF
|
2012-06-05 13:19:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_XV=ON
|
2012-06-05 13:19:53 +02:00
|
|
|
FREERDP_DEPENDENCIES += xlib_libXv
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FREERDP_CONF_OPTS += -DWITH_XV=OFF
|
2012-06-05 13:19:53 +02:00
|
|
|
endif
|
|
|
|
|
2014-12-27 19:16:06 +01:00
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
|
|
|
FREERDP_CONF_OPTS += -DWITH_NEON=ON
|
|
|
|
else
|
|
|
|
FREERDP_CONF_OPTS += -DWITH_NEON=OFF
|
|
|
|
endif
|
|
|
|
|
2014-12-27 19:16:07 +01:00
|
|
|
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
|
|
|
|
FREERDP_CONF_OPTS += -DWITH_SSE2=ON
|
|
|
|
else
|
|
|
|
FREERDP_CONF_OPTS += -DWITH_SSE2=OFF
|
|
|
|
endif
|
|
|
|
|
2014-12-29 15:11:30 +01:00
|
|
|
ifeq ($(BR2_arm)$(BR2_armeb),y)
|
|
|
|
FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(cmake-package))
|