From c8faa4c23fb6f31de61dd9d29d2db54959d914a4 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Sun, 8 Nov 2020 15:05:03 -0600 Subject: [PATCH] bitcoin: update to 0.20.1 --- srcpkgs/bitcoin/patches/qt5.15.patch | 10 ---------- srcpkgs/bitcoin/template | 18 ++++++++++++------ 2 files changed, 12 insertions(+), 16 deletions(-) delete mode 100644 srcpkgs/bitcoin/patches/qt5.15.patch diff --git a/srcpkgs/bitcoin/patches/qt5.15.patch b/srcpkgs/bitcoin/patches/qt5.15.patch deleted file mode 100644 index adfe3604717..00000000000 --- a/srcpkgs/bitcoin/patches/qt5.15.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/qt/trafficgraphwidget.cpp 2020-03-04 13:13:02.000000000 +0100 -+++ - 2020-07-02 17:58:16.576242713 +0200 -@@ -6,6 +6,7 @@ - #include - #include - -+#include - #include - #include - #include diff --git a/srcpkgs/bitcoin/template b/srcpkgs/bitcoin/template index df1ab218e16..b8ad4e4dd97 100644 --- a/srcpkgs/bitcoin/template +++ b/srcpkgs/bitcoin/template @@ -1,12 +1,12 @@ # Template file for 'bitcoin' pkgname=bitcoin -version=0.19.1 -revision=3 +version=0.20.1 +revision=1 build_style=gnu-configure configure_args="--with-incompatible-bdb --disable-ccache --disable-static --enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr" -hostmakedepends="pkg-config yasm protobuf" -makedepends="db-devel protobuf-devel libprotoc-devel boost-devel +hostmakedepends="pkg-config yasm autoconf automake libtool" +makedepends="db-devel boost-devel miniupnpc-devel libevent-devel qrencode-devel libatomic-devel" short_desc="Bitcoin is a peer-to-peer network based digital currency" maintainer="Orphaned " @@ -15,7 +15,7 @@ homepage="https://bitcoin.org/" distfiles="https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz https://raw.github.com/bitcoin-core/packaging/master/debian/bitcoin-qt.desktop https://raw.github.com/bitcoin/bitcoin/v${version}/share/pixmaps/bitcoin128.png" -checksum="f2591d555b8e8c2e1bd780e40d53a91e165d8b3c7e0391ae2d24a0c0f23a7cc0 +checksum="4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978 0a46bbadda140599e807be38999e6848c89f9c3523d26fede02d34d62d50f632 ad880c8459ecfdb96abe6a4689af06bdd27906e0edcd39d0915482f2da91e722" conflicts="litecoin>=0" # Both provide libbitcoinconsensus.so.0 @@ -29,11 +29,17 @@ if [ -z "$CROSS_BUILD" ]; then subpackages+=" bitcoin-qt" fi +export BITCOIN_GENBUILD_NO_GIT=1 + +pre_configure() { + autoreconf -fi +} + post_install() { rm "${DESTDIR}"/usr/bin/{test,bench}_bitcoin for b in bitcoind bitcoin-cli bitcoin-tx; do - vinstall contrib/${b}.bash-completion 644 usr/share/bash-completion $b + vcompletion contrib/${b}.bash-completion bash "$b" done vlicense COPYING