From a3fd83192d4360ec2357944c263f4dfc13081fa9 Mon Sep 17 00:00:00 2001
From: Konstantinos Sideris <sideris.konstantin@gmail.com>
Date: Sat, 21 Oct 2017 12:22:12 +0300
Subject: [PATCH] Update snap

---
 README.md           |  1 +
 snap/snapcraft.yaml | 12 ++++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 26356ef6a..2d81d9df3 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 a25f1013f..b50f7e5b0 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]
-- 
GitLab