qt5base: add tslib plugin
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Mon, 28 Oct 2013 00:29:27 +0000 (21:29 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 28 Oct 2013 09:09:23 +0000 (10:09 +0100)
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>
package/qt5/qt5base/Config.in
package/qt5/qt5base/qt5base.mk

index e433373489d12a924837a204a3b3ab0aacec1019..83f17e35eafe96380371effae58689a2b6785802 100644 (file)
@@ -185,4 +185,14 @@ config BR2_PACKAGE_QT5BASE_ICU
          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
index 0106c2cbcccb138906f9a75478cc6ff5bfe016ce..ce78d312568a5383db2626bbee8592e948611d64 100644 (file)
@@ -128,6 +128,9 @@ QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_QT5BASE_PNG),libpng)
 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)