ソースを参照

add new xinput packages

Waldemar Brodkorb 12 年 前
コミット
5eff21ca18

+ 25 - 0
package/xf86-input-evdev/Makefile

@@ -0,0 +1,25 @@
+# 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
+PKG_BUILDDEP:=		xorg-server
+PKG_SITES:=		${MASTER_SITE_XORG}
+
+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

+ 11 - 0
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"

+ 24 - 0
package/xinput/Makefile

@@ -0,0 +1,24 @@
+# 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:=		xinput
+PKG_VERSION:=		1.5.3
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		87ad4db2fad4ff9a68e57759a63abc4b
+PKG_DESCR:=		X input utility
+PKG_SECTION:=		x11/apps
+PKG_URL:=		http://xorg.freedesktop.org/
+PKG_SITES:=		${MASTER_SITE_XORG}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XINPUT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+	$(INSTALL_DIR) $(IDIR_XINPUT)/usr/bin
+	$(INSTALL_BIN) $(WRKINST)/usr/bin/xinput \
+		$(IDIR_XINPUT)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk

+ 24 - 0
package/xinput_calibrator/Makefile

@@ -0,0 +1,24 @@
+# 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:=		xinput_calibrator
+PKG_VERSION:=		0.7.5
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		20da0a2055a5a75962add8c6b44f60fa
+PKG_DESCR:=		X11 input calibration utility
+PKG_SECTION:=		x11/apps
+PKG_URL:=		https://github.com/tias/xinput_calibrator
+PKG_SITES:=		https://github.com/downloads/tias/xinput_calibrator/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XINPUT_CALIBRATOR,xinput_calibrator,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+xinput_calibrator-install:
+	$(INSTALL_DIR) $(IDIR_XINPUT_CALIBRATOR)/usr/bin
+	$(INSTALL_BIN) $(WRKINST)/usr/bin/xinput_calibrator \
+		$(IDIR_XINPUT_CALIBRATOR)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk