[glade] snap: Use a version-script to generate a friendlier version string and specify dbus slot for gtkappl
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] snap: Use a version-script to generate a friendlier version string and specify dbus slot for gtkappl
- Date: Mon, 11 Feb 2019 17:58:16 +0000 (UTC)
commit 2b2386c659999ed4cea09c80ac101b9440674634
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]