diff options
Diffstat (limited to 'snap')
-rw-r--r-- | snap/gui/icon.png | bin | 0 -> 22868 bytes | |||
-rw-r--r-- | snap/snapcraft.yaml | 67 |
2 files changed, 67 insertions, 0 deletions
diff --git a/snap/gui/icon.png b/snap/gui/icon.png Binary files differnew file mode 100644 index 0000000..7974220 --- /dev/null +++ b/snap/gui/icon.png diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..667a264 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,67 @@ +name: whatsie +version: git +summary: Qt Based WhatsApp Client +description: | + Fast Light weight WhatsApp Client based on Qt's WebEngine, With lots of settings and packed goodies. +grade: stable +confinement: strict +icon: snap/gui/icon.png +base: core18 + +architectures: + - build-on: amd64 + run-on: amd64 + +apps: + whatsie: + command: desktop-launch whatsie + environment: + DISABLE_WAYLAND: 1 + desktop: usr/share/applications/whatsie.desktop + plugs: + - home + - unity7 + - network + - opengl + - x11 + - alsa + - audio-playback + - desktop + - gsettings + - wayland + - desktop-legacy +plugs: + gsettings: + gtk-3-themes: + interface: content + target: $SNAP/data-dir/themes + default-provider: gtk-common-themes + icon-themes: + interface: content + target: $SNAP/data-dir/icons + default-provider: gtk-common-themes + sound-themes: + interface: content + target: $SNAP/data-dir/sounds + default-provider: gtk-common-themes + qt513: + interface: content + target: $SNAP/qt513 + default-provider: qt513 + +parts: + snap-launcher: + plugin: dump + source: snap_launcher/ + override-build: | + snapcraftctl build + sed -i 's|Icon=.*|Icon=${SNAP}/meta/gui/icon.png|g' ${SNAPCRAFT_PART_SRC}/whatsie.desktop + mkdir -p ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/ + cp -rf ${SNAPCRAFT_PART_SRC}/whatsie.desktop ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/whatsie.desktop + cleanup: + after: [snap-launcher] + plugin: nil + override-prime: | + # Remove unneeded stage files to save space + cd usr/share + rm -rf apport bash-completion bug doc doc-base icons lintian man pam-configs pkgconfig themes upstart zsh |