summaryrefslogtreecommitdiff
path: root/package/xf86-input-evdev
diff options
context:
space:
mode:
Diffstat (limited to 'package/xf86-input-evdev')
-rw-r--r--package/xf86-input-evdev/Makefile27
-rw-r--r--package/xf86-input-evdev/patches/patch-ltmain_sh11
2 files changed, 38 insertions, 0 deletions
diff --git a/package/xf86-input-evdev/Makefile b/package/xf86-input-evdev/Makefile
new file mode 100644
index 000000000..c2dcf7c03
--- /dev/null
+++ b/package/xf86-input-evdev/Makefile
@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= xf86-input-evdev
+PKG_VERSION:= 2.6.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 95d35eea1dad1c4828d0027f3be5325c
+PKG_DESCR:= X11 driver for Event driver
+PKG_SECTION:= x11/drivers
+PKG_DEPENDS:= xorg-server kmod-input-evdev
+PKG_BUILDDEP:= xorg-server
+PKG_SITES:= ${MASTER_SITE_XORG}
+
+PKG_CFLINE_XF86_INPUT_EVDEV:= depends on ADK_TARGET_WITH_INPUT
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XF86_INPUT_EVDEV,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_XF86_INPUT_EVDEV}/usr/lib/xorg/modules/input
+ ${CP} ${WRKINST}/usr/lib/xorg/modules/input/evdev_drv.so \
+ ${IDIR_XF86_INPUT_EVDEV}/usr/lib/xorg/modules/input/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-input-evdev/patches/patch-ltmain_sh b/package/xf86-input-evdev/patches/patch-ltmain_sh
new file mode 100644
index 000000000..f679ecee5
--- /dev/null
+++ b/package/xf86-input-evdev/patches/patch-ltmain_sh
@@ -0,0 +1,11 @@
+--- xf86-input-keyboard-1.5.0.orig/ltmain.sh 2010-10-30 18:15:40.000000000 +0200
++++ xf86-input-keyboard-1.5.0/ltmain.sh 2011-01-24 19:31:12.000000000 +0100
+@@ -5091,7 +5091,7 @@ func_mode_link ()
+ # @file GCC response files
+ # -tp=* Portland pgcc target processor selection
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto*)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"