2014-01-08 17:05:08 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# evemu
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-08-08 23:53:00 +02:00
|
|
|
EVEMU_VERSION = 2.0.0
|
2014-01-08 17:05:08 +01:00
|
|
|
EVEMU_SITE = http://cgit.freedesktop.org/evemu/snapshot
|
|
|
|
EVEMU_LICENSE = LGPLv3 (library), GPLv3 (tools)
|
|
|
|
EVEMU_LICENSE_FILES = COPYING COPYING.GPL3
|
|
|
|
|
|
|
|
# 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-25 23:08:56 +02:00
|
|
|
# needed for make-event-names.py to find sysroot provided input.h (instead
|
|
|
|
# of host system version)
|
|
|
|
EVEMU_MAKE_ENV = SYSROOT=$(STAGING_DIR)
|
|
|
|
|
2014-04-29 00:13:16 +02:00
|
|
|
# disable tests generation because of C++ dependency
|
|
|
|
EVEMU_CONF_OPT += --disable-tests
|
|
|
|
|
2014-01-08 17:05:08 +01:00
|
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
|
|
EVEMU_DEPENDENCIES = host-pkgconf libevdev
|
|
|
|
|
2014-04-29 00:13:17 +02:00
|
|
|
# Needs Python for header file generation
|
|
|
|
EVEMU_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
|
2014-01-08 17:05:08 +01:00
|
|
|
|
2014-04-29 00:15:28 +02:00
|
|
|
# Check for target python
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
2014-04-29 00:15:16 +02:00
|
|
|
EVEMU_CONF_OPT += --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
|
|
|
|
EVEMU_CONF_OPT += --disable-python-bindings
|
|
|
|
endif
|
|
|
|
|
2014-01-08 17:05:08 +01:00
|
|
|
# package source code coming from git, so it doesn't have generated
|
|
|
|
# configure and Makefile.in
|
|
|
|
EVEMU_AUTORECONF = YES
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|