annotate src/qtbase.mk @ 4967:46f4053aa6a3

Attempt to include system pkg config path when when needed * src/qtbase.mk: in native mode, include system pkg config path * Makefile.in: set build pkg config path
author John Donoghue <john.donoghue@ieee.org>
date Sun, 24 Feb 2019 09:18:42 -0500
parents 8b4d4e06075d
children 59ea6e6b36e3
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 :=
4956
ddd66d48a646 Update qt5 to v5.12.1
John D
parents: 4900
diff changeset
6 $(PKG)_VERSION := 5.12.1
ddd66d48a646 Update qt5 to v5.12.1
John D
parents: 4900
diff changeset
7 $(PKG)_CHECKSUM := e48e91f343a7b02dc7012c787a2e3fcb3589f16d
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-everywhere-src-$($(PKG)_VERSION)
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
9 $(PKG)_FILE := $(PKG)-everywhere-src-$($(PKG)_VERSION).tar.xz
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
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
e2349691d6ae fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents: 4801
diff changeset
14 $(PKG)_DEPS := dbus double-conversion freetds freetype $($(PKG)_FONTCONFIG) 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
903796b2fcb6 fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents: 4487
diff changeset
27 endif
4532
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
28 ifeq ($(MXE_WINDOWS_BUILD),yes)
4890
dd3cda73cefc * src/qtbase.mk: fix typo for enable of icu when windows 64
John Donoghue
parents: 4867
diff changeset
29 ifeq ($(ENABLE_WINDOWS_64),yes)
4532
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
30 $(PKG)_DEPS += icu4c
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
31 $(PKG)_CONFIGURE_OPTS += -icu
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
32 else
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
33 $(PKG)_CONFIGURE_OPTS += -no-icu
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
34 endif
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
35 else
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
36 $(PKG)_DEPS += icu4c
2ef6a1cbd7df qtbase: disable icu on w32 systems
John W. Eaton <jwe@octave.org>
parents: 4526
diff changeset
37 $(PKG)_CONFIGURE_OPTS += -icu
4487
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
38 ifeq ($(USE_SYSTEM_X11_LIBS),no)
4958
8b4d4e06075d Add xkbcommon (required by linux qt5-5.12.X)
John Donoghue
parents: 4956
diff changeset
39 $(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
40 endif
7b73612f57b9 qtbase: Optionally depend on X11 and fontconfig libraries.
John W. Eaton <jwe@octave.org>
parents: 4485
diff changeset
41 endif
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
42
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
43 define $(PKG)_UPDATE
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 4532
diff changeset
44 $(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
45 $(SED) -n 's,.*href="\(5\.[0-9]\+\.[^/]*\)/".*,\1,p' | \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
46 grep -iv -- '-rc' | \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
47 sort |
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
48 tail -1
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
49 endef
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
50
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
51 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
52 ## 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
53 ## 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
54 ## 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
55 ## --jwe
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
56 $(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
57 $(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
58 else
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
59 $(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
60 $(PKG)_CONFIGURE_INCLUDE_OPTION += -I '$(HOST_INCDIR)/freetype2'
4827
6834d305f658 qtbase: for non-windows builds, configure with -qt-xcb instead of -xcb
John W. Eaton <jwe@octave.org>
parents: 4804
diff changeset
61 $(PKG)_CONFIGURE_OPTS += -qpa xcb -qt-xcb
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
62 endif
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
63
4484
0d0e6c8015af qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents: 4482
diff changeset
64 ## 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
65 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
66 $(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
67 $(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
68 -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
69 else
0d0e6c8015af qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents: 4482
diff changeset
70 $(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
71 endif
0d0e6c8015af qtbase.mk: Use proper platform option for cross and native windows builds.
John W. Eaton <jwe@octave.org>
parents: 4482
diff changeset
72
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
73 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
74 $(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
75 $(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
76 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
77 $(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
78 endif
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_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
80 $(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
81 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
82 $(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
83 endif
4967
46f4053aa6a3 Attempt to include system pkg config path when when needed
John Donoghue <john.donoghue@ieee.org>
parents: 4958
diff changeset
84 $(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
85 else
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
86 $(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
87 -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
88 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
89 $(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
90 endif
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
91 endif
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
92
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
93 $(PKG)_CONFIGURE_ENV += \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
94 PKG_CONFIG="$(MXE_PKG_CONFIG)" \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
95 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
96 PKG_CONFIG_LIBDIR=$($(PKG)_PKG_CONFIG_PATH)
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
97
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
98 define $(PKG)_BUILD
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
99 cd '$(1)' && \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
100 $($(PKG)_CONFIGURE_ENV) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
101 ./configure \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
102 $($(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
103 $($(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
104 -no-strip \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
105 -opensource \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
106 -c++std c++11 \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
107 -confirm-license \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
108 $($(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
109 $($(PKG)_CONFIGURE_CROSS_COMPILE_OPTION) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
110 -device-option PKG_CONFIG='$(MXE_PKG_CONFIG)' \
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4618
diff changeset
111 -pkg-config \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
112 -force-pkg-config \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
113 -no-use-gold-linker \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
114 -shared \
4485
86176b88d1f8 qtbase: Fix config include and prefix options for windows.
John W. Eaton <jwe@octave.org>
parents: 4484
diff changeset
115 $($(PKG)_CONFIGURE_PREFIX_OPTION) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
116 -hostprefix '$(BUILD_TOOLS_PREFIX)' \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
117 -opengl desktop \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
118 -no-glib \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
119 -accessibility \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
120 -nomake examples \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
121 -nomake tests \
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
122 $($(PKG)_CONFIGURE_DATABASE_OPTION) \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
123 -system-zlib \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
124 -system-libpng \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
125 -system-libjpeg \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
126 -system-sqlite \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
127 -fontconfig \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
128 -system-freetype \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
129 -system-pcre \
4526
c283aa086767 double-conversion: new package
John D
parents: 4525
diff changeset
130 -system-doubleconversion \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
131 -no-openssl \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
132 -dbus-linked \
4525
0deb76a57fae Use libproxy, icu4c and libjbig in build
John D
parents: 4518
diff changeset
133 -libproxy \
4498
f47df619cd1d qtbase: don't strip, only disable xcb on windows.
John W. Eaton <jwe@octave.org>
parents: 4496
diff changeset
134 -no-pch \
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
135 -v \
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
136 $($(PKG)_CONFIGURE_OPTS)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
137
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
138 $(MAKE) -C '$(1)' -j '$(JOBS)'
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
139 $(MAKE) -C '$(1)' -j 1 install
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
140
4518
c48b41efdcf4 qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents: 4508
diff changeset
141 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
142 $(INSTALL) -d '$(HOST_BINDIR)'; \
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/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
144 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
145 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
146 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
147 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
148 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
149 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
150 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
151 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
152 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
153 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
154 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
155 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
156 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
157 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
158 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
159 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
160 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
161 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
162 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
163 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
164 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
165 fi
c48b41efdcf4 qtbase: move dll files from qt5/bin to bin
John W. Eaton <jwe@octave.org>
parents: 4508
diff changeset
166
4482
57600c0c6bdf allow native linux system builds of qtbase to work again
John W. Eaton <jwe@octave.org>
parents: 4310
diff changeset
167 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
168 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
169 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
170 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
171 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
172 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
173 fi
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
174
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
175 endef