From 5eff21ca1834a2d820c445d72076156a84950f12 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 13 Sep 2011 20:56:43 +0200 Subject: add new xinput packages --- package/xf86-input-evdev/Makefile | 25 ++++++++++++++++++++++++ package/xf86-input-evdev/patches/patch-ltmain_sh | 11 +++++++++++ package/xinput/Makefile | 24 +++++++++++++++++++++++ package/xinput_calibrator/Makefile | 24 +++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 package/xf86-input-evdev/Makefile create mode 100644 package/xf86-input-evdev/patches/patch-ltmain_sh create mode 100644 package/xinput/Makefile create mode 100644 package/xinput_calibrator/Makefile (limited to 'package') diff --git a/package/xf86-input-evdev/Makefile b/package/xf86-input-evdev/Makefile new file mode 100644 index 000000000..215f11a87 --- /dev/null +++ b/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 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" diff --git a/package/xinput/Makefile b/package/xinput/Makefile new file mode 100644 index 000000000..d527229d4 --- /dev/null +++ b/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 diff --git a/package/xinput_calibrator/Makefile b/package/xinput_calibrator/Makefile new file mode 100644 index 000000000..cc16db10f --- /dev/null +++ b/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 -- cgit v1.2.3