[glade/glade-3-22] snap: Use a version-script to generate a friendlier version string and specify dbus slot for gtkappl



commit 639445e09a9d0ecb3270f551356b477d66561551
Author: Ken VanDine <ken vandine canonical com>
Date:   Mon Feb 11 12:57:20 2019 -0500

    snap: Use a version-script to generate a friendlier version string and
    specify dbus slot for gtkapplication registration

 snap/snapcraft.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]