summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--snap/snapcraft.yaml12
2 files changed, 11 insertions, 2 deletions
diff --git a/README.md b/README.md
index 26356ef6..2d81d9df 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@ nheko
 [![Chat on Matrix](https://img.shields.io/badge/chat-on%20matrix-blue.svg)](https://matrix.to/#/#nheko:matrix.org)
 [![License: GPL v3](https://img.shields.io/badge/license-GPL%20v3-red.svg)](https://www.gnu.org/licenses/gpl-3.0)
 [![AUR: nheko-git](https://img.shields.io/badge/AUR-nheko--git-blue.svg)](https://aur.archlinux.org/packages/nheko-git)
+[![Snap Status](https://build.snapcraft.io/badge/mujx/nheko.svg)](https://build.snapcraft.io/user/mujx/nheko)
 
 The motivation behind the project is to provide a native desktop app for [Matrix] that
 feels more like a mainstream chat app ([Riot], Telegram etc) and less like an IRC client.
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index a25f1013..b50f7e5b 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,5 +1,5 @@
 name: nheko
-version: master
+version: 0.1.0
 summary: Desktop client for the Matrix protocol
 description: |
   The motivation behind the project is to provide a native desktop app for
@@ -18,6 +18,14 @@ parts:
   nheko:
     source: .
     plugin: cmake
-    build-packages: [gcc]
+    configflags:
+      - -DCMAKE_BUILD_TYPE=RelWithDebInfo
+      - -DBUILD_TESTS=OFF
+    build-packages:
+      - gcc
+      - g++
+      - liblmdb-dev
+      - liblmdb0
+      - qt5tools5-dev-tools
     artifacts: [nheko]
     after: [desktop-qt5]