mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
bitcoin: update to 0.12.0.
This commit is contained in:
parent
a775ad45ee
commit
585ab05a31
1 changed files with 12 additions and 6 deletions
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'bitcoin'
|
# Template file for 'bitcoin'
|
||||||
pkgname=bitcoin
|
pkgname=bitcoin
|
||||||
version=0.11.2
|
version=0.12.0
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="pkg-config yasm"
|
hostmakedepends="pkg-config yasm"
|
||||||
makedepends="db-devel protobuf-devel libressl-devel boost-devel miniupnpc-devel"
|
makedepends="db-devel protobuf-devel boost-devel miniupnpc-devel libevent-devel qrencode-devel"
|
||||||
short_desc="Bitcoin is a peer-to-peer network based digital currency"
|
short_desc="Bitcoin is a peer-to-peer network based digital currency"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://www.bitcoin.org/"
|
homepage="https://bitcoin.org/"
|
||||||
distfiles="https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
distfiles="https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
||||||
checksum=a4d2bd642e5f7f1f82dc3f708618ac77e1e45353db7a98bf81c3bdc0e10690d3
|
checksum=0f1cda66c841a548a07cc37e80b0727354b1236d9f374c7d44362acdb85eb3e1
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) broken="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2804/steps/shell_3/logs/stdio";;
|
*-musl) broken="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2804/steps/shell_3/logs/stdio";;
|
||||||
|
@ -18,13 +18,14 @@ esac
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
# XXX -qt subpkg
|
# XXX -qt subpkg
|
||||||
hostmakedepends+=" automoc4"
|
|
||||||
makedepends+=" qt5-devel qt5-tools-devel"
|
makedepends+=" qt5-devel qt5-tools-devel"
|
||||||
configure_args+=" --with-gui"
|
configure_args+=" --with-gui"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
extra_files="
|
extra_files="
|
||||||
|
https://patch-diff.githubusercontent.com/raw/bitcoin/bitcoin/pull/7520.patch
|
||||||
|
https://github.com/AliceWonderMiscreations/bitcoin/commit/8b8c753588652c27b7b7f0d56ef962b28f43ff56.patch
|
||||||
https://raw.github.com/bitcoin/bitcoin/v${version}/contrib/debian/bitcoin-qt.desktop
|
https://raw.github.com/bitcoin/bitcoin/v${version}/contrib/debian/bitcoin-qt.desktop
|
||||||
https://raw.github.com/bitcoin/bitcoin/v${version}/share/pixmaps/bitcoin128.png
|
https://raw.github.com/bitcoin/bitcoin/v${version}/share/pixmaps/bitcoin128.png
|
||||||
https://raw.github.com/bitcoin/bitcoin/v${version}/contrib/debian/examples/bitcoin.conf
|
https://raw.github.com/bitcoin/bitcoin/v${version}/contrib/debian/examples/bitcoin.conf
|
||||||
|
@ -36,8 +37,13 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cd ${pkgname}-${version}
|
cd ${pkgname}-${version}
|
||||||
|
|
||||||
|
# The following two patches patches fix an error in release 0.12.0 that avoids
|
||||||
|
# building with libressl although it is not even a dependency any more.
|
||||||
|
patch -Np1 -i ${wrksrc}/7520.patch
|
||||||
|
patch -Np1 -i ${wrksrc}/8b8c753588652c27b7b7f0d56ef962b28f43ff56.patch
|
||||||
|
|
||||||
./configure ${configure_args} \
|
./configure ${configure_args} \
|
||||||
--with-libressl \
|
|
||||||
--with-incompatible-bdb \
|
--with-incompatible-bdb \
|
||||||
--disable-ccache \
|
--disable-ccache \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
|
Loading…
Add table
Reference in a new issue