aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-09-10 23:49:39 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-09-10 23:49:39 +0200
commit29bb5daca182324a458422877a1514c41779ae36 (patch)
tree450e313c557e585cdea79ce3eb56b6fcdd39fc95
parent5c873d86eba1f0b99ac6b601db59c4e63dff3dd5 (diff)
downloadmessenger-gtk-29bb5daca182324a458422877a1514c41779ae36.tar.gz
messenger-gtk-29bb5daca182324a458422877a1514c41779ae36.zip
Added snapcraft.yaml
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--snap/snapcraft.yaml152
1 files changed, 152 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 0000000..203bd54
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -0,0 +1,152 @@
1name: messenger-gtk
2version: 0.7.0
3title: GNUnet Messenger
4summary: A GTK based GUI for the Messenger service of GNUnet.
5description: |
6 Messenger-GTK is a convergent GTK messaging application using the GNUnet Messenger service. The goal is to provide private and secure communication between any group of devices.
7
8 The application provides the following features:
9 * Creating direct chats and group chats
10 * Managing your contacts and groups
11 * Invite contacts to a group
12 * Sending text messages
13 * Sending voice recordings
14 * Sharing files privately
15 * Deleting messages with any custom delay
16 * Renaming contacts
17 * Exchanging contact details physically
18 * Verifying contact identities
19 * Switching between different accounts
20
21 Chats will generally created as opt-in. So you can decide who may contact you directly and who does not, accepting to a direct chat. Leaving a chat is also always possible.
22adopt-info: messenger-gtk
23grade: stable
24confinement: strict
25base: core22
26icon: resources/icon/full_color.svg
27apps:
28 messenger-gtk:
29 command: bin/desktop-launch $SNAP/usr/bin/messenger-gtk
30 plugs:
31 - desktop
32 - desktop-legacy
33 - wayland
34 - x11
35 - home
36 - network
37 - network-bind
38 - camera
39 - audio-playback
40 - audio-record
41 - gsettings
42
43plugs:
44 gtk-3-themes:
45 interface: content
46 target: $SNAP/share/themes
47 default-provider: gtk-common-themes
48 icon-themes:
49 interface: content
50 target: $SNAP/share/icons
51 default-provider: gtk-common-themes
52 sound-themes:
53 interface: content
54 target: $SNAP/share/sounds
55 default-provider: gtk-common-themes
56
57parts:
58 desktop-gtk3:
59 build-packages:
60 - build-essential
61 - libgtk-3-dev
62 - dpkg-dev
63 make-parameters:
64 - FLAVOR=gtk3
65 plugin: make
66 source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
67 source-subdir: gtk
68 stage-packages:
69 - dmz-cursor-theme
70 - light-themes
71 - adwaita-icon-theme
72 - sound-theme-freedesktop
73 - gnome-themes-standard
74 - gnome-icon-theme
75 - fonts-emojione
76 - shared-mime-info
77 - locales-all
78 - xdg-user-dirs
79 - gobject-introspection
80 - libxcursor1
81 - libgtk-3-0
82 - libltdl7
83
84 gnunet:
85 build-packages:
86 - build-essential
87 - libgcrypt20-dev
88 - recutils
89 - libjansson-dev
90 - libsodium-dev
91 - libcurl4-gnutls-dev
92 - libidn2-dev
93 - libunistring-dev
94 - libsqlite3-dev
95 - libmicrohttpd-dev
96 stage-packages:
97 - libgcrypt20
98 - recutils
99 - libjansson4
100 - libsodium23
101 - libcurl3-gnutls
102 - libidn2-0
103 - libunistring2
104 - libsqlite3-0
105 - libmicrohttpd12
106 source: http://ftpmirror.gnu.org/gnunet/gnunet-0.17.5.tar.gz
107 plugin: autotools
108 autotools-configure-parameters: [ '--disable-documentation', '--prefix=/usr' ]
109 libgnunetchat:
110 after: [ gnunet ]
111 source: http://ftpmirror.gnu.org/gnunet/libgnunetchat-0.1.0.tar.gz
112 plugin: make
113 override-build: |
114 make release
115 mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/lib"
116 export INSTALL_DIR="$SNAPCRAFT_PART_INSTALL/usr/"
117 make install
118 messenger-gtk:
119 after: [ desktop-gtk3, gnunet, libgnunetchat ]
120 build-packages:
121 - libglib2.0-dev
122 - libgdk-pixbuf-2.0-dev
123 - libhandy-1-dev
124 - libnotify-dev
125 - libqrencode-dev
126 - libzbar-dev
127 - libgstreamer1.0-dev
128 - libgstreamer-plugins-base1.0-dev
129 - desktop-file-utils
130 stage-packages:
131 - libglib2.0-0
132 - libgdk-pixbuf-2.0-0
133 - libhandy-1-0
134 - libnotify4
135 - libqrencode4
136 - libzbar0
137 - libgstreamer1.0-0
138 - libgstreamer-plugins-base1.0-0
139 - gir1.2-gtk-3.0
140 - gir1.2-handy-1
141 - gir1.2-pango-1.0
142 source: http://ftpmirror.gnu.org/gnunet/messenger-gtk-0.7.0.tar.gz
143 plugin: make
144 override-build: |
145 export LD_LIBRARY_PATH="$SNAPCRAFT_STAGE/usr/lib"
146 make release
147 mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/bin"
148 mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/scalable/apps"
149 mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/share/applications"
150 mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/share/appdata"
151 export INSTALL_DIR="$SNAPCRAFT_PART_INSTALL/usr/"
152 make install