annotate src/qt.mk @ 2353:99516e73b368

Move doc/index.html -> index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 12:14:15 +0200
parents f48c5b085a38
children 6bff7eaa7fd0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2179
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See 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 :=
2179
e1d7c2b4f285 update packages: lcms libpng qt suitesparse
Mark Brand <mabrand@mabrand.nl>
parents: 2170
diff changeset
7 $(PKG)_CHECKSUM := 2ba35adca8fb9c66a58eca61a15b21df6213f22e
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION)
2179
e1d7c2b4f285 update packages: lcms libpng qt suitesparse
Mark Brand <mabrand@mabrand.nl>
parents: 2170
diff changeset
9 $(PKG)_FILE := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION).tar.gz
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE)
1910
ce3b84b9514f package qt: build with -no-iconv
Nikos Chantziaras <realnc@arcor.de>
parents: 1909
diff changeset
11 $(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl zlib libpng jpeg libmng tiff sqlite dbus
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 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
15 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
16 $(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
17 tail -1
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
2013
378b4cabcda2 update package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1988
diff changeset
21 cd '$(1)' && QTDIR='$(1)' ./bin/syncqt
378b4cabcda2 update package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1988
diff changeset
22
791
4d838a936a8f fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents: 789
diff changeset
23 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
24 OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \
1040
0cf0c907b475 improvements for package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1015
diff changeset
25 PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \
2170
2ecab9e467a9 package qt: improve order of SYBASE_LIBS
Mark Brand <mabrand@mabrand.nl>
parents: 2103
diff changeset
26 SYBASE_LIBS="-lsybdb `'$(TARGET)-pkg-config' --libs-only-l gnutls` -liconv -lws2_32" \
1015
7997c04d4bef upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 990
diff changeset
27 ./configure \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 -opensource \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 -confirm-license \
1015
7997c04d4bef upgrade package qt to 4.7.0-beta1 (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 990
diff changeset
30 -fast \
2103
855b32e713a2 package qt: use new mkspec for gcc 4.6
Mark Brand <mabrand@mabrand.nl>
parents: 2076
diff changeset
31 -xplatform unsupported/win32-g++-4.6-cross \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
32 -force-pkg-config \
486
8eda0b6ec42a disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 485
diff changeset
33 -release \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 -exceptions \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 -static \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 -prefix '$(PREFIX)/$(TARGET)' \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 -prefix-install \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 -script \
1910
ce3b84b9514f package qt: build with -no-iconv
Nikos Chantziaras <realnc@arcor.de>
parents: 1909
diff changeset
39 -no-iconv \
470
a07d9f69e2ee add OpenGL support to package qt (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents: 468
diff changeset
40 -opengl desktop \
1050
3d74c8e772ad enable webkit in package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1040
diff changeset
41 -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
42 -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
43 -no-gstreamer \
509
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
44 -no-phonon \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 -no-phonon-backend \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
46 -accessibility \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 -no-reduce-exports \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
48 -no-rpath \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
49 -make libs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 -nomake demos \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
51 -nomake docs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
52 -nomake examples \
1097
93745bdf9745 upgrade package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1069
diff changeset
53 -qt-sql-sqlite \
93745bdf9745 upgrade package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1069
diff changeset
54 -qt-sql-odbc \
93745bdf9745 upgrade package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1069
diff changeset
55 -qt-sql-psql \
93745bdf9745 upgrade package qt
Mark Brand <mabrand@mabrand.nl>
parents: 1069
diff changeset
56 -qt-sql-tds -D Q_USE_SYBASE \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
57 -system-zlib \
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
58 -system-libpng \
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
59 -system-libjpeg \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
60 -system-libtiff \
1380
a21aabc31b87 package qt: improved handling of liblcms dependency
Mark Brand <mabrand@mabrand.nl>
parents: 1363
diff changeset
61 -system-libmng \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
62 -system-sqlite \
791
4d838a936a8f fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents: 789
diff changeset
63 -openssl-linked \
1531
3d2a35555fd3 package qt: added dbus support
Mark Brand <mabrand@mabrand.nl>
parents: 1380
diff changeset
64 -dbus-linked \
520
9294e8fad5e9 add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 515
diff changeset
65 -v
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
66
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
67 $(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
68 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
69 $(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
70 $(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
71 $(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
72 $(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
73 $(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
74
1538
c6b5e37cf4cb package qt: build and install qdbus tools
Mark Brand <mabrand@mabrand.nl>
parents: 1532
diff changeset
75 # at least some of the qdbus tools are useful on target
c6b5e37cf4cb package qt: build and install qdbus tools
Mark Brand <mabrand@mabrand.nl>
parents: 1532
diff changeset
76 cd '$(1)/tools/qdbus' && '$(1)/bin/qmake' qdbus.pro
c6b5e37cf4cb package qt: build and install qdbus tools
Mark Brand <mabrand@mabrand.nl>
parents: 1532
diff changeset
77 $(MAKE) -C '$(1)/tools/qdbus' -j '$(JOBS)' install
c6b5e37cf4cb package qt: build and install qdbus tools
Mark Brand <mabrand@mabrand.nl>
parents: 1532
diff changeset
78
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
79 mkdir '$(1)/test-qt'
2070
090eb3f8ce25 package qt: improve style
Mark Brand <mabrand@mabrand.nl>
parents: 2013
diff changeset
80 cd '$(1)/test-qt' && '$(TARGET)-qmake' '$(PWD)/$(2).pro'
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
81 $(MAKE) -C '$(1)/test-qt' -j '$(JOBS)'
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
82 $(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
83 endef