3 # Snapcraft Recipe for uuu (Universal Update Utility)
4 # ------------------------------
5 # This file is in the YAML data serialization format:
7 # For the spec. of writing this file refer the following documentation:
8 # * The snapcraft format
9 # https://docs.snapcraft.io/the-snapcraft-format/8337
10 # * Snap Documentation
11 # https://docs.snapcraft.io
12 # * Topics under the doc category in the Snapcraft Forum
13 # https://forum.snapcraft.io/c/doc
14 # For support refer to the snapcraft section in the Snapcraft Forum:
15 # https://forum.snapcraft.io/c/snapcraft
17 # Copyright (c) 2017 Snapcrafters
20 name: universal-update-utility
21 title: Universal Update Utility - UUU
22 summary: Freescale/NXP I.MX Chip image deploy tools
26 - The real cross platform. Linux, Windows, MacOS(not test yet)
27 - Multi devices program support
29 - Few depedencies (only libusb, zlibc, libbz2)
30 - Firmware (uboot/kernel) uses WCID to auto load the winusb driver
31 on the Windows side. Windows7 users need to install the winusb driver
32 from [https://zadig.akeo.ie/](https://zadig.akeo.ie/) Windows10 will
33 install the driver automatically.
37 mfgtools, uuu, nxp, nxpmicro
38 icon: snap/gui/universal-update-utility.png
43 # required by the `snapctl is-connected` command
50 # Launcher programs to fix problems at runtime
52 source: snap/local/launchers
59 # Bash completion snippets
61 source: snap/local/bash-completion
66 # Check out the tagged release revision if it isn't promoted to the stable channel
67 # https://forum.snapcraft.io/t/selective-checkout-check-out-the-tagged-release-revision-if-it-isnt-promoted-to-the-stable-channel/10617
69 source: https://github.com/Lin-Buo-Ren/selective-checkout.git
79 - scriptlets/selective-checkout
94 "${SNAPCRAFT_STAGE}"/scriptlets/selective-checkout \
95 --release-tag-pattern='uuu_[[:digit:]]+(\.[[:digit:]]+){2}' \
96 --release-tag-prefix=uuu_
100 # CMake shipped in Ubuntu 18.04(3.10.2) is too old
116 - usr/share/doc/*/copyright
129 universal-update-utility:
133 - bin/universal-update-utility-launch
134 completer: bash-completion/universal-update-utility
136 # Snap runtime only ship C.UTF-8 locale
141 # Regular files access
143 # Allow reading the SUDO_USER's uuu script when run as root
144 # (by default only scripts under root's home dir is readable)
146 removable-media: # Non-A/C
148 # NOTE: This only lifts the snapd side of confinement, the user still
149 # require classic read/write access to the target device node