Mercurial > mxe-octave
annotate src/qt.mk @ 1069:d4332a55d0ee
update checksum for package qt
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Wed, 16 Jun 2010 12:05:34 +0200 |
parents | 3d74c8e772ad |
children | 93745bdf9745 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
578
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
660
diff
changeset
|
2 # See doc/index.html for further information. |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # Qt |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := qt |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
1015
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
7 $(PKG)_VERSION := 4.7.0-beta1 |
1069
d4332a55d0ee
update checksum for package qt
Mark Brand <mabrand@mabrand.nl>
parents:
1050
diff
changeset
|
8 $(PKG)_CHECKSUM := ae3c3b0fa6e50d333c4bcac7ecd8c50078273046 |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION) |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION).tar.gz |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://qt.nokia.com/ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 $(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE) |
1015
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
13 $(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl libgcrypt zlib libpng jpeg libmng tiff giflib sqlite libiconv |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://qt.gitorious.org/qt/qt/commits' | \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 grep '<li><a href="/qt/qt/commit/' | \ |
840
77ecd36317c2
corrected version recognition regexes of many packages
Volker Grabsch <vog@notjusthosting.com>
parents:
822
diff
changeset
|
18 $(SED) -n 's,.*<a[^>]*>v\([0-9][^<-]*\)<.*,\1,p' | \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 tail -1 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
786
d3d9a4a2843d
revert openssl hacks in configure and use pg_config in package qt
Mark Brand <mabrand@mabrand.nl>
parents:
785
diff
changeset
|
23 |
578
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
24 # We prefer static mingw-cross-env system libs for static build: |
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
25 # -system-zlib -system-libpng -system-libjpeg -system-libtiff -system-libmng -system-sqlite |
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
26 # There is no -system-gif option. NB -system-libmng will not link in shared build. |
821
6d2133800cef
do not add QtCore4 to OPENSSL_LIBS for static builds of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
796
diff
changeset
|
27 # Linking QtNetwork4.dll requires OPENSSL_LIBS as does linking apps with static Qt. |
6d2133800cef
do not add QtCore4 to OPENSSL_LIBS for static builds of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
796
diff
changeset
|
28 # Linking qsqlpsql4.dll plugin requires PSQL_LIBS as does linking apps with static Qt. |
6d2133800cef
do not add QtCore4 to OPENSSL_LIBS for static builds of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
796
diff
changeset
|
29 # For shared Qt with qt-zlib, add -lQtCore4 to end of OPENSSL_LIBS to satisfy zlib dependency. |
1015
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
30 # -no-largefile does not really disable large file support, it just prevents defining |
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
31 # QT_LARGEFILE_SUPPORT 64 which is not intended for win32. |
791
4d838a936a8f
fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
789
diff
changeset
|
32 cd '$(1)' && \ |
821
6d2133800cef
do not add QtCore4 to OPENSSL_LIBS for static builds of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
796
diff
changeset
|
33 OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ |
1040
0cf0c907b475
improvements for package qt
Mark Brand <mabrand@mabrand.nl>
parents:
1015
diff
changeset
|
34 PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \ |
1015
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
35 ./configure \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 -opensource \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 -confirm-license \ |
1015
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
38 -fast \ |
1040
0cf0c907b475
improvements for package qt
Mark Brand <mabrand@mabrand.nl>
parents:
1015
diff
changeset
|
39 -xplatform unsupported/win32-g++-cross \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
40 -force-pkg-config \ |
486
8eda0b6ec42a
disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
485
diff
changeset
|
41 -release \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
42 -exceptions \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
43 -static \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
44 -prefix '$(PREFIX)/$(TARGET)' \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
45 -prefix-install \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
46 -script \ |
470
a07d9f69e2ee
add OpenGL support to package qt (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
468
diff
changeset
|
47 -opengl desktop \ |
1050
3d74c8e772ad
enable webkit in package qt
Mark Brand <mabrand@mabrand.nl>
parents:
1040
diff
changeset
|
48 -webkit \ |
822
4a0fe1fd4abc
bugfix: phonon backend does not depend on glib and gstreamer in package qt
Mark Brand <mabrand@mabrand.nl>
parents:
821
diff
changeset
|
49 -no-glib \ |
4a0fe1fd4abc
bugfix: phonon backend does not depend on glib and gstreamer in package qt
Mark Brand <mabrand@mabrand.nl>
parents:
821
diff
changeset
|
50 -no-gstreamer \ |
509
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
51 -no-phonon \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
52 -no-phonon-backend \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
53 -accessibility \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
54 -no-reduce-exports \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
55 -no-rpath \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
56 -make libs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
57 -nomake demos \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
58 -nomake docs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
59 -nomake examples \ |
510
6c10ecfc3774
enable sqlite support in package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
509
diff
changeset
|
60 -plugin-sql-sqlite \ |
520
9294e8fad5e9
add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
515
diff
changeset
|
61 -plugin-sql-odbc \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
62 -plugin-sql-psql \ |
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
63 -plugin-sql-tds \ |
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
64 -system-zlib \ |
578
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
65 -system-libpng \ |
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
66 -system-libjpeg \ |
573
57166e6490d2
use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
570
diff
changeset
|
67 -system-libtiff \ |
578
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
68 -system-libmng \ |
573
57166e6490d2
use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
570
diff
changeset
|
69 -system-sqlite \ |
791
4d838a936a8f
fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
789
diff
changeset
|
70 -openssl-linked \ |
520
9294e8fad5e9
add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
515
diff
changeset
|
71 -v |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
72 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
73 $(MAKE) -C '$(1)' -j '$(JOBS)' |
464
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
74 rm -rf '$(PREFIX)/$(TARGET)/mkspecs' |
659
c96eeb56f5de
improved escaping in the build rules of package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
648
diff
changeset
|
75 $(MAKE) -C '$(1)' -j 1 install |
1015
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
76 $(INSTALL) -m755 '$(1)/bin/moc' '$(PREFIX)/bin/$(TARGET)-moc' |
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
77 $(INSTALL) -m755 '$(1)/bin/rcc' '$(PREFIX)/bin/$(TARGET)-rcc' |
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
78 $(INSTALL) -m755 '$(1)/bin/uic' '$(PREFIX)/bin/$(TARGET)-uic' |
7997c04d4bef
upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
990
diff
changeset
|
79 $(INSTALL) -m755 '$(1)/bin/qmake' '$(PREFIX)/bin/$(TARGET)-qmake' |
660
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
80 |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
81 mkdir '$(1)/test-qt' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
82 cp '$(2)'* '$(1)/test-qt/' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
83 cd '$(1)/test-qt' && '$(TARGET)-qmake' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
84 $(MAKE) -C '$(1)/test-qt' -j '$(JOBS)' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
85 $(INSTALL) -m755 '$(1)/test-qt/release/test-qt.exe' '$(PREFIX)/$(TARGET)/bin/' |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
86 endef |