Mercurial > mxe-octave
annotate src/qt.mk @ 570:d57a1e81a31e
avoid tp/beta/rc/... versions of package qt
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 02 Dec 2009 17:38:17 +0100 |
parents | c67df741dfa7 |
children | 57166e6490d2 |
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 := |
564
c67df741dfa7
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
548
diff
changeset
|
27 $(PKG)_VERSION := 4.6.0-rc1 |
c67df741dfa7
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
548
diff
changeset
|
28 $(PKG)_CHECKSUM := 2fb07479c639fc2f98be0f9b65b0d179e4c637f7 |
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) |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
33 $(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl libgcrypt zlib libpng |
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 |
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
48 # But, 4.6.0-beta1 native build needs this bugfix too |
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
49 cp '$(1)'/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pro \ |
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
50 '$(1).native'/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pro |
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
51 |
471
db393d589865
more bugfixes for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
470
diff
changeset
|
52 $(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
|
53 $(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
|
54 cd '$(1)'.native && ./configure \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
55 -opensource \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
56 -confirm-license \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
57 -prefix '$(PREFIX)/$(TARGET)' \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
58 -prefix-install \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
59 -fast \ |
486
8eda0b6ec42a
disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
485
diff
changeset
|
60 -release \ |
466
c2462319a112
simplify the native build in package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
464
diff
changeset
|
61 -no-exceptions \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
62 -nomake demos \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
63 -nomake examples \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
64 -nomake libs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
65 -nomake tools \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
66 -nomake docs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
67 -nomake translations |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
68 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
69 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-tools-bootstrap |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
70 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-moc |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
71 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-rcc |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
72 $(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
|
73 |
484
c8954f97a8ea
portability fix for MacOS X for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
480
diff
changeset
|
74 # 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
|
75 $(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
|
76 $(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
|
77 $(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
|
78 |
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
|
79 # 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
|
80 $(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
|
81 $(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
|
82 $(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
|
83 $(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
|
84 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
85 # Trick the build system into using native tools |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
86 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
|
87 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
88 # Make sure we don't build the tools again |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
89 echo 'qmake:' >'$(1)'/qmake/Makefile.unix |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
90 for f in `ls -1 '$(1)'/src/tools`; \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
91 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
|
92 done |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
93 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
94 # Trick the buildsystem into using win32 feature files: |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
95 mv '$(1)'/mkspecs/features/unix '$(1)'/mkspecs/features/unix.orig |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
96 ln -s win32 '$(1)'/mkspecs/features/unix |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
97 |
509
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
98 # 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
|
99 # 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
|
100 $(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
|
101 $(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
|
102 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
103 # Make sure qmake doesn't use compilation paths meant for unix |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
104 find '$(1)'/src -name '*.pr[oi]' -exec \ |
455
5ba19c633370
adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
452
diff
changeset
|
105 $(SED) 's,\(^\|[^_/]\)unix,\1linux,g' -i {} \; |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
106 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
107 # Make qmake use compilation paths meant for Windows |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
108 find '$(1)'/src -name '*.pr[oi]' -exec \ |
455
5ba19c633370
adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
452
diff
changeset
|
109 $(SED) 's,\(^\|[^_/]\)win32\([^-]\|$$\),\1unix\2,g' -i {} \; |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
110 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
111 # Configure Qt for MinGW target |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
112 cd '$(1)' && ./configure \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
113 -opensource \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
114 -confirm-license \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
115 -xplatform win32-g++ \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
116 -host-arch i386 \ |
471
db393d589865
more bugfixes for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
470
diff
changeset
|
117 -host-little-endian \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
118 -little-endian \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
119 -force-pkg-config \ |
486
8eda0b6ec42a
disable debug information for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
485
diff
changeset
|
120 -release \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
121 -exceptions \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
122 -static \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
123 -prefix '$(PREFIX)/$(TARGET)' \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
124 -prefix-install \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
125 -bindir '$(1)'/bindirsink \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
126 -script \ |
470
a07d9f69e2ee
add OpenGL support to package qt (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
468
diff
changeset
|
127 -opengl desktop \ |
509
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
128 -no-webkit \ |
e97947e7d45e
update version of package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
497
diff
changeset
|
129 -no-phonon \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
130 -no-phonon-backend \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
131 -accessibility \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
132 -no-reduce-exports \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
133 -no-rpath \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
134 -make libs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
135 -nomake demos \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
136 -nomake docs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
137 -nomake examples \ |
510
6c10ecfc3774
enable sqlite support in package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
509
diff
changeset
|
138 -plugin-sql-sqlite \ |
520
9294e8fad5e9
add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
515
diff
changeset
|
139 -plugin-sql-odbc \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
140 -plugin-sql-psql \ |
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
141 -plugin-sql-tds \ |
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
142 -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
|
143 -qt-gif \ |
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
|
144 -qt-libtiff \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
145 -system-libpng \ |
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
|
146 -qt-libmng \ |
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
|
147 -qt-libjpeg \ |
548
08b6c299a522
several improvements to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
520
diff
changeset
|
148 -openssl-linked \ |
520
9294e8fad5e9
add ODBC support to package qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
515
diff
changeset
|
149 -v |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
150 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
151 $(MAKE) -C '$(1)' -j '$(JOBS)' |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
152 $(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
|
153 rm -rf '$(PREFIX)/$(TARGET)/mkspecs' |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
154 $(MAKE) -C '$(1)' install |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
155 endef |