Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| # https://blog.simos.info/tag/snapcraft-yaml/ | |
| name: lindacoin-wallet | |
| version: '0.1' | |
| summary: Cryptocurrency Wallet for LindaCoin | |
| description: | | |
| Linda Cryptocoin is a hybrid coin with more than 70% pure PoS Block reward phase and 99% APR. This coin comes with a masternode which ensures lightening fast secured transaction, multi-wallets, encrypted messaging and stealth address for complete anonymity. Linda source can be found on GitHub (https://github.com/Lindacoin/Linda). Snap build can be found on GitHub (https://github.com/jeteokeeffe/linda). | |
| grade: stable | |
| #grade: classic | |
| confinement: strict | |
| icon: icons/lindacoin-wallet1.svg | |
| apps: | |
| lindacoin-wallet: | |
| command: desktop-launch $SNAP/Linda-qt -datadir=$SNAP_USER_COMMON | |
| plugs: | |
| - network | |
| - network-bind | |
| - x11 | |
| - home | |
| - unity7 | |
| parts: | |
| lindacoin-wallet: | |
| plugin: qmake | |
| source: https://github.com/Lindacoin/Linda.git | |
| options: ["USE_UPNP=-"] | |
| qt-version: "qt5" | |
| build: | | |
| # Add line | |
| echo "INCLUDEPATH += $SNAPCRAFT_STAGE/usr/local/secp256k1/include" >> Linda-qt.pro | |
| echo "INCLUDEPATH += $SNAPCRAFT_STAGE/usr/local/include" >> Linda-qt.pro | |
| echo "LIBPATH += $SNAPCRAFT_STAGE/usr/local/secp256k1/lib" >> Linda-qt.pro | |
| echo "LIBPATH += $SNAPCRAFT_STAGE/usr/local/lib" >> Linda-qt.pro | |
| sed -i 's/.qm/.ts/g' src/qt/bitcoin.qrc | |
| qmake -qt=qt5 USE_UPNP=- | |
| make | |
| install: | | |
| strip ../build/Linda-qt | |
| mv ../build/Linda-qt $SNAPCRAFT_PART_INSTALL | |
| build-packages: | |
| - libssl-dev | |
| - libgmp3-dev | |
| - libevent-dev | |
| - bsdmainutils | |
| - libboost-all-dev | |
| - libqrencode-dev | |
| stage-packages: | |
| - libboost-program-options1.58.0 | |
| - libboost-thread1.58.0 | |
| - libboost-filesystem1.58.0 | |
| - libboost-system1.58.0 | |
| - libqt5gui5 | |
| after: | |
| - desktop-qt5 | |
| - libdb | |
| - secp256k1 | |
| libdb: | |
| plugin: autotools | |
| source: http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz | |
| #source-subdir: build_unix | |
| #configflags: ["--enable-cxx"] | |
| build: | | |
| cd ./build_unix | |
| ../dist/configure --enable-cxx --prefix=$SNAPCRAFT_STAGE/usr/local | |
| make | |
| sudo make install | |
| stage: | |
| - usr/local/include/* | |
| - usr/local/lib/* | |
| prime: | |
| - usr/local/lib/* | |
| #artifacts: | |
| # - libdb_cxx-4.8.so | |
| # - libdb-4.8.so | |
| #organize: | |
| # - usr/lib/BerkelyDB.4.8/*: /usr/lib | |
| # - usr/include/BerkeleyDB.4.8/*: /usr/include | |
| secp256k1: | |
| plugin: autotools | |
| source: https://github.com/Lindacoin/Linda.git | |
| source-subdir: src/secp256k1 | |
| configflags: [ "--prefix=/usr/local/secp256k1" ] | |
| stage: | |
| - usr/local/secp256k1/include/* | |
| - usr/local/secp256k1/lib/* | |
| prime: | |
| - usr/local/secp256k1/lib/* | |
| #artifacts: | |
| # - .libs/libsecp256k1.so | |
| # - .libs/libsecp256k1.so.0.0.0 | |
| #organize: | |
| # .libs/libsecp256k1.so: usr/lib/libsecp256k1.so | |
| # .libs/libsecp256k1.so.0.0.0: usr/lib/libsecp256k1.so.0.0.0 | |
| icons: | |
| plugin: dump | |
| source: icons | |
| organize: | |
| lindacoin-wallet1.png: usr/share/lindacoin-wallet1.png | |
| lindacoin-wallet1.svg: usr/share/lindacoin-wallet1.svg | |