Mercurial > mxe-octave
annotate src/qtbase.mk @ 5499:be0a7ce498e6
Update mesa to version 20.0.8 (bug #58689).
* src/mesa.mk: Update version and checksum. Add build-meson to dependecies.
Update build rule to use meson and ninja as the build tools.
* src/mesa-1-meson.patch: Add new patch.
* src/mesa-1-fixes.patch: Remove old patch for the scons rule that is no longer
needed.
* dist-files.mk: Update file list.
* src/build-mako.mk: Depend on and use python3.
* src/build-markupsafe.mk: Depend on and use python3.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Jul 2020 20:58:57 +0200 |
parents | 459061662bd5 |
children | 954bb4ead870 |
rev | line source |
---|---|
4504
0743a56dd468
qtbase: Use bundled doubleconversion library.
John W. Eaton <jwe@octave.org>
parents:
4501
diff
changeset
|
1 # This file is part of MXE. |
4222 | 2 # See index.html for further information. |
3 | |
4 PKG := qtbase | |
5 $(PKG)_IGNORE := | |
5440
4fb7aa43ba15
qt5: update to 5.15.0
John Donoghue <john.donoghue@ieee.org>
parents:
5400
diff
changeset
|
6 $(PKG)_VERSION := 5.15.0 |
4fb7aa43ba15
qt5: update to 5.15.0
John Donoghue <john.donoghue@ieee.org>
parents:
5400
diff
changeset
|
7 $(PKG)_CHECKSUM := f5191757d1125aa7750a3f5d39321490477cfb65 |
4735 | 8 $(PKG)_SUBDIR := $(PKG)-everywhere-src-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-everywhere-src-$($(PKG)_VERSION).tar.xz | |
10 $(PKG)_URL := http://download.qt.io/official_releases/qt/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_VERSION)/submodules/$($(PKG)_FILE) | |
4803
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4801
diff
changeset
|
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4801
diff
changeset
|
12 $(PKG)_FONTCONFIG := fontconfig |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4801
diff
changeset
|
13 endif |
5462
459061662bd5
* src/qtbase.mk: mingw depends on uuid
John Donoghue <john.donoghue@ieee.org>
parents:
5454
diff
changeset
|
14 $(PKG)_DEPS := dbus double-conversion freetds freetype $($(PKG)_FONTCONFIG) icu4c jpeg libjbig libpng libproxy pcre2 postgresql sqlite zlib |
4532
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
15 |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
16 $(PKG)_CONFIGURE_CROSS_COMPILE_OPTION := |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
17 $(PKG)_CONFIGURE_DATABASE_OPTION := |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
18 $(PKG)_CONFIGURE_ENV := |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
19 $(PKG)_CONFIGURE_INCLUDE_OPTION := |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
20 $(PKG)_CONFIGURE_LIBPATH_OPTION := |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
21 $(PKG)_CONFIGURE_PLATFORM_OPTION := |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
22 $(PKG)_CONFIGURE_OPTS := |
4967
46f4053aa6a3
Attempt to include system pkg config path when when needed
John Donoghue <john.donoghue@ieee.org>
parents:
4958
diff
changeset
|
23 $(PKG)_PKG_CONFIG_PATH := $(PKG_CONFIG_PATH) |
4532
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
24 |
4496
903796b2fcb6
fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents:
4487
diff
changeset
|
25 ifeq ($(USE_SYSTEM_OPENGL),no) |
903796b2fcb6
fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents:
4487
diff
changeset
|
26 $(PKG)_DEPS += mesa |
5020
59ea6e6b36e3
* src/qtbase.mk: disable iegl when using our opengl
John Donoghue
parents:
4967
diff
changeset
|
27 $(PKG)_CONFIGURE_OPTS += -no-egl |
4496
903796b2fcb6
fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents:
4487
diff
changeset
|
28 endif |
4532
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
29 ifeq ($(MXE_WINDOWS_BUILD),yes) |
5462
459061662bd5
* src/qtbase.mk: mingw depends on uuid
John Donoghue <john.donoghue@ieee.org>
parents:
5454
diff
changeset
|
30 $(PKG)_DEPS += uuid |
4890
dd3cda73cefc
* src/qtbase.mk: fix typo for enable of icu when windows 64
John Donoghue
parents:
4867
diff
changeset
|
31 ifeq ($(ENABLE_WINDOWS_64),yes) |
4532
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
32 $(PKG)_DEPS += icu4c |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
33 $(PKG)_CONFIGURE_OPTS += -icu |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
34 else |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
35 $(PKG)_CONFIGURE_OPTS += -no-icu |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
36 endif |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
37 else |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
38 $(PKG)_DEPS += icu4c |
2ef6a1cbd7df
qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents:
4526
diff
changeset
|
39 $(PKG)_CONFIGURE_OPTS += -icu |
4487
7b73612f57b9
qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents:
4485
diff
changeset
|
40 ifeq ($(USE_SYSTEM_X11_LIBS),no) |
4958
8b4d4e06075d
Add xkbcommon (required by linux qt5-5.12.X)
John Donoghue
parents:
4956
diff
changeset
|
41 $(PKG)_DEPS += xdamage xdmcp xext xfixes xi xrender xt xxf86vm x11 xcb xcb-util xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xkbcommon |
4487
7b73612f57b9
qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents:
4485
diff
changeset
|
42 endif |
7b73612f57b9
qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents:
4485
diff
changeset
|
43 endif |
4222 | 44 |
45 define $(PKG)_UPDATE | |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
4532
diff
changeset
|
46 $(WGET) -q -O- http://download.qt-project.org/official_releases/qt/$(call SHORT_PKG_VERSION,$(PKG))/ | \ |
4867
5ff8a7e5d891
* src/qtbase.mk: update update rule for double number minor version
John Donoghue
parents:
4855
diff
changeset
|
47 $(SED) -n 's,.*href="\(5\.[0-9]\+\.[^/]*\)/".*,\1,p' | \ |
4222 | 48 grep -iv -- '-rc' | \ |
49 sort | | |
50 tail -1 | |
51 endef | |
52 | |
4485
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
53 ifeq ($(MXE_WINDOWS_BUILD),yes) |
4518
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
54 ## I haven't been able to change this to be just $(HOST_PREFIX), |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
55 ## though I would prefer to do that. If it is changed, then |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
56 ## there are a number of other places that will need to be adjusted. |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
57 ## --jwe |
4485
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
58 $(PKG)_CONFIGURE_PREFIX_OPTION := -prefix '$(HOST_PREFIX)/qt5' |
4498
f47df619cd1d
qtbase: don't strip, only disable xcb on windows.
John W. Eaton <jwe@octave.org>
parents:
4496
diff
changeset
|
59 $(PKG)_CONFIGURE_OPTS += -no-xcb |
4485
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
60 else |
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
61 $(PKG)_CONFIGURE_PREFIX_OPTION := -prefix '$(HOST_PREFIX)' |
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
62 $(PKG)_CONFIGURE_INCLUDE_OPTION += -I '$(HOST_INCDIR)/freetype2' |
5022
9361f2645513
* src/qtbase.mk: dont use qt internal xcb when not using system opengl
John Donoghue
parents:
5020
diff
changeset
|
63 ifeq ($(USE_SYSTEM_OPENGL),no) |
9361f2645513
* src/qtbase.mk: dont use qt internal xcb when not using system opengl
John Donoghue
parents:
5020
diff
changeset
|
64 $(PKG)_CONFIGURE_OPTS += -qpa xcb -xcb |
9361f2645513
* src/qtbase.mk: dont use qt internal xcb when not using system opengl
John Donoghue
parents:
5020
diff
changeset
|
65 else |
5115
0043dcde564a
* src/qtbase.mk: dont use inbuilt qt xcb if providing own xlibs
John Donoghue
parents:
5099
diff
changeset
|
66 ifeq ($(USE_SYSTEM_X11_LIBS),no) |
0043dcde564a
* src/qtbase.mk: dont use inbuilt qt xcb if providing own xlibs
John Donoghue
parents:
5099
diff
changeset
|
67 $(PKG)_CONFIGURE_OPTS += -qpa xcb -xcb |
0043dcde564a
* src/qtbase.mk: dont use inbuilt qt xcb if providing own xlibs
John Donoghue
parents:
5099
diff
changeset
|
68 else |
5447
a59bebc63c1b
* src/qtbase.mk: fix qtbase native configure options
John Donoghue <john.donoghue@ieee.org>
parents:
5440
diff
changeset
|
69 $(PKG)_CONFIGURE_OPTS += -qpa xcb |
5115
0043dcde564a
* src/qtbase.mk: dont use inbuilt qt xcb if providing own xlibs
John Donoghue
parents:
5099
diff
changeset
|
70 endif |
4485
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
71 endif |
5022
9361f2645513
* src/qtbase.mk: dont use qt internal xcb when not using system opengl
John Donoghue
parents:
5020
diff
changeset
|
72 endif |
4485
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
73 |
4484
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
74 ## These are needed whether cross compiling or not. |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
75 ifeq ($(MXE_WINDOWS_BUILD),yes) |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
76 $(PKG)_CONFIGURE_ENV := PSQL_LIBS="-lpq -lsecur32 -lws2_32" |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
77 $(PKG)_CONFIGURE_DATABASE_OPTION += \ |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
78 -system-sqlite -plugin-sql-sqlite -plugin-sql-odbc -plugin-sql-psql |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
79 else |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
80 $(PKG)_CONFIGURE_DATABASE_OPTION += -system-sqlite |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
81 endif |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
82 |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
83 ifeq ($(MXE_NATIVE_BUILD),yes) |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
84 $(PKG)_CONFIGURE_INCLUDE_OPTION += -I '$(HOST_INCDIR)' |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
85 $(PKG)_CONFIGURE_LIBPATH_OPTION += -L '$(HOST_LIBDIR)' |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
86 ifeq ($(MXE_USE_LIB64_DIRECTORY),yes) |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
87 $(PKG)_CONFIGURE_LIBPATH_OPTION += -L '$(HOST_LIB64DIR)' |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
88 endif |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
89 $(PKG)_CONFIGURE_INCLUDE_OPTION += -I '$(HOST_INCDIR)/dbus-1.0' |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
90 $(PKG)_CONFIGURE_INCLUDE_OPTION += -I '$(HOST_LIBDIR)/dbus-1.0/include' |
4484
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
91 ifeq ($(MXE_WINDOWS_BUILD),yes) |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
92 $(PKG)_CONFIGURE_PLATFORM_OPTION := -platform win32-g++ |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
93 endif |
4967
46f4053aa6a3
Attempt to include system pkg config path when when needed
John Donoghue <john.donoghue@ieee.org>
parents:
4958
diff
changeset
|
94 $(PKG)_PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$(BUILD_PKG_CONFIG_PATH) |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
95 else |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
96 $(PKG)_CONFIGURE_CROSS_COMPILE_OPTION := \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
97 -device-option CROSS_COMPILE=$(MXE_TOOL_PREFIX) |
4484
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
98 ifeq ($(MXE_WINDOWS_BUILD),yes) |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
99 $(PKG)_CONFIGURE_PLATFORM_OPTION := -xplatform win32-g++ |
0d0e6c8015af
qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents:
4482
diff
changeset
|
100 endif |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
101 endif |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
102 |
4735 | 103 $(PKG)_CONFIGURE_ENV += \ |
104 PKG_CONFIG="$(MXE_PKG_CONFIG)" \ | |
105 PKG_CONFIG_SYSROOT_DIR="/" \ | |
4967
46f4053aa6a3
Attempt to include system pkg config path when when needed
John Donoghue <john.donoghue@ieee.org>
parents:
4958
diff
changeset
|
106 PKG_CONFIG_LIBDIR=$($(PKG)_PKG_CONFIG_PATH) |
4735 | 107 |
4222 | 108 define $(PKG)_BUILD |
109 cd '$(1)' && \ | |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
110 $($(PKG)_CONFIGURE_ENV) \ |
4222 | 111 ./configure \ |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
112 $($(PKG)_CONFIGURE_INCLUDE_OPTION) \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
113 $($(PKG)_CONFIGURE_LIBPATH_OPTION) \ |
4498
f47df619cd1d
qtbase: don't strip, only disable xcb on windows.
John W. Eaton <jwe@octave.org>
parents:
4496
diff
changeset
|
114 -no-strip \ |
4222 | 115 -opensource \ |
116 -c++std c++11 \ | |
117 -confirm-license \ | |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
118 $($(PKG)_CONFIGURE_PLATFORM_OPTION) \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
119 $($(PKG)_CONFIGURE_CROSS_COMPILE_OPTION) \ |
4222 | 120 -device-option PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
4735 | 121 -pkg-config \ |
4222 | 122 -force-pkg-config \ |
123 -no-use-gold-linker \ | |
124 -shared \ | |
4485
86176b88d1f8
qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents:
4484
diff
changeset
|
125 $($(PKG)_CONFIGURE_PREFIX_OPTION) \ |
4222 | 126 -hostprefix '$(BUILD_TOOLS_PREFIX)' \ |
127 -opengl desktop \ | |
128 -no-glib \ | |
129 -accessibility \ | |
130 -nomake examples \ | |
131 -nomake tests \ | |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
132 $($(PKG)_CONFIGURE_DATABASE_OPTION) \ |
4222 | 133 -system-zlib \ |
134 -system-libpng \ | |
135 -system-libjpeg \ | |
136 -fontconfig \ | |
137 -system-freetype \ | |
138 -system-pcre \ | |
4526 | 139 -system-doubleconversion \ |
4222 | 140 -no-openssl \ |
141 -dbus-linked \ | |
4525 | 142 -libproxy \ |
4498
f47df619cd1d
qtbase: don't strip, only disable xcb on windows.
John W. Eaton <jwe@octave.org>
parents:
4496
diff
changeset
|
143 -no-pch \ |
4222 | 144 -v \ |
145 $($(PKG)_CONFIGURE_OPTS) | |
146 | |
147 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
148 $(MAKE) -C '$(1)' -j 1 install | |
149 | |
4518
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
150 if [ $(MXE_WINDOWS_BUILD) = yes ]; then \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
151 $(INSTALL) -d '$(HOST_BINDIR)'; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
152 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Concurrentd.dll '$(HOST_BINDIR)'/Qt5Concurrentd.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
153 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Concurrent.dll '$(HOST_BINDIR)'/Qt5Concurrent.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
154 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Cored.dll '$(HOST_BINDIR)'/Qt5Cored.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
155 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Core.dll '$(HOST_BINDIR)'/Qt5Core.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
156 mv '$(HOST_PREFIX)'/qt5/bin/Qt5DBusd.dll '$(HOST_BINDIR)'/Qt5DBusd.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
157 mv '$(HOST_PREFIX)'/qt5/bin/Qt5DBus.dll '$(HOST_BINDIR)'/Qt5DBus.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
158 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Guid.dll '$(HOST_BINDIR)'/Qt5Guid.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
159 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Gui.dll '$(HOST_BINDIR)'/Qt5Gui.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
160 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Networkd.dll '$(HOST_BINDIR)'/Qt5Networkd.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
161 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Network.dll '$(HOST_BINDIR)'/Qt5Network.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
162 mv '$(HOST_PREFIX)'/qt5/bin/Qt5OpenGLd.dll '$(HOST_BINDIR)'/Qt5OpenGLd.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
163 mv '$(HOST_PREFIX)'/qt5/bin/Qt5OpenGL.dll '$(HOST_BINDIR)'/Qt5OpenGL.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
164 mv '$(HOST_PREFIX)'/qt5/bin/Qt5PrintSupportd.dll '$(HOST_BINDIR)'/Qt5PrintSupportd.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
165 mv '$(HOST_PREFIX)'/qt5/bin/Qt5PrintSupport.dll '$(HOST_BINDIR)'/Qt5PrintSupport.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
166 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Sqld.dll '$(HOST_BINDIR)'/Qt5Sqld.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
167 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Sql.dll '$(HOST_BINDIR)'/Qt5Sql.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
168 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Testd.dll '$(HOST_BINDIR)'/Qt5Testd.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
169 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Test.dll '$(HOST_BINDIR)'/Qt5Test.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
170 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Widgetsd.dll '$(HOST_BINDIR)'/Qt5Widgetsd.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
171 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Widgets.dll '$(HOST_BINDIR)'/Qt5Widgets.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
172 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Xmld.dll '$(HOST_BINDIR)'/Qt5Xmld.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
173 mv '$(HOST_PREFIX)'/qt5/bin/Qt5Xml.dll '$(HOST_BINDIR)'/Qt5Xml.dll; \ |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
174 fi |
c48b41efdcf4
qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents:
4508
diff
changeset
|
175 |
4482
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
176 if [ "$(MXE_NATIVE_BUILD)" = "no" ]; then \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
177 ln -sf '$(BUILD_TOOLS_PREFIX)/bin/qmake' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)'qmake-qt5; \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
178 ln -sf '$(BUILD_TOOLS_PREFIX)/bin/moc' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)'moc; \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
179 ln -sf '$(BUILD_TOOLS_PREFIX)/bin/uic' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)'uic; \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
180 ln -sf '$(BUILD_TOOLS_PREFIX)/bin/rcc' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)'rcc; \ |
57600c0c6bdf
allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents:
4310
diff
changeset
|
181 ln -sf '$(BUILD_TOOLS_PREFIX)/bin/lrelease' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)'lrelease; \ |
4222 | 182 fi |
183 | |
184 endef |