name: sigrok-ali1234 version: 4 summary: Logic analyzer and protocol decoder software suite. description: | sigrok is a portable logic analyzer software that supports various logic analyzer hardware, input formats, output formats, and protocol decoders. PulseView is a GUI for sigrok that supports logic analyzers, oscilloscopes, and MSOs. It can acquire samples from a supported device and display them, load and display captures from existing sigrok *.sr files, as well as run protocol decoders and display their annotations. sigrok-cli is a command-line data acquisition and protocol decoding software. It supports sample acquisition from logic analyzer, oscilloscope, multimeter, and other hardware, as well as running protocol decoders over the sample data (either from hardware or loaded from files). confinement: strict apps: sigrok-cli: command: data-dir-wrapper sigrok-cli plugs: [raw-usb, serial-port, network] pulseview: command: desktop-launch data-dir-wrapper pulseview plugs: [raw-usb, serial-port, network, x11] build-packages: - libftdi-dev - libglib2.0-dev - libglibmm-2.4-dev - libusb-1.0-0-dev - libzip-dev - python3-dev - sdcc - libboost-all-dev - qtbase5-dev - libqt5svg5-dev - build-essential - doxygen parts: libserialport: source-type: git source: https://git.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/libserialport plugin: autotools libsigrok: source-type: git source: https://git.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/libsigrok plugin: autotools after: [libserialport] libsigrokdecode: source-type: git source: https://git.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/libsigrokdecode plugin: autotools after: [libsigrok] sigrok-firmware: source-type: git source: https://git.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/sigrok-firmware plugin: autotools sigrok-firmware-fx2lafw: source-type: git source: https://git.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/sigrok-firmware-fx2lafw plugin: autotools sigrok-cli: source-type: git source: https://git.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/sigrok-cli plugin: autotools after: [libsigrokdecode] pulseview: source-type: git source: https://git.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/pulseview plugin: cmake after: [libsigrokdecode, desktop-qt5] install: | mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/ sed -e 's|^Exec=pulseview$|Exec=sigrok-ali1234.pulseview|g' -e 's|^Icon=sigrok-logo-notext$|Icon=${SNAP}/meta/gui/sigrok-logo-notext.svg|g' ../src/contrib/pulseview.desktop > $SNAPCRAFT_PART_INSTALL/meta/gui/pulseview.desktop cp ../src/icons/sigrok-logo-notext.svg $SNAPCRAFT_PART_INSTALL/meta/gui/ prime: - meta wrapper: plugin: dump source: . organize: data-dir-wrapper: bin/data-dir-wrapper