python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / pulseview / pulseview.mk
blobcc9718712f44e32b8f1040a0400446d1927dec50
1 ################################################################################
3 # pulseview
5 ################################################################################
7 # TODO Pulseview can be built and linked against Qt4 as well.
9 PULSEVIEW_VERSION = 0.3.0
10 PULSEVIEW_SITE = http://sigrok.org/download/source/pulseview
11 PULSEVIEW_LICENSE = GPLv3+
12 PULSEVIEW_LICENSE_FILES = COPYING
13 PULSEVIEW_DEPENDENCIES = libsigrok qt5base qt5svg boost
14 PULSEVIEW_CONF_OPTS = -DDISABLE_WERROR=TRUE
16 ifeq ($(BR2_PACKAGE_BOOST_TEST),y)
17 PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=TRUE
18 else
19 PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=FALSE
20 endif
22 ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y)
23 PULSEVIEW_CONF_OPTS += -DENABLE_DECODE=TRUE
24 PULSEVIEW_DEPENDENCIES += libsigrokdecode
25 else
26 PULSEVIEW_CONF_OPTS += -DENABLE_DECODE=FALSE
27 endif
29 $(eval $(cmake-package))