[glade] packaging: Add snap packaging
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] packaging: Add snap packaging
- Date: Tue, 5 Feb 2019 22:36:52 +0000 (UTC)
commit 9bb50acb4359f22bc8d1e0e8751eb07dbb7f33b0
Author: Ken VanDine <kvandine gnome org>
Date: Wed Nov 15 13:16:07 2017 -0500
packaging: Add snap packaging
Adds snap packaging
https://bugzilla.gnome.org/show_bug.cgi?id=790394
snap/snapcraft.yaml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 00000000..6f231b1e
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -0,0 +1,65 @@
+name: glade
+version: git
+summary: Create or open user interface designs for GTK+ applications
+description: |
+
+ Glade is a RAD tool to enable quick & easy development of user interfaces
+ for the GTK+ 3 toolkit and the GNOME desktop environment.
+
+ The user interfaces designed in Glade are saved as XML and these can be
+ loaded by applications dynamically as needed by using GtkBuilder or used
+ directly to define a new GtkWidget derived object class using
+ GTK+ new template feature.
+
+ By using GtkBuilder, Glade XML files can be used in numerous programming
+ languages including C, C++, C#, Vala, Java, Perl, Python, and others.
+
+grade: devel # must be 'stable' to release into candidate/stable channels
+confinement: strict
+
+plugs:
+ gnome-3-26-1604:
+ interface: content
+ target: $SNAP/gnome-platform
+ default-provider: gnome-3-26-1604:gnome-3-26-1604
+
+apps:
+ glade:
+ command: desktop-launch glade
+ plugs:
+ - desktop
+ - desktop-legacy
+ - home
+ - gsettings
+ - network
+ - unity7
+ - wayland
+ desktop: usr/share/applications/glade.desktop
+
+parts:
+ glade:
+ build-attributes: [no-system-libraries]
+ after: [desktop-gnome-platform]
+ source: .
+ source-type: git
+ plugin: autotools
+ configflags: [--disable-maintainer-mode, --prefix=/snap/glade/current/usr]
+ prepare:
+ sed -i.bak -e 's|=glade$|=${SNAP}/meta/gui/glade.png|g' data/glade.desktop.in.in
+ install: |
+ mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
+ cp ../src/data/icons/hicolor/256x256/apps/glade.png $SNAPCRAFT_PART_INSTALL/meta/gui/
+ organize:
+ snap/glade/current/usr: usr
+ build-packages:
+ - gnome-common
+ - libxml2-dev
+ - libglib2.0-dev
+ - libgtk-3-dev
+ - python-gi-dev
+ - python2.7-dev
+ - gtk-doc-tools
+ - yelp-tools
+ - intltool
+ - gobject-introspection
+ - libgirepository1.0-dev
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]