kumquat-buildroot/package/pulseview/pulseview.mk
Bartosz Golaszewski c99144b317 pulseview: new package
[Thomas:
  - Fix dependency on C++, it should use BR2_INSTALL_LIBSTDCPP and not
    BR2_TOOLCHAIN_BUILDROOT_CXX.
  - Fix comment dependency, there should be an || between all the
    toolchain dependencies. Also fix the dependency on Qt5 for the
    comment, which was in the wrong way: the comment was displayed
    only when Qt5 was disabled.
  - Use -DDISABLE_WERROR=TRUE instead of -DDISABLE_WERROR=y, since
    TRUE/FALSE are normally the accepted values for CMake options.]

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 23:05:28 +01:00

25 lines
751 B
Makefile

################################################################################
#
# pulseview
#
################################################################################
# TODO Pulseview can be built and linked against Qt4 as well.
# No https access on upstream git
PULSEVIEW_SITE = git://sigrok.org/pulseview
PULSEVIEW_VERSION = 19be0af16af83ca10f7ce69cb64f0b0c6f6a0d81
PULSEVIEW_LICENSE = GPLv3+
PULSEVIEW_LICENSE_FILES = COPYING
PULSEVIEW_DEPENDENCIES = libsigrok qt5base qt5svg boost
PULSEVIEW_CONF_OPTS = -DDISABLE_WERROR=TRUE
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))