commit 8201fb1dd1489899d036d9e32731ec8120ae3b6e
parent c6f237c08b22c6faf6933c51d16eb3e2bd2e7cef
Author: TheJackiMonster <thejackimonster@gmail.com>
Date: Mon, 31 Jul 2023 01:55:59 +0200
Reduce lines of snapcraft config
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat:
1 file changed, 2 insertions(+), 39 deletions(-)
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
@@ -44,39 +44,18 @@ apps:
command: usr/bin/messenger-gtk
extensions: [gnome]
plugs:
- - desktop
- - desktop-legacy
- - wayland
- - x11
- home
- network
- network-bind
- camera
- audio-playback
- audio-record
- - gsettings
desktop: usr/share/applications/org.gnunet.Messenger.desktop
common-id: org.gnunet.Messenger.desktop
-plugs:
- gtk-3-themes:
- interface: content
- target: $SNAP/share/themes
- default-provider: gtk-common-themes
- icon-themes:
- interface: content
- target: $SNAP/share/icons
- default-provider: gtk-common-themes
- sound-themes:
- interface: content
- target: $SNAP/share/sounds
- default-provider: gtk-common-themes
-
parts:
gnunet:
build-packages:
- - build-essential
- - libc6-dev
- libgcrypt20-dev
- recutils
- libjansson-dev
@@ -106,48 +85,32 @@ parts:
libgnunetchat:
after: [ gnunet ]
build-packages:
- - build-essential
- - libc6-dev
- check
source: http://ftpmirror.gnu.org/gnunet/libgnunetchat-0.1.3.tar.xz
plugin: meson
meson-parameters:
- --prefix=/usr
+ - --buildtype=release
messenger-gtk:
after: [ gnunet, libgnunetchat ]
build-packages:
- - build-essential
- - libc6-dev
- - libglib2.0-dev
- - libgdk-pixbuf-2.0-dev
- - libhandy-1-dev
- - libnotify-dev
- libqrencode-dev
- libzbar-dev
- libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev
- desktop-file-utils
- - libffi7
stage-packages:
- - libglib2.0-0
- - libhandy-1-0
- - libnotify4
- libqrencode4
- libzbar0
- libgstreamer1.0-0
- libgstreamer-plugins-base1.0-0
- - gir1.2-gtk-3.0
- - gir1.2-handy-1
- - gir1.2-pango-1.0
- - locales
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-good
- gstreamer1.0-gtk3
- - libglu1-mesa
- - freeglut3
- libltdl7
source: http://ftpmirror.gnu.org/gnunet/messenger-gtk-0.8.0.tar.xz
plugin: meson
meson-parameters:
- --prefix=/usr
+ - --buildtype=release