name: bitcoin
version: "0.12.1"
summary: Bitcoin is an experimental digital currency
description: |
Bitcoin uses peer-to-peer technology to operate with no central authority.
Managing transactions and issuing money are carried out collectively by the
network. Bitcoin Core is the name of open source software which enables the
use of this currency.
confinement: strict
apps:
bitcoin-qt:
# command: qt5-launch usr/local/bin/bitcoin-qt
command: desktop-launch bitcoin-qt
plugs: [x11, network, unity7, network-bind]
# bitcoind:
# command: usr/local/bin/bitcoind
# bitcoin-cli:
# command: usr/local/bin/bitcoin-cli
# bitcoin-tx:
# command: usr/local/bin/bitcoin-tx
# bench-bitcoin:
# command: usr/local/bin/bench_bitcoin
# test-bitcoin:
# command: usr/local/bin/test_bitcoin
parts:
bitcoin:
# after: [qt5conf]
after: [desktop/qt5]
plugin: autotools
source: https://github.com/bitcoin/bitcoin.git
source-type: git
source-tag: "v0.12.1"
configflags: [--prefix=/usr, --with-incompatible-bdb, --with-gui=qt5]
build-packages:
- g++
- pkg-config
- libssl-dev
- libevent-dev
- libboost-all-dev # quick and dirty, preferable to use individual packages
- libdb++-dev
- bsdmainutils # required for hexdump for tests
- qttools5-dev
- qttools5-dev-tools
- libprotobuf-dev
- protobuf-compiler
stage-packages:
- libqt5gui5 # graphical bits from here down
- libqt5core5a
- libqt5dbus5
- libxcb-composite0 # possibly needed to fix xcb issue
- libxcb-keysyms1
- libxcb-randr0
- libxcb-shm0
- libxcb-xv0
- libxcb1
- libgtk2.0-0