mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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>
This commit is contained in:
parent
26f215d137
commit
c99144b317
@ -367,6 +367,7 @@ endif
|
|||||||
source "package/pifmrds/Config.in"
|
source "package/pifmrds/Config.in"
|
||||||
source "package/powertop/Config.in"
|
source "package/powertop/Config.in"
|
||||||
source "package/pps-tools/Config.in"
|
source "package/pps-tools/Config.in"
|
||||||
|
source "package/pulseview/Config.in"
|
||||||
source "package/read-edid/Config.in"
|
source "package/read-edid/Config.in"
|
||||||
source "package/rng-tools/Config.in"
|
source "package/rng-tools/Config.in"
|
||||||
source "package/rpi-userland/Config.in"
|
source "package/rpi-userland/Config.in"
|
||||||
|
27
package/pulseview/Config.in
Normal file
27
package/pulseview/Config.in
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
config BR2_PACKAGE_PULSEVIEW
|
||||||
|
bool "pulseview"
|
||||||
|
select BR2_PACKAGE_LIBSIGROK
|
||||||
|
select BR2_PACKAGE_LIBSIGROKCXX
|
||||||
|
depends on BR2_PACKAGE_QT5
|
||||||
|
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||||
|
select BR2_PACKAGE_QT5BASE_PNG
|
||||||
|
select BR2_PACKAGE_QT5SVG
|
||||||
|
select BR2_PACKAGE_BOOST
|
||||||
|
select BR2_PACKAGE_BOOST_FILESYSTEM
|
||||||
|
select BR2_PACKAGE_BOOST_SYSTEM
|
||||||
|
select BR2_PACKAGE_BOOST_THREAD
|
||||||
|
# libsigrok->libglib2:
|
||||||
|
depends on BR2_USE_WCHAR
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
help
|
||||||
|
PulseView is a Qt based logic analyzer, oscilloscope
|
||||||
|
and MSO GUI for sigrok.
|
||||||
|
|
||||||
|
http://sigrok.org/wiki/PulseView
|
||||||
|
|
||||||
|
comment "pulseview needs a toolchain w/ wchar, threads, C++"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on BR2_PACKAGE_QT5
|
||||||
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
24
package/pulseview/pulseview.mk
Normal file
24
package/pulseview/pulseview.mk
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# 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))
|
Loading…
x
Reference in New Issue
Block a user