2015-03-19 11:08:28 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pulseview
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# TODO Pulseview can be built and linked against Qt4 as well.
|
|
|
|
|
2016-01-31 14:58:58 +01:00
|
|
|
PULSEVIEW_VERSION = 0.3.0
|
|
|
|
PULSEVIEW_SITE = http://sigrok.org/download/source/pulseview
|
2017-03-30 15:43:33 +02:00
|
|
|
PULSEVIEW_LICENSE = GPL-3.0+
|
2015-03-19 11:08:28 +01:00
|
|
|
PULSEVIEW_LICENSE_FILES = COPYING
|
|
|
|
PULSEVIEW_DEPENDENCIES = libsigrok qt5base qt5svg boost
|
|
|
|
PULSEVIEW_CONF_OPTS = -DDISABLE_WERROR=TRUE
|
|
|
|
|
2016-01-31 14:58:58 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_BOOST_TEST),y)
|
|
|
|
PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=TRUE
|
|
|
|
else
|
|
|
|
PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=FALSE
|
|
|
|
endif
|
|
|
|
|
2015-03-19 11:08:28 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y)
|
|
|
|
PULSEVIEW_CONF_OPTS += -DENABLE_DECODE=TRUE
|
|
|
|
PULSEVIEW_DEPENDENCIES += libsigrokdecode
|
|
|
|
else
|
|
|
|
PULSEVIEW_CONF_OPTS += -DENABLE_DECODE=FALSE
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|