diff mbox

[2/4] package/efl: enable elput support

Message ID 1473282523-12796-2-git-send-email-romain.naour@gmail.com
State Accepted
Headers show

Commit Message

Romain Naour Sept. 7, 2016, 9:08 p.m. UTC
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/efl/Config.in | 9 +++++++++
 package/efl/efl.mk    | 5 +++++
 2 files changed, 14 insertions(+)

Comments

Thomas Petazzoni Sept. 17, 2016, 5:01 p.m. UTC | #1
Hello,

On Wed,  7 Sep 2016 23:08:41 +0200, Romain Naour wrote:
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
>  package/efl/Config.in | 9 +++++++++
>  package/efl/efl.mk    | 5 +++++
>  2 files changed, 14 insertions(+)
> 
> diff --git a/package/efl/Config.in b/package/efl/Config.in
> index f4d88bc..df13047 100644
> --- a/package/efl/Config.in
> +++ b/package/efl/Config.in
> @@ -185,6 +185,15 @@ comment "OpenGL ES support needs an OpenGL ES w/ EGL provider"
>  
>  endchoice # OpenGL support
>  
> +config BR2_PACKAGE_EFL_ELPUT
> +	bool "Elput"
> +	select BR2_PACKAGE_LIBINPUT

It also depends on BR2_PACKAGE_LIBXKBCOMMON (I've had a build failure).

Note that libxkbcommon was already selected by the efl package if
wayland is used. But the elput functionality needs it unconditionally.


> +ifeq ($(BR2_PACKAGE_EFL_ELPUT),y)
> +EFL_CONF_OPTS += --enable-elput
> +EFL_DEPENDENCIES += libinput

I've added the libxkbcommon dependency here, and also an "else" clause
to explicitly --disable-elput.

Applied with those changes. Thanks!

Thomas
diff mbox

Patch

diff --git a/package/efl/Config.in b/package/efl/Config.in
index f4d88bc..df13047 100644
--- a/package/efl/Config.in
+++ b/package/efl/Config.in
@@ -185,6 +185,15 @@  comment "OpenGL ES support needs an OpenGL ES w/ EGL provider"
 
 endchoice # OpenGL support
 
+config BR2_PACKAGE_EFL_ELPUT
+	bool "Elput"
+	select BR2_PACKAGE_LIBINPUT
+	help
+	  The elput library is an efl abstraction for the libinput library
+	  which can be used by various other subsystems (ecore_fb,
+	  ecore_drm, etc) to handle interfacing with libinput without
+	  having to duplicate the code in each subsystem.
+
 comment "libevas loaders"
 
 config BR2_PACKAGE_EFL_PNG
diff --git a/package/efl/efl.mk b/package/efl/efl.mk
index 44649d5..5b65758 100644
--- a/package/efl/efl.mk
+++ b/package/efl/efl.mk
@@ -152,6 +152,11 @@  else
 EFL_CONF_OPTS += --disable-wayland
 endif
 
+ifeq ($(BR2_PACKAGE_EFL_ELPUT),y)
+EFL_CONF_OPTS += --enable-elput
+EFL_DEPENDENCIES += libinput
+endif
+
 ifeq ($(BR2_PACKAGE_EFL_FB),y)
 EFL_CONF_OPTS += --enable-fb
 else