Add support for Tslib plugin.
[Peter: propagate !static dependency / add comment]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This option enables ICU support in Qt5. This is for example
needed for Qt5Webkit.
+config BR2_PACKAGE_QT5BASE_TSLIB
+ bool "Enable Tslib support"
+ depends on !BR2_PREFER_STATIC_LIB # dlopen
+ select BR2_PACKAGE_TSLIB
+ help
+ This options enables the Tslib plugin
+
+comment "tslib support needs a toolchain w/ dynamic library"
+ depends on BR2_PREFER_STATIC_LIB
+
endif
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DBUS),-dbus,-no-dbus)
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DBUS),dbus)
+QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),-tslib,-no-tslib)
+QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),tslib)
+
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBGLIB2),-glib,-no-glib)
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBGLIB2),libglib2)