337aa51f3f
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
835 B
Makefile
30 lines
835 B
Makefile
################################################################################
|
|
#
|
|
# pulseview
|
|
#
|
|
################################################################################
|
|
|
|
# TODO Pulseview can be built and linked against Qt4 as well.
|
|
|
|
PULSEVIEW_VERSION = 0.3.0
|
|
PULSEVIEW_SITE = http://sigrok.org/download/source/pulseview
|
|
PULSEVIEW_LICENSE = GPL-3.0+
|
|
PULSEVIEW_LICENSE_FILES = COPYING
|
|
PULSEVIEW_DEPENDENCIES = libsigrok qt5base qt5svg boost
|
|
PULSEVIEW_CONF_OPTS = -DDISABLE_WERROR=TRUE
|
|
|
|
ifeq ($(BR2_PACKAGE_BOOST_TEST),y)
|
|
PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=TRUE
|
|
else
|
|
PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=FALSE
|
|
endif
|
|
|
|
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))
|