Commit dafa32b3 authored by Stephan Hoffmann's avatar Stephan Hoffmann Committed by Thomas Petazzoni
Browse files

mtdev2tuio: new package

mtdev2tuio is a simple application for converting touch events
to the standart TUIO 1.1 protocol.

https://github.com/olivopaolo/mtdev2tuio



[thomas.petazzoni@free-electrons.com: use TARGET_CONFIGURE_OPTS, fix
indentation, add dependency on thread support in toolchain]

Signed-off-by: default avatarStephan Hoffmann <sho@relinux.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent fa6e224e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -469,6 +469,7 @@ source "package/libtpl/Config.in"
source "package/liburcu/Config.in"
source "package/linux-pam/Config.in"
source "package/lttng-libust/Config.in"
source "package/mtdev2tuio/Config.in"
source "package/orc/Config.in"
source "package/poco/Config.in"
source "package/protobuf/Config.in"
+13 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_MTDEV2TUIO
	bool "mtdev2tuio"
	select BR2_PACKAGE_LIBLO
	select BR2_PACKAGE_MTDEV
	depends on BR2_TOOLCHAIN_HAS_THREADS # liblo
	help
	  mtdev2tuio is a simple application for converting touch
	  events captured from libmtdev to TUIO 1.1

	  https://github.com/olivopaolo/mtdev2tuio

comment "mtdev2tuio requires thread support in toolchain"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
+29 −0
Original line number Diff line number Diff line
#############################################################
#
# mtdev2tuio
#
#############################################################
MTDEV2TUIO_VERSION = e1e7378d86
MTDEV2TUIO_SITE = git://github.com/olivopaolo/mtdev2tuio.git
MTDEV2TUIO_DEPENDENCIES = mtdev liblo
MTDEV2TUIO_LICENSE = GPLv3+
MTDEV2TUIO_LICENSE_FILES = COPYING

# mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD
# here.
define MTDEV2TUIO_BUILD_CMDS
	$(MAKE) \
		$(TARGET_CONFIGURE_OPTS) \
		LD="$(TARGET_CC)" \
		-C $(@D)
endef

define MTDEV2TUIO_INSTALL_TARGET_CMDS
	$(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio
endef

define MTDEV2TUIO_CLEAN_CMDS
	$(MAKE) -C $(@D) clean
endef

$(eval $(generic-package))