diff mbox

qt5base: add tslib plugin

Message ID 1382920167-3336-1-git-send-email-ezequiel@vanguardiasur.com.ar
State Accepted
Headers show

Commit Message

Ezequiel Garcia Oct. 28, 2013, 12:29 a.m. UTC
Add support for Tslib plugin.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
---
 package/qt5/qt5base/Config.in  | 5 +++++
 package/qt5/qt5base/qt5base.mk | 3 +++
 2 files changed, 8 insertions(+)

Comments

Peter Korsgaard Oct. 28, 2013, 9:11 a.m. UTC | #1
>>>>> "Ezequiel" == Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> writes:

 > Add support for Tslib plugin.
 > Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
 > ---
 >  package/qt5/qt5base/Config.in  | 5 +++++
 >  package/qt5/qt5base/qt5base.mk | 3 +++
 >  2 files changed, 8 insertions(+)

 > diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in
 > index e433373..cfe8f02 100644
 > --- a/package/qt5/qt5base/Config.in
 > +++ b/package/qt5/qt5base/Config.in
 > @@ -185,4 +185,9 @@ 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"
 > +	select BR2_PACKAGE_TSLIB
 > +	help
 > +	  This options enables the Tslib plugin

Tslib depends on !BR2_PREFER_STATIC_LIB, so you need to propagate that
dependency and show a comment line if not available.

Committed with that fixed, thanks.
diff mbox

Patch

diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in
index e433373..cfe8f02 100644
--- a/package/qt5/qt5base/Config.in
+++ b/package/qt5/qt5base/Config.in
@@ -185,4 +185,9 @@  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"
+	select BR2_PACKAGE_TSLIB
+	help
+	  This options enables the Tslib plugin
 endif
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 0106c2c..ce78d31 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -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)