mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
evtest: add as a seperate package
Evtest is nowadays maintained as a seperate package by Peter Hutterer. The project doesn't release any tarballs, so use the one of Fedora instead so we don't need to autoreconf: http://comments.gmane.org/gmane.comp.freedesktop.xorg.announce/1671 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3d0c79aa9f
commit
7d1473859d
@ -197,6 +197,7 @@ endif
|
|||||||
source "package/dmidecode/Config.in"
|
source "package/dmidecode/Config.in"
|
||||||
source "package/dmraid/Config.in"
|
source "package/dmraid/Config.in"
|
||||||
source "package/eeprog/Config.in"
|
source "package/eeprog/Config.in"
|
||||||
|
source "package/evtest/Config.in"
|
||||||
source "package/flashrom/Config.in"
|
source "package/flashrom/Config.in"
|
||||||
source "package/fconfig/Config.in"
|
source "package/fconfig/Config.in"
|
||||||
source "package/fis/Config.in"
|
source "package/fis/Config.in"
|
||||||
|
18
package/evtest/Config.in
Normal file
18
package/evtest/Config.in
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
config BR2_PACKAGE_EVTEST
|
||||||
|
bool "evtest"
|
||||||
|
help
|
||||||
|
evtest displays information on the input device specified on
|
||||||
|
the command line, including all the events supported by the
|
||||||
|
device. It then monitors the device and displays all the
|
||||||
|
events layer events generated.
|
||||||
|
|
||||||
|
http://www.freedesktop.org/wiki/Evtest
|
||||||
|
|
||||||
|
config BR2_PACKAGE_EVTEST_CAPTURE
|
||||||
|
bool "evtest-capture"
|
||||||
|
depends on BR2_PACKAGE_EVTEST
|
||||||
|
select BR2_PACKAGE_LIBXML2
|
||||||
|
help
|
||||||
|
evtest-capture captures the information and events from the
|
||||||
|
input device specified on the command line and writes it to
|
||||||
|
the xml file given.
|
28
package/evtest/evtest.mk
Normal file
28
package/evtest/evtest.mk
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# evtest
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
EVTEST_VERSION = 1.30
|
||||||
|
EVTEST_SOURCE = evtest-$(EVTEST_VERSION).tar.bz2
|
||||||
|
# no official upstream tarball
|
||||||
|
EVTEST_SITE = http://pkgs.fedoraproject.org/repo/pkgs/evtest/evtest-1.30.tar.bz2/27c0902839babfd07136f232c63c895c/
|
||||||
|
EVTEST_LICENSE = GPLv2
|
||||||
|
EVTEST_LICENSE_FILES = COPYING
|
||||||
|
EVTEST_DEPENDENCIES = host-pkg-config
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_EVTEST_CAPTURE),y)
|
||||||
|
EVTEST_DEPENDENCIES += libxml2
|
||||||
|
else
|
||||||
|
# evtest-capture will unconditionally be built/installed if libxml2 is present
|
||||||
|
define EVTEST_REMOVE_EVTEST_CAPTURE
|
||||||
|
rm -rf $(TARGET_DIR)/usr/bin/evtest-capture \
|
||||||
|
$(TARGET_DIR)/usr/share/evtest \
|
||||||
|
$(TARGET_DIR)/usr/share/man/man1/evtest-capture.1
|
||||||
|
endef
|
||||||
|
|
||||||
|
EVTEST_POST_INSTALL_TARGET_HOOKS += EVTEST_REMOVE_EVTEST_CAPTURE
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
x
Reference in New Issue
Block a user