pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

retroarch: Add option for udev and make it pull in libxkbcommon

Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <>
Pushed By:	nee
Date:		Tue Jun 6 14:22:32 2017 +0100
Changeset:	12b9c0d8010cc58186d66acdeb4bd61ba2779072

Modified Files:

Log Message:
retroarch: Add option for udev and make it pull in libxkbcommon

Fixes searching (text input) with mali framebuffer

To see a diff of this commit:;a=commitdiff;h=12b9c0d8010cc58186d66acdeb4bd61ba2779072

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 retroarch/ | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/retroarch/ b/retroarch/
index 7939d1c169..5e6268cd00 100644
--- a/retroarch/
+++ b/retroarch/
@@ -18,7 +18,8 @@ PKG_SUPPORTED_OPTIONS+=	sunxi-mali-fb
+PKG_SUGGESTED_OPTIONS.Linux+=	alsa udev
 .include "../../mk/"
@@ -45,6 +46,16 @@ CONFIGURE_ARGS+=	--enable-mali_fbdev
 CONFIGURE_ARGS+=	--disable-opengl
+.if !empty(PKG_OPTIONS:Mudev)
+# To support keyboard callback interface in udev, the libxkbcommon package
+# (version 0.3 and up) is required. It is used to translate raw evdev events
+# to printable characters. It does not depend on Xorg, but it depends on X11
+# keyboard layout files being installed.
+.include "../../x11/libxkbcommon/"
+CONFIGURE_ARGS+=	--disable-udev
 # Legacy shader support

Home | Main Index | Thread Index | Old Index