summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-09-19 13:15:06 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-09-19 13:15:06 +0200
commit886e618e8354164c2962dc416919d0ec64b8bb5d (patch)
tree290e59db05707f702195a3b48d80c52df6c4c8c4 /packages
parent49c1fec7099ee2f6e210280805de1fb858e5a8e3 (diff)
downloadembtoolkit-886e618e8354164c2962dc416919d0ec64b8bb5d.tar.gz
embtoolkit-886e618e8354164c2962dc416919d0ec64b8bb5d.tar.bz2
embtoolkit-886e618e8354164c2962dc416919d0ec64b8bb5d.tar.xz
Packages: Gtk+: when X is used as backend, build with xinput support
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/graphics/gtk/gtk.kconfig1
-rw-r--r--packages/graphics/gtk/gtk.mk4
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/graphics/gtk/gtk.kconfig b/packages/graphics/gtk/gtk.kconfig
index 4f02c4a..39b878b 100644
--- a/packages/graphics/gtk/gtk.kconfig
+++ b/packages/graphics/gtk/gtk.kconfig
@@ -54,6 +54,7 @@ choice
select EMBTK_HAVE_LIBX11
select EMBTK_HAVE_LIBXEXT
select EMBTK_HAVE_LIBXRENDER
+ select EMBTK_HAVE_XINPUT
config EMBTK_GTK_BACKEND_DIRECTFB
bool "DirectFB"
select EMBTK_HAVE_DIRECTFB
diff --git a/packages/graphics/gtk/gtk.mk b/packages/graphics/gtk/gtk.mk
index e3111dc..20b0276 100644
--- a/packages/graphics/gtk/gtk.mk
+++ b/packages/graphics/gtk/gtk.mk
@@ -42,8 +42,8 @@ ifeq ($(CONFIG_EMBTK_GTK_BACKEND_DIRECTFB),y)
GTK_BACKEND := --with-gdktarget=directfb --without-x
GTK_DEPS += directfb_install
else
-GTK_BACKEND := --with-gdktarget=x11 --with-x
-GTK_DEPS += libx11_install libxext_install libxrender_install
+GTK_BACKEND := --with-gdktarget=x11 --with-x --with-xinput=yes
+GTK_DEPS += libx11_install libxext_install libxrender_install xinput_install
endif
gtk_install: