2011-07-03 14:41:09 +02:00
|
|
|
---
|
|
|
|
name: "bitcoin"
|
|
|
|
suites:
|
2013-09-23 04:55:00 +02:00
|
|
|
- "precise"
|
2011-07-03 14:41:09 +02:00
|
|
|
architectures:
|
2013-09-23 04:55:00 +02:00
|
|
|
- "amd64"
|
2012-09-22 08:51:03 +02:00
|
|
|
packages:
|
2013-09-23 04:55:00 +02:00
|
|
|
- "mingw-w64"
|
|
|
|
- "g++-mingw-w64"
|
2011-07-03 14:41:09 +02:00
|
|
|
- "git-core"
|
|
|
|
- "unzip"
|
|
|
|
- "nsis"
|
2011-08-23 14:43:24 +02:00
|
|
|
- "faketime"
|
2013-05-28 01:55:01 +02:00
|
|
|
- "autoconf2.13"
|
|
|
|
- "libtool"
|
|
|
|
- "automake"
|
|
|
|
- "pkg-config"
|
2013-09-10 21:15:10 +02:00
|
|
|
- "bsdmainutils"
|
2013-05-28 01:55:01 +02:00
|
|
|
|
|
|
|
reference_datetime: "2013-06-01 00:00:00"
|
2011-07-03 14:41:09 +02:00
|
|
|
remotes:
|
2012-10-29 21:36:25 +01:00
|
|
|
- "url": "https://github.com/bitcoin/bitcoin.git"
|
2011-07-03 14:41:09 +02:00
|
|
|
"dir": "bitcoin"
|
|
|
|
files:
|
2013-09-23 04:55:00 +02:00
|
|
|
- "qt-win32-4.8.3-gitian-r4.zip"
|
2013-09-26 10:33:25 +02:00
|
|
|
- "boost-win32-1.54.0-gitian-r6.zip"
|
2013-09-30 08:46:26 +02:00
|
|
|
- "bitcoin-deps-win32-gitian-r9.zip"
|
2013-09-23 04:55:00 +02:00
|
|
|
- "protobuf-win32-2.5.0-gitian-r3.zip"
|
2011-07-03 14:41:09 +02:00
|
|
|
script: |
|
|
|
|
#
|
2013-05-28 01:55:01 +02:00
|
|
|
STAGING=$HOME/staging
|
2013-09-23 04:55:00 +02:00
|
|
|
HOST=i686-w64-mingw32
|
|
|
|
#
|
2013-05-28 01:55:01 +02:00
|
|
|
mkdir -p $STAGING
|
|
|
|
cd $STAGING
|
2013-09-23 04:55:00 +02:00
|
|
|
unzip ../build/qt-win32-4.8.3-gitian-r4.zip
|
2013-09-26 10:33:25 +02:00
|
|
|
unzip ../build/boost-win32-1.54.0-gitian-r6.zip
|
2013-09-30 08:46:26 +02:00
|
|
|
unzip ../build/bitcoin-deps-win32-gitian-r9.zip
|
2013-09-23 04:55:00 +02:00
|
|
|
unzip ../build/protobuf-win32-2.5.0-gitian-r3.zip
|
2011-10-10 18:07:30 +02:00
|
|
|
cd $HOME/build/
|
2011-12-24 05:23:12 +01:00
|
|
|
#
|
2011-07-03 14:41:09 +02:00
|
|
|
cd bitcoin
|
2013-05-28 01:55:01 +02:00
|
|
|
export PATH=$STAGING/host/bin:$PATH
|
|
|
|
export TAR_OPTIONS=--mtime=`echo $REFERENCE_DATETIME | awk '{ print $1 }'`
|
|
|
|
./autogen.sh
|
2013-09-23 04:55:00 +02:00
|
|
|
./configure --bindir=$OUTDIR --prefix=$STAGING --host=$HOST --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include" LDFLAGS="-L$STAGING/lib" CXXFLAGS="-frandom-seed=bitcoin"
|
2013-05-28 01:55:01 +02:00
|
|
|
make dist
|
|
|
|
mkdir -p distsrc
|
|
|
|
cd distsrc
|
|
|
|
tar --strip-components=1 -xf ../bitcoin-*.tar.*
|
2013-09-23 04:55:00 +02:00
|
|
|
./configure --bindir=$OUTDIR --prefix=$STAGING --host=i686-w64-mingw32 --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include" LDFLAGS="-L$STAGING/lib" CXXFLAGS="-frandom-seed=bitcoin"
|
2011-10-29 17:25:49 +02:00
|
|
|
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
|
|
|
|
export FAKETIME=$REFERENCE_DATETIME
|
|
|
|
export TZ=UTC
|
2011-10-24 21:27:54 +02:00
|
|
|
make $MAKEOPTS
|
2013-05-28 01:55:01 +02:00
|
|
|
make deploy
|
|
|
|
make install-strip
|
|
|
|
cp -f bitcoin-*setup*.exe $OUTDIR/
|
|
|
|
|
|
|
|
mkdir -p $OUTDIR/src
|
|
|
|
cp -f ../bitcoin-*.tar.* $OUTDIR/src
|