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 <nia.alarie%gmail.com@localhost>
Pushed By: nee
Date: Tue Jun 6 14:22:32 2017 +0100
Changeset: 12b9c0d8010cc58186d66acdeb4bd61ba2779072
Modified Files:
retroarch/options.mk
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:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=12b9c0d8010cc58186d66acdeb4bd61ba2779072
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
retroarch/options.mk | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diffs:
diff --git a/retroarch/options.mk b/retroarch/options.mk
index 7939d1c169..5e6268cd00 100644
--- a/retroarch/options.mk
+++ b/retroarch/options.mk
@@ -18,7 +18,8 @@ PKG_SUPPORTED_OPTIONS+= sunxi-mali-fb
PKG_SUGGESTED_OPTIONS+= rpi
.endif
-PKG_SUGGESTED_OPTIONS.Linux+= alsa
+PKG_SUPPORTED_OPTIONS.Linux+= udev
+PKG_SUGGESTED_OPTIONS.Linux+= alsa udev
.include "../../mk/bsd.options.mk"
@@ -45,6 +46,16 @@ CONFIGURE_ARGS+= --enable-mali_fbdev
CONFIGURE_ARGS+= --disable-opengl
.endif
+.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/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-udev
+.endif
+
#
# Legacy shader support
#
Home |
Main Index |
Thread Index |
Old Index