2014-01-02 22:27:40 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# apitrace
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-12-07 01:06:05 +01:00
|
|
|
APITRACE_VERSION = 9.0
|
2014-01-02 22:27:40 +01:00
|
|
|
APITRACE_SITE = $(call github,apitrace,apitrace,$(APITRACE_VERSION))
|
|
|
|
APITRACE_LICENSE = MIT
|
|
|
|
APITRACE_LICENSE_FILES = LICENSE
|
|
|
|
|
2019-12-07 01:06:05 +01:00
|
|
|
APITRACE_DEPENDENCIES = host-python libpng
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
|
|
APITRACE_DEPENDENCIES += xlib_libX11
|
|
|
|
APITRACE_CONF_OPTS += -DENABLE_X11=ON
|
|
|
|
else
|
|
|
|
APITRACE_CONF_OPTS += -DENABLE_X11=OFF
|
|
|
|
endif
|
2014-01-02 22:27:40 +01:00
|
|
|
|
|
|
|
# Gui was never tested, so we prefer to explicitly disable it
|
2014-09-27 21:32:44 +02:00
|
|
|
APITRACE_CONF_OPTS += -DENABLE_GUI=false
|
2014-01-02 22:27:40 +01:00
|
|
|
|
|
|
|
$(eval $(cmake-package))
|