Skip to content

Commit

Permalink
Fix snapcraft build online
Browse files Browse the repository at this point in the history
  • Loading branch information
observerdev committed Oct 28, 2018
1 parent 16675fb commit 70ded9a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Expand Up @@ -134,3 +134,10 @@ cmake-build-debug

# VScode
.vscode/

# Snap
parts/
prime/
*.snap
snap/.snapcraft/*
stage/
13 changes: 7 additions & 6 deletions snap/snapcraft.yaml
@@ -1,5 +1,5 @@
name: obsr
version: master
version: v1.0.1
summary: peer-to-peer network based digital currency
description: |
Obsr is a free open source peer-to-peer electronic cash system that
Expand All @@ -8,7 +8,7 @@ description: |
transact directly with each other, with the help of a P2P network to
check for double-spending.
grade: devel
grade: stable
confinement: strict

apps:
Expand All @@ -21,12 +21,14 @@ apps:
command: desktop-launch obsr-qt
plugs: [network, network-bind, unity7]
desktop: obsr.desktop
cli:
command: obsr-cli

parts:
obsr:
source: https://github.com/observernet/obsr
source-type: git
source-tag: master
source-tag: v1.0.1
plugin: autotools
# We don't want to copy the full blockchain every time that the snap is
# updated, but there's no way to define a default data dir in bitcoin-qt.
Expand All @@ -35,7 +37,7 @@ parts:
build-packages:
- g++
- pkg-config
- libssl-dev
- libssl1.0-dev
- libevent-dev
- bsdmainutils
- libgmp-dev
Expand Down Expand Up @@ -63,7 +65,6 @@ parts:
after:
- berkeleydb
- patches

berkeleydb:
source: https://github.com/observerdev/db-4.8.30/releases/download/db-4.8.30/db-4.8.30.tar.gz
plugin: nil
Expand All @@ -80,4 +81,4 @@ parts:
- -*
desktop:
source: snap/gui
plugin: dump
plugin: dump

0 comments on commit 70ded9a

Please sign in to comment.