Mercurial > mxe-octave
annotate src/qt.mk @ 791:4d838a936a8f
fixed compile tests in ./configure of package qt
-fixed compile test for win32-g++
-removed compile test hacks since compile test works now
-fixed odbc test for mingw32
-fixed iconv compile test for win32-g++
-fix ipv6 detection on win32-g++
-fix largefile detection on win32-g++
-fix getaddrinfo detection on win32-g++. Result is still
negative, apparently correctly.
-fix opengl detection on win32-g++
-removed obsolee opengl error hack
-improved exempting win32-g++ from XLib test
-improved zlib treatment when compiling on MAC for win32-g++
-finished rtti support
-restored replacement of -lz with -lQtCore4 on ssl.pri
-specifed "-no-fontcnfig" because this gets enabled now
by default thanks to working freetype detection.
-restored -openssl-linked, setting OPENSSL_LIBS and
zlib fix in ssl.pri. Previous conclusion that these
were unnecessary was apparently an experimental error.
glib is now detected which I hope is a good thing.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 19 Feb 2010 23:24:55 +0100 |
parents | 90867b656d12 |
children | 1aad4544b3f5 |
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 | 7 $(PKG)_VERSION := 4.6.2 |
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. |
791
4d838a936a8f
fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
789
diff
changeset
|
97 cd '$(1)' && \ |
4d838a936a8f
fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
789
diff
changeset
|
98 OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ |
4d838a936a8f
fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
789
diff
changeset
|
99 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
|
100 -opensource \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
101 -confirm-license \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
102 -xplatform win32-g++ \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
103 -host-arch i386 \ |
471
db393d589865
more bugfixes for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
470
diff
changeset
|
104 -host-little-endian \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
105 -little-endian \ |
573
57166e6490d2
use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
570
diff
changeset
|
106 -largefile \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
107 -force-pkg-config \ |
486
8eda0b6ec42a
disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
485
diff
changeset
|
108 -release \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
109 -exceptions \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
110 -static \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
111 -prefix '$(PREFIX)/$(TARGET)' \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
112 -prefix-install \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
113 -bindir '$(1)'/bindirsink \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
114 -script \ |
470
a07d9f69e2ee
add OpenGL support to package qt (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
468
diff
changeset
|
115 -opengl desktop \ |
509
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
116 -no-webkit \ |
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
117 -no-phonon \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
118 -no-phonon-backend \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
119 -accessibility \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
120 -no-reduce-exports \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
121 -no-rpath \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
122 -make libs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
123 -nomake demos \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
124 -nomake docs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
125 -nomake examples \ |
510
6c10ecfc3774
enable sqlite support in package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
509
diff
changeset
|
126 -plugin-sql-sqlite \ |
520
9294e8fad5e9
add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
515
diff
changeset
|
127 -plugin-sql-odbc \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
128 -plugin-sql-psql \ |
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
129 -plugin-sql-tds \ |
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
130 -system-zlib \ |
578
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
131 -system-libpng \ |
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
132 -system-libjpeg \ |
573
57166e6490d2
use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
570
diff
changeset
|
133 -system-libtiff \ |
578
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
134 -system-libmng \ |
573
57166e6490d2
use more external libraries in package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
570
diff
changeset
|
135 -system-sqlite \ |
578
41c0ac9326f2
improvements for package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
576
diff
changeset
|
136 -qt-gif \ |
791
4d838a936a8f
fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
789
diff
changeset
|
137 -openssl-linked \ |
4d838a936a8f
fixed compile tests in ./configure of package qt
Mark Brand <mabrand@mabrand.nl>
parents:
789
diff
changeset
|
138 -no-fontconfig \ |
520
9294e8fad5e9
add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
515
diff
changeset
|
139 -v |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
140 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
141 $(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
|
142 '$(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
|
143 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
|
144 $(MAKE) -C '$(1)' -j 1 install |
660
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
145 |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
146 mkdir '$(1)/test-qt' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
147 cp '$(2)'* '$(1)/test-qt/' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
148 cd '$(1)/test-qt' && '$(TARGET)-qmake' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
149 $(MAKE) -C '$(1)/test-qt' -j '$(JOBS)' |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
659
diff
changeset
|
150 $(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
|
151 endef |