aboutsummaryrefslogtreecommitdiff
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-15 15:20:38 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-15 15:20:38 +0200
commitd4a533a8002c96301b3b010c33a60bde38315b05 (patch)
tree07c0df51b77131e3862a48cb829f69c03d0b81ca /snapcraft.yaml
parentMerge pull request #1067 (diff)
parentAdd libminiupnpc and libunwind to snap. (diff)
downloadmonero-d4a533a8002c96301b3b010c33a60bde38315b05.tar.xz
Merge pull request #1068
a5af33d Add libminiupnpc and libunwind to snap. (Casey Marshall) 823843e Fix portability issues discovered with fresh snap install. (Casey Marshall) 0a56d83 Add snap packaging. (Casey Marshall)
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml73
1 files changed, 73 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 000000000..2ad7ad603
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,73 @@
+name: monero
+version: 0 # TODO: change this to release version in CI builds
+summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org"
+description: |
+ Monero is a private, secure, untraceable, decentralised digital currency.
+ You are your bank, you control your funds, and nobody can trace your transfers
+ unless you allow them to do so.
+grade: devel
+confinement: strict
+
+apps:
+ d:
+ daemon: forking
+ command: daemon.bash
+ plugs:
+ - network
+ - network-bind
+
+ log:
+ command: log.bash
+
+ monero:
+ command: wallet.bash
+ plugs:
+ - network
+
+parts:
+ wrapper:
+ plugin: dump
+ source: .
+ stage-packages:
+ - rlwrap
+ organize:
+ contrib/snap/daemon.bash: daemon.bash
+ contrib/snap/log.bash: log.bash
+ contrib/snap/wallet.bash: wallet.bash
+ snap:
+ - daemon.bash
+ - log.bash
+ - wallet.bash
+ - usr/bin/rlwrap
+
+ cmake-build:
+ plugin: cmake
+ configflags:
+ - -DBDB_STATIC=1
+ - -DUPNP_STATIC=1
+ - -DBoost_USE_STATIC_LIBS=1
+ - -DBoost_USE_STATIC_RUNTIME=1
+ - -DARCH=default
+ source: .
+ build-packages:
+ - gcc
+ - cmake
+ - pkg-config
+ - libunbound-dev
+ - libevent-dev
+ - libboost-all-dev
+ - libdb-dev
+ - libunwind-dev
+ - libminiupnpc-dev
+ - libldns-dev
+ - libexpat1-dev
+ - bison
+ - doxygen
+ - graphviz
+ stage-packages:
+ - libminiupnpc10
+ - libunbound2
+ - libunwind8
+ snap:
+ - bin
+ - usr