Snap icon from a part

I’ve seen the use of parse-info to define snap version / description and icons from sources, but is there a way to use an svg file from a part section as the icon for the snap itself (where no defined metadata exists for that source / part)?

# Something like this
#icon: lib/P4VResources/icons/p4merge.svg

parts:
  p4merge:
    plugin: dump
    source: https://cdist2.perforce.com/perforce/r18.2/bin.linux26x86_64/p4v.tgz
    after: [desktop-qt5]
    stage-packages:
      - libxslt1.1
1 Like