|
|
@ -11,15 +11,15 @@ packages: |
|
|
|
reference_datetime: "2011-01-30 00:00:00" |
|
|
|
reference_datetime: "2011-01-30 00:00:00" |
|
|
|
remotes: [] |
|
|
|
remotes: [] |
|
|
|
files: |
|
|
|
files: |
|
|
|
- "qt-everywhere-opensource-src-4.7.4.tar.gz" |
|
|
|
- "qt-everywhere-opensource-src-4.8.2.tar.gz" |
|
|
|
script: | |
|
|
|
script: | |
|
|
|
INSTDIR="$HOME/qt/" |
|
|
|
INSTDIR="$HOME/qt/" |
|
|
|
mkdir $INSTDIR |
|
|
|
mkdir $INSTDIR |
|
|
|
SRCDIR="$INSTDIR/src/" |
|
|
|
SRCDIR="$INSTDIR/src/" |
|
|
|
mkdir $SRCDIR |
|
|
|
mkdir $SRCDIR |
|
|
|
# |
|
|
|
# |
|
|
|
tar xzf qt-everywhere-opensource-src-4.7.4.tar.gz |
|
|
|
tar xzf qt-everywhere-opensource-src-4.8.2.tar.gz |
|
|
|
cd qt-everywhere-opensource-src-4.7.4 |
|
|
|
cd qt-everywhere-opensource-src-4.8.2 |
|
|
|
sed 's/$TODAY/2011-01-30/' -i configure |
|
|
|
sed 's/$TODAY/2011-01-30/' -i configure |
|
|
|
sed 's/i686-pc-mingw32-/i586-mingw32msvc-/' -i mkspecs/unsupported/win32-g++-cross/qmake.conf |
|
|
|
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 |
|
|
|
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 |
|
|
|
# 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 |
|
|
|
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 * |
|
|
|