annotate src/qtbase.mk @ 4532:2ef6a1cbd7df

qtbase: disable icu on w32 systems
author John W. Eaton <jwe@octave.org>
date Fri, 10 Nov 2017 13:08:28 -0500
parents c283aa086767
children de2eedecd6ba
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
2 # See index.html for further information.
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
3
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
4 PKG := qtbase
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
5 $(PKG)_IGNORE :=
4310
2c34ec679fb3 qt5: update to 5.7.1
John D
parents: 4222
diff changeset
6 $(PKG)_VERSION := 5.7.1
2c34ec679fb3 qt5: update to 5.7.1
John D
parents: 4222
diff changeset
7 $(PKG)_CHECKSUM := a3ddcde8978d3a05bb4342fce364a792472a16e6
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-opensource-src-$($(PKG)_VERSION)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-opensource-src-$($(PKG)_VERSION).tar.xz
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
10 $(PKG)_URL := http://download.qt.io/official_releases/qt/5.7/$($(PKG)_VERSION)/submodules/$($(PKG)_FILE)
4532
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
11 $(PKG)_DEPS := dbus double-conversion freetds freetype fontconfig jpeg libjbig libpng libproxy pcre postgresql sqlite zlib
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
12
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
13 $(PKG)_CONFIGURE_CROSS_COMPILE_OPTION :=
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
14 $(PKG)_CONFIGURE_DATABASE_OPTION :=
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
15 $(PKG)_CONFIGURE_ENV :=
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
16 $(PKG)_CONFIGURE_INCLUDE_OPTION :=
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
17 $(PKG)_CONFIGURE_LIBPATH_OPTION :=
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
18 $(PKG)_CONFIGURE_PLATFORM_OPTION :=
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
19 $(PKG)_CONFIGURE_OPTS :=
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
20
4487
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
21 ifeq ($(USE_SYSTEM_FONTCONFIG),no)
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
22 $(PKG)_FONTCONFIG := fontconfig
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
23 endif
4496
903796b2fcb6 fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents: 4487
diff changeset
24 ifeq ($(USE_SYSTEM_OPENGL),no)
903796b2fcb6 fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents: 4487
diff changeset
25 $(PKG)_DEPS += mesa
903796b2fcb6 fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents: 4487
diff changeset
26 endif
4532
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
27 ifeq ($(MXE_WINDOWS_BUILD),yes)
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
28 ifeq ($(ENABLE_WINDOWS64),yes)
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
29 $(PKG)_DEPS += icu4c
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
30 $(PKG)_CONFIGURE_OPTS += -icu
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
31 else
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
32 $(PKG)_CONFIGURE_OPTS += -no-icu
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
33 endif
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)_DEPS += icu4c
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
36 $(PKG)_CONFIGURE_OPTS += -icu
4487
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
37 ifeq ($(USE_SYSTEM_X11_LIBS),no)
4501
b74853c2afa1 new x11 utility packages
John W. Eaton <jwe@octave.org>
parents: 4498
diff changeset
38 $(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
4487
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
39 endif
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
40 endif
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
41
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
42 define $(PKG)_UPDATE
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
43 $(WGET) -q -O- http://download.qt-project.org/official_releases/qt/5.5/ | \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
44 $(SED) -n 's,.*href="\(5\.[0-9]\.[^/]*\)/".*,\1,p' | \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
45 grep -iv -- '-rc' | \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
46 sort |
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
47 tail -1
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
48 endef
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
49
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
50 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
51 ## 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
52 ## 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
53 ## 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
54 ## --jwe
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
55 $(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
56 $(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
57 else
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)'
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
59 $(PKG)_CONFIGURE_INCLUDE_OPTION += -I '$(HOST_INCDIR)/freetype2'
4498
f47df619cd1d qtbase: don't strip, only disable xcb on windows.
John W. Eaton <jwe@octave.org>
parents: 4496
diff changeset
60 $(PKG)_CONFIGURE_OPTS += -qpa xcb -xcb
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
61 endif
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
62
4484
0d0e6c8015af qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents: 4482
diff changeset
63 ## 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
64 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
65 $(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
66 $(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
67 -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
68 else
0d0e6c8015af qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents: 4482
diff changeset
69 $(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
70 endif
0d0e6c8015af qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents: 4482
diff changeset
71
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
72 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
73 $(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
74 $(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
75 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
76 $(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
77 endif
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
78 $(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
79 $(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
80 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
81 $(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
82 endif
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
83 else
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
84 $(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
85 -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
86 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
87 $(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
88 endif
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
89 endif
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
90
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
91 define $(PKG)_BUILD
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
92 cd '$(1)' && \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
93 $($(PKG)_CONFIGURE_ENV) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
94 ./configure \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
95 $($(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
96 $($(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
97 -no-strip \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
98 -opensource \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
99 -c++std c++11 \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
100 -confirm-license \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
101 $($(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
102 $($(PKG)_CONFIGURE_CROSS_COMPILE_OPTION) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
103 -device-option PKG_CONFIG='$(MXE_PKG_CONFIG)' \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
104 -force-pkg-config \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
105 -no-use-gold-linker \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
106 -shared \
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
107 $($(PKG)_CONFIGURE_PREFIX_OPTION) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
108 -hostprefix '$(BUILD_TOOLS_PREFIX)' \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
109 -opengl desktop \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
110 -no-glib \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
111 -accessibility \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
112 -nomake examples \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
113 -nomake tests \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
114 $($(PKG)_CONFIGURE_DATABASE_OPTION) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
115 -system-zlib \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
116 -system-libpng \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
117 -system-libjpeg \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
118 -system-sqlite \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
119 -fontconfig \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
120 -system-freetype \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
121 -system-pcre \
4526
c283aa086767 double-conversion: new package
John D
parents: 4525
diff changeset
122 -system-doubleconversion \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
123 -no-openssl \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
124 -dbus-linked \
4525
0deb76a57fae Use libproxy, icu4c and libjbig in build
John D
parents: 4518
diff changeset
125 -libproxy \
4498
f47df619cd1d qtbase: don't strip, only disable xcb on windows.
John W. Eaton <jwe@octave.org>
parents: 4496
diff changeset
126 -no-pch \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
127 -v \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
128 $($(PKG)_CONFIGURE_OPTS)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
129
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
130 $(MAKE) -C '$(1)' -j '$(JOBS)'
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
131 $(MAKE) -C '$(1)' -j 1 install
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
132
4518
c48b41efdcf4 qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents: 4508
diff changeset
133 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
134 $(INSTALL) -d '$(HOST_BINDIR)'; \
c48b41efdcf4 qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents: 4508
diff changeset
135 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
136 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
137 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
138 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
139 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
140 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
141 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
142 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
143 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
144 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
145 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
146 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
147 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
148 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
149 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
150 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
151 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
152 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
153 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
154 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
155 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
156 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
157 fi
c48b41efdcf4 qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents: 4508
diff changeset
158
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
159 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
160 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
161 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
162 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
163 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
164 ln -sf '$(BUILD_TOOLS_PREFIX)/bin/lrelease' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)'lrelease; \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
165 fi
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
166
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
167 endef