annotate src/qt.mk @ 789:90867b656d12

use the correct pg_config tool in package qt
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 20 Feb 2010 05:23:09 +0100
parents 0b75930ca822
children 4d838a936a8f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 :=
757
626db4cc707e update package qt
Mark Brand <mabrand@mabrand.nl>
parents: 714
diff changeset
7 $(PKG)_VERSION := 4.6.2
626db4cc707e update package qt
Mark Brand <mabrand@mabrand.nl>
parents: 714
diff changeset
8 $(PKG)_CHECKSUM := 977c10b88a2230e96868edc78a9e3789c0fcbf70
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)
574
bdd31b51843e various improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 573
diff changeset
13 $(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
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/' | \
570
d57a1e81a31e avoid tp/beta/rc/... versions of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 564
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
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23
468
f826746491e6 build the native Qt tools from unpatched sources
Volker Grabsch <vog@notjusthosting.com>
parents: 466
diff changeset
24 # 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
25 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
26 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
27
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
28 $(SED) -i 's,PLATFORM_X11=yes,PLATFORM_X11=no,' '$(1)'.native/configure
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
29 $(SED) -i 's,PLATFORM=solaris-cc$$,PLATFORM=solaris-g++,' '$(1)'.native/configure
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 cd '$(1)'.native && ./configure \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 -opensource \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 -confirm-license \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 -prefix '$(PREFIX)/$(TARGET)' \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 -prefix-install \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 -fast \
486
8eda0b6ec42a disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 485
diff changeset
36 -release \
466
c2462319a112 simplify the native build in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 464
diff changeset
37 -no-exceptions \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 -nomake demos \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 -nomake examples \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 -nomake libs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 -nomake tools \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 -nomake docs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 -nomake translations
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44
659
c96eeb56f5de improved escaping in the build rules of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 648
diff changeset
45 $(MAKE) -C '$(1)'.native -j '$(JOBS)' sub-tools-bootstrap
c96eeb56f5de improved escaping in the build rules of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 648
diff changeset
46 $(MAKE) -C '$(1)'.native -j '$(JOBS)' sub-moc
c96eeb56f5de improved escaping in the build rules of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 648
diff changeset
47 $(MAKE) -C '$(1)'.native -j '$(JOBS)' sub-rcc
c96eeb56f5de improved escaping in the build rules of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 648
diff changeset
48 $(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
49
484
c8954f97a8ea portability fix for MacOS X for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 480
diff changeset
50 # rebuild qmake to use "-unix" as default and to use the correct "ar" command
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
51 $(SED) -i 's,\(Option::TARG_MODE Option::target_mode = Option::TARG_\)[A-Z_]*,\1UNIX_MODE,' '$(1)'.native/qmake/option.cpp
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
52 $(SED) -i 's,"ar -M,"$(TARGET)-ar -M,' '$(1)'.native/qmake/generators/win32/mingw_make.cpp
659
c96eeb56f5de improved escaping in the build rules of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 648
diff changeset
53 $(MAKE) -C '$(1)'.native/qmake -j '$(JOBS)'
484
c8954f97a8ea portability fix for MacOS X for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 480
diff changeset
54
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
55 # 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
56 $(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
57 $(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
58 $(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
59 $(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
60
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
61 # Trick the build system into using native tools
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
62 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
63
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
64 # Make sure we don't build the tools again
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
65 echo 'qmake:' >'$(1)'/qmake/Makefile.unix
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
66 for f in `ls -1 '$(1)'/src/tools`; \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
67 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
68 done
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
69
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
70 # Trick the buildsystem into using win32 feature files:
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
71 mv '$(1)'/mkspecs/features/unix '$(1)'/mkspecs/features/unix.orig
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
72 ln -s win32 '$(1)'/mkspecs/features/unix
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
73
509
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
74 # 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
75 # The patch planted strings HOSTPLATFORMPREFIX and HOSTPLATFORMINCLUDE.
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
76 $(SED) -i 's,HOSTPLATFORMPREFIX-,$(TARGET)-,g' '$(1)'/mkspecs/win32-g++/qmake.conf
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
77 $(SED) -i 's,HOSTPLATFORMINCLUDE,$(PREFIX)/$(TARGET)/include,g' '$(1)'/mkspecs/win32-g++/qmake.conf
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
78
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
79 # Make sure qmake doesn't use compilation paths meant for unix
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
80 find '$(1)'/src -name '*.pr[oi]' -exec \
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
81 $(SED) -i 's,\(^\|[^_/]\)unix,\1linux,g' {} \;
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
82
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
83 # Make qmake use compilation paths meant for MinGW or Windows in general
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
84 find '$(1)'/src -name '*.pr[oi]' -exec \
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
85 $(SED) -i 's,\(^\|[^_/]\)win32-g++\([^-]\|$$\),\1unix\2,g' {} \;
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
86 find '$(1)'/src -name '*.pr[oi]' -exec \
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 757
diff changeset
87 $(SED) -i 's,\(^\|[^_/]\)win32\([^-]\|$$\),\1unix\2,g' {} \;
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
88
786
d3d9a4a2843d revert openssl hacks in configure and use pg_config in package qt
Mark Brand <mabrand@mabrand.nl>
parents: 785
diff changeset
89 # Use the correct pg_config tool
789
90867b656d12 use the correct pg_config tool in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 788
diff changeset
90 $(SED) -i 's,pg_config,$(TARGET)-pg_config,g;' '$(1)'/configure
786
d3d9a4a2843d revert openssl hacks in configure and use pg_config in package qt
Mark Brand <mabrand@mabrand.nl>
parents: 785
diff changeset
91
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
92 # Configure Qt for MinGW target
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
93 # 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
94 # -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
95 # There is no -system-gif option. NB -system-libmng will not link in shared build.
787
d57d5de5d4b2 fixed dependencies for the shared psql plugin in package qt
Mark Brand <mabrand@mabrand.nl>
parents: 786
diff changeset
96 # Linking PSQL shared plugin requires PSQL_LIBS. Harmless for static build.
788
0b75930ca822 bugfix: use backquotes instead of $(shell ...) in the build rules of package qt
Mark Brand <mabrand@mabrand.nl>
parents: 787
diff changeset
97 cd '$(1)' && PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl`" ./configure \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
98 -opensource \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
99 -confirm-license \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
100 -xplatform win32-g++ \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
101 -host-arch i386 \
471
db393d589865 more bugfixes for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 470
diff changeset
102 -host-little-endian \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
103 -little-endian \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
104 -largefile \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
105 -force-pkg-config \
486
8eda0b6ec42a disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 485
diff changeset
106 -release \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
107 -exceptions \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
108 -static \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
109 -prefix '$(PREFIX)/$(TARGET)' \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
110 -prefix-install \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
111 -bindir '$(1)'/bindirsink \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
112 -script \
470
a07d9f69e2ee add OpenGL support to package qt (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents: 468
diff changeset
113 -opengl desktop \
509
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
114 -no-webkit \
e97947e7d45e update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 497
diff changeset
115 -no-phonon \
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
116 -no-phonon-backend \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
117 -accessibility \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
118 -no-reduce-exports \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
119 -no-rpath \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
120 -make libs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
121 -nomake demos \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
122 -nomake docs \
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
123 -nomake examples \
510
6c10ecfc3774 enable sqlite support in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 509
diff changeset
124 -plugin-sql-sqlite \
520
9294e8fad5e9 add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 515
diff changeset
125 -plugin-sql-odbc \
548
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
126 -plugin-sql-psql \
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
127 -plugin-sql-tds \
08b6c299a522 several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 520
diff changeset
128 -system-zlib \
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
129 -system-libpng \
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
130 -system-libjpeg \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
131 -system-libtiff \
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
132 -system-libmng \
573
57166e6490d2 use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 570
diff changeset
133 -system-sqlite \
578
41c0ac9326f2 improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 576
diff changeset
134 -qt-gif \
785
1d651946e889 simplified linking to openssl in package qt
Mark Brand <mabrand@mabrand.nl>
parents: 759
diff changeset
135 -openssl \
520
9294e8fad5e9 add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 515
diff changeset
136 -v
452
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
137
ade2c475c772 new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
138 $(MAKE) -C '$(1)' -j '$(JOBS)'
659
c96eeb56f5de improved escaping in the build rules of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 648
diff changeset
139 '$(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
140 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
141 $(MAKE) -C '$(1)' -j 1 install
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
142
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
143 mkdir '$(1)/test-qt'
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
144 cp '$(2)'* '$(1)/test-qt/'
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
145 cd '$(1)/test-qt' && '$(TARGET)-qmake'
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
146 $(MAKE) -C '$(1)/test-qt' -j '$(JOBS)'
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 659
diff changeset
147 $(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
148 endef