comparison src/qt.mk @ 1097:93745bdf9745

upgrade package qt
author Mark Brand <mabrand@mabrand.nl>
date Thu, 26 Aug 2010 22:45:04 +0200
parents d4332a55d0ee
children 9be4cacf1993
comparison
equal deleted inserted replaced
1096:8b5594df8875 1097:93745bdf9745
2 # See doc/index.html for further information. 2 # See doc/index.html for further information.
3 3
4 # Qt 4 # Qt
5 PKG := qt 5 PKG := qt
6 $(PKG)_IGNORE := 6 $(PKG)_IGNORE :=
7 $(PKG)_VERSION := 4.7.0-beta1 7 $(PKG)_VERSION := 4.7.0-rc1
8 $(PKG)_CHECKSUM := ae3c3b0fa6e50d333c4bcac7ecd8c50078273046 8 $(PKG)_CHECKSUM := d34f2c277ce153dc18d66b8c5bce405714f1cb4b
9 $(PKG)_SUBDIR := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION) 9 $(PKG)_SUBDIR := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION)
10 $(PKG)_FILE := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION).tar.gz 10 $(PKG)_FILE := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION).tar.gz
11 $(PKG)_WEBSITE := http://qt.nokia.com/ 11 $(PKG)_WEBSITE := http://qt.nokia.com/
12 $(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE) 12 $(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE)
13 $(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl libgcrypt zlib libpng jpeg libmng tiff giflib sqlite libiconv 13 $(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl libgcrypt zlib libpng jpeg libmng tiff giflib sqlite libiconv
19 tail -1 19 tail -1
20 endef 20 endef
21 21
22 define $(PKG)_BUILD 22 define $(PKG)_BUILD
23 23
24 cd '$(1)' && QTDIR='$(1)' ./bin/syncqt
25
24 # We prefer static mingw-cross-env system libs for static build: 26 # We prefer static mingw-cross-env system libs for static build:
25 # -system-zlib -system-libpng -system-libjpeg -system-libtiff -system-libmng -system-sqlite 27 # -system-zlib -system-libpng -system-libjpeg -system-libtiff -system-libmng -system-sqlite
26 # There is no -system-gif option. NB -system-libmng will not link in shared build. 28 # There is no -system-gif option.
27 # Linking QtNetwork4.dll requires OPENSSL_LIBS as does linking apps with static Qt. 29 #
28 # Linking qsqlpsql4.dll plugin requires PSQL_LIBS as does linking apps with static Qt.
29 # For shared Qt with qt-zlib, add -lQtCore4 to end of OPENSSL_LIBS to satisfy zlib dependency. 30 # For shared Qt with qt-zlib, add -lQtCore4 to end of OPENSSL_LIBS to satisfy zlib dependency.
30 # -no-largefile does not really disable large file support, it just prevents defining
31 # QT_LARGEFILE_SUPPORT 64 which is not intended for win32.
32 cd '$(1)' && \ 31 cd '$(1)' && \
33 OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ 32 OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \
34 PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \ 33 PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \
34 SYBASE_LIBS="-lsybdb -liconv -lws2_32" \
35 MAKEFLAGS="-j '$(JOBS)'" \
35 ./configure \ 36 ./configure \
36 -opensource \ 37 -opensource \
37 -confirm-license \ 38 -confirm-license \
38 -fast \ 39 -fast \
39 -xplatform unsupported/win32-g++-cross \ 40 -xplatform unsupported/win32-g++-cross \
55 -no-rpath \ 56 -no-rpath \
56 -make libs \ 57 -make libs \
57 -nomake demos \ 58 -nomake demos \
58 -nomake docs \ 59 -nomake docs \
59 -nomake examples \ 60 -nomake examples \
60 -plugin-sql-sqlite \ 61 -qt-sql-sqlite \
61 -plugin-sql-odbc \ 62 -qt-sql-odbc \
62 -plugin-sql-psql \ 63 -qt-sql-psql \
63 -plugin-sql-tds \ 64 -qt-sql-tds -D Q_USE_SYBASE \
64 -system-zlib \ 65 -system-zlib \
65 -system-libpng \ 66 -system-libpng \
66 -system-libjpeg \ 67 -system-libjpeg \
67 -system-libtiff \ 68 -system-libtiff \
68 -system-libmng \ 69 -system-libmng \