|
|
|
@ -11,15 +11,15 @@ packages:
|
|
|
|
|
reference_datetime: "2011-01-30 00:00:00"
|
|
|
|
|
remotes: []
|
|
|
|
|
files:
|
|
|
|
|
- "qt-everywhere-opensource-src-4.7.4.tar.gz"
|
|
|
|
|
- "qt-everywhere-opensource-src-4.8.2.tar.gz"
|
|
|
|
|
script: |
|
|
|
|
|
INSTDIR="$HOME/qt/"
|
|
|
|
|
mkdir $INSTDIR
|
|
|
|
|
SRCDIR="$INSTDIR/src/"
|
|
|
|
|
mkdir $SRCDIR
|
|
|
|
|
#
|
|
|
|
|
tar xzf qt-everywhere-opensource-src-4.7.4.tar.gz
|
|
|
|
|
cd qt-everywhere-opensource-src-4.7.4
|
|
|
|
|
tar xzf qt-everywhere-opensource-src-4.8.2.tar.gz
|
|
|
|
|
cd qt-everywhere-opensource-src-4.8.2
|
|
|
|
|
sed 's/$TODAY/2011-01-30/' -i configure
|
|
|
|
|
sed 's/i686-pc-mingw32-/i586-mingw32msvc-/' -i mkspecs/unsupported/win32-g++-cross/qmake.conf
|
|
|
|
|
sed --posix 's|QMAKE_CFLAGS\t\t= -pipe|QMAKE_CFLAGS\t\t= -pipe -isystem /usr/i586-mingw32msvc/include/ -frandom-seed=qtbuild|' -i mkspecs/unsupported/win32-g++-cross/qmake.conf
|
|
|
|
@ -51,4 +51,4 @@ script: |
|
|
|
|
|
|
|
|
|
|
# as zip stores file timestamps, use faketime to intercept stat calls to set dates for all files to reference date
|
|
|
|
|
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
|
|
|
|
|
zip -r $OUTDIR/qt-win32-4.7.4-gitian-r1.zip *
|
|
|
|
|
zip -r $OUTDIR/qt-win32-4.8.2-gitian-r1.zip *
|
|
|
|
|