2014-01-08 17:05:08 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# evemu
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-09-21 22:21:35 +02:00
|
|
|
EVEMU_VERSION = 2.5.0
|
2014-11-14 19:31:14 +01:00
|
|
|
EVEMU_SITE = http://www.freedesktop.org/software/evemu
|
|
|
|
EVEMU_SOURCE = evemu-$(EVEMU_VERSION).tar.xz
|
2017-03-30 15:43:35 +02:00
|
|
|
EVEMU_LICENSE = LGPL-3.0 (library), GPL-3.0 (tools)
|
2015-04-05 18:48:25 +02:00
|
|
|
EVEMU_LICENSE_FILES = COPYING
|
2014-01-08 17:05:08 +01:00
|
|
|
|
|
|
|
# asciidoc used to generate manpages, which we don't need, and if it's
|
|
|
|
# present on the build host, it ends getting called with our host-python
|
|
|
|
# which doesn't have all the needed modules enabled, breaking the build
|
|
|
|
EVEMU_CONF_ENV = ac_cv_path_ASCIIDOC=""
|
|
|
|
|
2014-04-29 00:13:16 +02:00
|
|
|
# disable tests generation because of C++ dependency
|
2014-09-27 21:32:44 +02:00
|
|
|
EVEMU_CONF_OPTS += --disable-tests
|
2014-04-29 00:13:16 +02:00
|
|
|
|
2014-01-08 17:05:08 +01:00
|
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
|
|
EVEMU_DEPENDENCIES = host-pkgconf libevdev
|
|
|
|
|
2014-04-29 00:15:28 +02:00
|
|
|
# Check for target python
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
EVEMU_CONF_OPTS += --enable-python-bindings
|
2014-04-29 00:15:28 +02:00
|
|
|
EVEMU_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,python)
|
2014-04-29 00:15:16 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
EVEMU_CONF_OPTS += --disable-python-bindings
|
2014-04-29 00:15:16 +02:00
|
|
|
endif
|
|
|
|
|
2014-01-08 17:05:08 +01:00
|
|
|
$(eval $(autotools-package))
|