annotate src/qt.mk @ 576:d262f9cc5821

some more improvements for package qt (by Mark Brand)
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 04 Dec 2009 22:24:17 +0100
parents bdd31b51843e
children 41c0ac9326f2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # Copyright (C) 2009 Mark Brand
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # Volker Grabsch
485
3a5cfb84f2b8 removed a workaround which is no longer needed at that place in package qt (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 484
diff changeset
3 # Tony Theodore
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 #
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 # Permission is hereby granted, free of charge, to any person obtaining
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 # a copy of this software and associated documentation files (the
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 # "Software"), to deal in the Software without restriction, including
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 # without limitation the rights to use, copy, modify, merge, publish,
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 # distribute, sublicense, and/or sell copies of the Software, and to
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 # permit persons to whom the Software is furnished to do so, subject
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 # to the following conditions:
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 # The above copyright notice and this permission notice shall be
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 # included in all copies or substantial portions of the Software.
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 #
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 # Qt
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 PKG := qt
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(PKG)_IGNORE :=
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
27 $(PKG)_VERSION := 4.6.0
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
28 $(PKG)_CHECKSUM := c2cbbde83f1ebac3b8dd13a112fcad757d395041
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(PKG)_SUBDIR := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION)
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 $(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
31 $(PKG)_WEBSITE := http://qt.nokia.com/
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 $(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE)
574
bdd31b51843e various improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 573
diff changeset
33 $(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl libgcrypt zlib libpng jpeg libmng tiff sqlite
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 define $(PKG)_UPDATE
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 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
37 grep '<li><a href="/qt/qt/commit/' | \
570
d57a1e81a31e avoid tp/beta/rc/... versions of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 564
diff changeset
38 $(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
39 tail -1
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 endef
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 define $(PKG)_BUILD
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43
468
f826746491e6 build the native Qt tools from unpatched sources
Volker Grabsch <vog@notjusthosting.com>
parents: 466
diff changeset
44 # Native, unpatched build of Qt for moc, rcc, uic and qmake
f826746491e6 build the native Qt tools from unpatched sources
Volker Grabsch <vog@notjusthosting.com>
parents: 466
diff changeset
45 cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,qt)
f826746491e6 build the native Qt tools from unpatched sources
Volker Grabsch <vog@notjusthosting.com>
parents: 466
diff changeset
46 mv '$(1)/$(qt_SUBDIR)' '$(1).native'
509
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
47
471
db393d589865 more bugfixes for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 470
diff changeset
48 $(SED) 's,PLATFORM_X11=yes,PLATFORM_X11=no,' -i '$(1)'.native/configure
db393d589865 more bugfixes for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 470
diff changeset
49 $(SED) 's,PLATFORM=solaris-cc$$,PLATFORM=solaris-g++,' -i '$(1)'.native/configure
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 cd '$(1)'.native && ./configure \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
51 -opensource \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
52 -confirm-license \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
53 -prefix '$(PREFIX)/$(TARGET)' \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
54 -prefix-install \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
55 -fast \
486
8eda0b6ec42a disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 485
diff changeset
56 -release \
466
c2462319a112 simplify the native build in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 464
diff changeset
57 -no-exceptions \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
58 -nomake demos \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
59 -nomake examples \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
60 -nomake libs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
61 -nomake tools \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
62 -nomake docs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
63 -nomake translations
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
64
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
65 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-tools-bootstrap
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
66 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-moc
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
67 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-rcc
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
68 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-uic
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
69
484
c8954f97a8ea portability fix for MacOS X for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 480
diff changeset
70 # rebuild qmake to use "-unix" as default and to use the correct "ar" command
c8954f97a8ea portability fix for MacOS X for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 480
diff changeset
71 $(SED) 's,\(Option::TARG_MODE Option::target_mode = Option::TARG_\)[A-Z_]*,\1UNIX_MODE,' -i '$(1)'.native/qmake/option.cpp
487
4b8907de7038 re-enable an important workaround in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 486
diff changeset
72 $(SED) 's,"ar -M,"$(TARGET)-ar -M,' -i '$(1)'.native/qmake/generators/win32/mingw_make.cpp
484
c8954f97a8ea portability fix for MacOS X for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 480
diff changeset
73 $(MAKE) -C '$(1)'.native/qmake -j $(JOBS)
c8954f97a8ea portability fix for MacOS X for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 480
diff changeset
74
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
75 # install the native tools manually
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
76 $(INSTALL) -m755 '$(1)'.native/bin/moc '$(PREFIX)/bin/$(TARGET)-moc'
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
77 $(INSTALL) -m755 '$(1)'.native/bin/rcc '$(PREFIX)/bin/$(TARGET)-rcc'
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
78 $(INSTALL) -m755 '$(1)'.native/bin/uic '$(PREFIX)/bin/$(TARGET)-uic'
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
79 $(INSTALL) -m755 '$(1)'.native/bin/qmake '$(PREFIX)/bin/$(TARGET)-qmake'
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
80
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
81 # Trick the build system into using native tools
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
82 ln -s '$(1)'.native/bin/{moc,rcc,uic,qmake} '$(1)'/bin/
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
83
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
84 # Make sure we don't build the tools again
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
85 echo 'qmake:' >'$(1)'/qmake/Makefile.unix
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
86 for f in `ls -1 '$(1)'/src/tools`; \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
87 do echo TEMPLATE = subdirs >'$(1)'/src/tools/"$$f"/"$$f".pro; \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
88 done
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
89
509
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
90 # Adjust the mkspec values that contain the TARGET platform prefix.
520
9294e8fad5e9 add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 515
diff changeset
91 # The patch planted strings HOSTPLATFORMPREFIX and HOSTPLATFORMINCLUDE.
455
5ba19c633370 adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 452
diff changeset
92 $(SED) 's,HOSTPLATFORMPREFIX-,$(TARGET)-,g' -i '$(1)'/mkspecs/win32-g++/qmake.conf
5ba19c633370 adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 452
diff changeset
93 $(SED) 's,HOSTPLATFORMINCLUDE,$(PREFIX)/$(TARGET)/include,g' -i '$(1)'/mkspecs/win32-g++/qmake.conf
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
94
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
95 # Configure Qt for MinGW target
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
96 cd '$(1)' && ./configure \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
97 -opensource \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
98 -confirm-license \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
99 -xplatform win32-g++ \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
100 -host-arch i386 \
471
db393d589865 more bugfixes for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 470
diff changeset
101 -host-little-endian \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
102 -little-endian \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
103 -largefile \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
104 -force-pkg-config \
486
8eda0b6ec42a disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 485
diff changeset
105 -release \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
106 -exceptions \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
107 -static \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
108 -prefix '$(PREFIX)/$(TARGET)' \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
109 -prefix-install \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
110 -bindir '$(1)'/bindirsink \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
111 -script \
470
a07d9f69e2ee add OpenGL support to package qt (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents: 468
diff changeset
112 -opengl desktop \
509
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
113 -no-webkit \
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
114 -no-phonon \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
115 -no-phonon-backend \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
116 -accessibility \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
117 -no-reduce-exports \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
118 -no-rpath \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
119 -make libs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
120 -nomake demos \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
121 -nomake docs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
122 -nomake examples \
510
6c10ecfc3774 enable sqlite support in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 509
diff changeset
123 -plugin-sql-sqlite \
520
9294e8fad5e9 add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 515
diff changeset
124 -plugin-sql-odbc \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
125 -plugin-sql-psql \
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
126 -plugin-sql-tds \
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
127 -system-zlib \
489
d3e5b8c183a5 avoid external libraries in package qt, because qt doesn't set their "LIBS=..." flags properly
Volker Grabsch <vog@notjusthosting.com>
parents: 487
diff changeset
128 -qt-gif \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
129 -system-libtiff \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
130 -system-libpng \
576
d262f9cc5821 some more improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 574
diff changeset
131 -qt-libmng \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
132 -system-libjpeg \
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
133 -system-sqlite \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
134 -openssl-linked \
520
9294e8fad5e9 add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 515
diff changeset
135 -v
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
136
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
137 $(MAKE) -C '$(1)' -j '$(JOBS)'
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
138 $(TARGET)-ranlib '$(1)'/lib/*.a
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
139 rm -rf '$(PREFIX)/$(TARGET)/mkspecs'
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
140 $(MAKE) -C '$(1)' install
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
141 # Manually created prl files for static plugins to help applications link to system libs
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
142 $(INSTALL) -m664 '$(1)/lib/qjpeg.prl' '$(PREFIX)/$(TARGET)/lib/'
576
d262f9cc5821 some more improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 574
diff changeset
143 # $(INSTALL) -m664 '$(1)/lib/qmng.prl' '$(PREFIX)/$(TARGET)/lib/'
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
144 $(INSTALL) -m664 '$(1)/lib/qsqlite.prl' '$(PREFIX)/$(TARGET)/lib/'
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
145 $(INSTALL) -m664 '$(1)/lib/qsqlodbc.prl' '$(PREFIX)/$(TARGET)/lib/'
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
146 $(INSTALL) -m664 '$(1)/lib/qsqlpsql.prl' '$(PREFIX)/$(TARGET)/lib/'
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
147 $(INSTALL) -m664 '$(1)/lib/qsqltds.prl' '$(PREFIX)/$(TARGET)/lib/'
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
148 $(INSTALL) -m664 '$(1)/lib/qtiff.prl' '$(PREFIX)/$(TARGET)/lib/'
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
149 endef