diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2019-02-11 12:57:20 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2019-02-11 13:41:44 -0500 |
commit | 639445e09a9d0ecb3270f551356b477d66561551 (patch) | |
tree | 8f14c81d6cdd1ea075e60fc2e66ed6e3a9bd7027 | |
parent | 8990ef214269821d13c6ebad61e155f3fb8571d3 (diff) | |
download | glade-639445e09a9d0ecb3270f551356b477d66561551.tar.gz |
snap: Use a version-script to generate a friendlier version string and
specify dbus slot for gtkapplication registration
-rw-r--r-- | snap/snapcraft.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index dcf1d10b..623fae35 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,7 @@ name: glade version: git +version-script: | + echo $(git describe --tags | sed 's/GLADE_//g'|sed 's/_/./g') summary: Create or open user interface designs for GTK+ applications description: | @@ -36,6 +38,12 @@ plugs: target: $SNAP/data-dir/sounds default-provider: gtk-common-themes +slots: + # for GtkApplication registration + glade: + interface: dbus + bus: session + name: org.gnome.Glade apps: glade: command: desktop-launch glade |