qt5base: use libinput by default
[feed/video.git] / frameworks / qt5base / Makefile
1 #
2 # Copyright (C) 2016 OpenWrt.org
3 # Author: Mirko Vogt <mirko-openwrt@nanl.de>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 # TODO / known bugs:
9 # - plugins don't work when sstrip is used for stripping
10 # - no X11/wayland/xcb/kms support so far - primary target is linuxfb
11
12 include $(TOPDIR)/rules.mk
13
14 PKG_NAME:=qt5base
15 PKG_VERSION:=5.9.1
16 PKG_RELEASE:=1
17 PKG_HASH:=bc9a21e9f6fff9629019fdf9f989f064751d5073c3a28dc596def92f4d4275c6
18
19 PKG_SYS_NAME:=qtbase-opensource-src-$(PKG_VERSION)
20 PKG_SOURCE:=$(PKG_SYS_NAME).tar.xz
21 PKG_SOURCE_URL:=http://download.qt-project.org/official_releases/qt/$(basename $(PKG_VERSION))/$(PKG_VERSION)/submodules
22
23 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_SYS_NAME)
24 HOST_BUILD_DIR=$(BUILD_DIR)/host/$(PKG_SYS_NAME)
25 PKG_BUILD_PARALLEL:=1
26 HOST_BUILD_PARALLEL:=1
27 PKG_BUILD_DEPENDS:=librpc
28 PKG_INSTALL:=1
29 PKG_USE_MIPS16:=0
30 # Yes, the host build depends on the target build. This is not a mistake!
31 # The target build provides the (target specific) qmake.mk file which
32 # is also used for host builds.
33 # Host projects depend on qt5base/host which however don't build
34 # if qt5base didn't install the qmake.mk file before.
35 # Benefit of the target build providing qmake.mk instead of the host build
36 # is that the host build really only needs to be built, if there're targets
37 # which actually depend on it. At the time of this writing, only qt5tools
38 # makes use of the host build.
39 HOST_BUILD_DEPENDS:=qt5base
40
41 include $(INCLUDE_DIR)/package.mk
42 include $(INCLUDE_DIR)/host-build.mk
43 include $(INCLUDE_DIR)/nls.mk
44 include ./files/qmake.mk
45
46 PKG_CONFIG_DEPENDS:= \
47 CONFIG_PACKAGE_qt5base-plugin-imageformats-jpeg \
48 CONFIG_PACKAGE_qt5base-plugin-imageformats-png \
49 CONFIG_PACKAGE_qt5base-network \
50 CONFIG_PACKAGE_qt5base-gui \
51 CONFIG_PACKAGE_qt5base-gl \
52 CONFIG_PACKAGE_qt5base-widgets \
53 CONFIG_PACKAGE_qt5base-examples \
54 CONFIG_PACKAGE_qt5base-plugin-platforms-minimal \
55 CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb \
56 # CONFIG_PACKAGE_qt5base-plugin-platforms-eglfs \
57 # CONFIG_PACKAGE_qt5base-plugin-platforms-minimalegl \
58
59 # Do not use sstrip for QT5. When sstrip is used the QT5 plugin loading does
60 # not work, because of QT''s internal elf parser, see
61 # https://bugreports.qt.io/browse/QTBUG-52567
62 # Use the code from the gcc package to use strip instaed.
63 ifneq ($(CONFIG_USE_SSTRIP),)
64 STRIP:=$(TARGET_CROSS)strip $(call qstrip,$(CONFIG_STRIP_ARGS))
65 RSTRIP:= \
66 export CROSS="$(TARGET_CROSS)" \
67 $(if $(CONFIG_KERNEL_KALLSYMS),NO_RENAME=1) \
68 $(if $(CONFIG_KERNEL_PROFILING),KEEP_SYMBOLS=1); \
69 NM="$(TARGET_CROSS)nm" \
70 STRIP="$(STRIP)" \
71 STRIP_KMOD="$(SCRIPT_DIR)/strip-kmod.sh" \
72 $(SCRIPT_DIR)/rstrip.sh
73 endif
74
75 define Package/qt5base/Default
76 SECTION:=video-frameworks
77 CATEGORY:=Video
78 SUBMENU:=Frameworks and Toolkits
79 TITLE:=Qt5base
80 URL:=http://qt.io
81 MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
82 endef
83
84 # define Package/qt5base
85 # $(call Package/qt5base/Default)
86 # DEPENDS:=
87 # MENU:=1
88 # endef
89
90 define Package/qt5base-concurrent
91 $(call Package/qt5base/Default)
92 TITLE+=concurrent
93 DEPENDS+=+qt5base-core
94 endef
95
96 define Package/qt5base-gl
97 $(call Package/qt5base/Default)
98 TITLE+=gl
99 DEPENDS+=+qt5base-core +qt5base-gui +qt5base-widgets
100 endef
101
102 define Package/qt5base-core
103 $(call Package/qt5base/Default)
104 TITLE+=core
105 DEPENDS+=+libpthread +zlib +libpcre2-16 +libstdcpp +librt +libdouble-conversion $(ICONV_DEPENDS) #+icu
106 endef
107
108 define Package/qt5base-gui
109 $(call Package/qt5base/Default)
110 TITLE+=gui
111 DEPENDS+=+qt5base-core +qt5quick2-2d-sw-renderer-GLstubs +libpng +fontconfig +libfreetype
112 endef
113
114 define Package/qt5base-network
115 $(call Package/qt5base/Default)
116 TITLE+=network
117 DEPENDS+=+qt5base-core +libopenssl
118 endef
119
120 # seems to be only present as static lib
121 # define Package/qt5base-paltformSupport
122 # $(call Package/qt5base/Default)
123 # DEPENDS+=
124 # endef
125
126 define Package/qt5base-printSupport
127 $(call Package/qt5base/Default)
128 TITLE+=print support
129 DEPENDS+=+qt5base-core +qt5base-gui +qt5base-widgets
130 endef
131
132 define Package/qt5base-sql
133 $(call Package/qt5base/Default)
134 TITLE+=sql
135 DEPENDS+=+qt5base-core
136 endef
137
138 define Package/qt5base-test
139 $(call Package/qt5base/Default)
140 TITLE+=test
141 DEPENDS+=+qt5base-core
142 endef
143
144 define Package/qt5base-widgets
145 $(call Package/qt5base/Default)
146 TITLE+=widgets
147 DEPENDS+=+qt5base-core +qt5base-gui
148 endef
149
150 define Package/qt5base-xml
151 $(call Package/qt5base/Default)
152 TITLE+=xml
153 DEPENDS+=+qt5base-core
154 endef
155
156 #### plugins
157
158 ####### bearer
159
160 define Package/qt5base-plugin-bearer-generic
161 $(call Package/qt5base/Default)
162 TITLE+=bearer (plugin)
163 DEPENDS+=+qt5base-core +qt5base-network
164 endef
165
166 ####### generic / input
167
168 define Package/qt5base-plugin-input-libinput
169 $(call Package/qt5base/Default)
170 TITLE+=libinput (plugin)
171 DEPENDS+=+qt5base-core +qt5base-gui +libinput
172 endef
173
174 define Package/qt5base-plugin-input-evdevkeyboard
175 $(call Package/qt5base/Default)
176 TITLE+=evdev keyboard (plugin)
177 DEPENDS+=+qt5base-core +qt5base-gui +libinput
178 endef
179
180 define Package/qt5base-plugin-input-evdevmouse
181 $(call Package/qt5base/Default)
182 TITLE+=evdev mouse (plugin)
183 DEPENDS+=+qt5base-core +qt5base-gui +libinput
184 endef
185
186 define Package/qt5base-plugin-input-evdevtablet
187 $(call Package/qt5base/Default)
188 TITLE+=evdev tablet (plugin)
189 DEPENDS+=+qt5base-core +qt5base-gui +libinput
190 endef
191
192 define Package/qt5base-plugin-input-evdevtouch
193 $(call Package/qt5base/Default)
194 TITLE+=evdev touch (plugin)
195 DEPENDS+=+qt5base-core +qt5base-gui +libinput
196 endef
197
198 ####### imageformats
199
200 #define Package/qt5base-plugin-imageformats-gif
201 # $(call Package/qt5base/Default)
202 #TITLE+=imageformat gif (plugin)
203 # DEPENDS+=+qt5base-core +qt5base-gui
204 #endef
205
206 define Package/qt5base-plugin-imageformats-ico
207 $(call Package/qt5base/Default)
208 TITLE+=imageformat ico (plugin)
209 DEPENDS+=+qt5base-core +qt5base-gui
210 endef
211
212 define Package/qt5base-plugin-imageformats-jpeg
213 $(call Package/qt5base/Default)
214 TITLE+=imageformat jpeg (plugin)
215 DEPENDS+=+qt5base-core +qt5base-gui +libjpeg
216 endef
217
218 ####### platforms
219
220 #define Package/qt5base-plugin-platforms-eglfs
221 # $(call Package/qt5base/Default)
222 # TITLE+=platform eglfs (plugin)
223 # DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
224 #endef
225
226 #define Package/qt5base-plugin-platforms-minimalegl
227 # $(call Package/qt5base/Default)
228 # TITLE+=platform minimalegl (plugin)
229 # DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
230 #endef
231
232 define Package/qt5base-plugin-platforms-linuxfb
233 $(call Package/qt5base/Default)
234 TITLE+=platform linuxfb (plugin)
235 DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +libinput
236 endef
237
238 define Package/qt5base-plugin-platforms-minimal
239 $(call Package/qt5base/Default)
240 TITLE+=platform minimal (plugin)
241 DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
242 endef
243
244 define Package/qt5base-plugin-platforms-offscreen
245 $(call Package/qt5base/Default)
246 TITLE+=platform offscreen (plugin)
247 DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
248 endef
249
250 define Package/qt5base-plugin-platforms-vnc
251 $(call Package/qt5base/Default)
252 TITLE+=platform vnc (plugin)
253 DEPENDS+=+qt5base-core +qt5base-gui +qt5base-network +libfreetype +fontconfig +libinput
254 endef
255
256
257
258 ###### sql
259
260 #define Package/qt5base-plugin-sqldrivers-sqlite
261 # $(call Package/qt5base/Default)
262 # TITLE+=sqldriver sqlite (plugin)
263 # DEPENDS+=+qt5base-core +qt5base-sql +libsqlite3
264 #endef
265
266 define Package/qt5base-examples
267 $(call Package/qt5base/Default)
268 TITLE+=examples
269 DEPENDS+=\
270 +qt5base-core \
271 +qt5base-gui \
272 +qt5base-widgets \
273 +qt5base-network \
274 +qt5base-sql \
275 +qt5base-xml \
276 +qt5base-printSupport \
277 +qt5base-concurrent \
278 +qt5base-gl
279 endef
280
281 define Build/Prepare
282 $(call Build/Prepare/Default)
283 $(CP) \
284 ./files/mkspecs/linux-openwrt-g++ \
285 $(PKG_BUILD_DIR)/mkspecs/
286 endef
287
288 # TARGET_CFLAGS += \
289 # -I$(STAGING_DIR)/usr/include/freetype2 \
290 # -I$(STAGING_DIR)/usr/include/libdrm
291
292 define Build/Configure
293 # CROSS/TARGET_* need to be passed to configure, in order to use cross-compiling tools to check for requirements.
294 # Usually used variables such as CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS would be used for compilation of host tools (qmake, moc, etc.),
295 # hence we use the TARGET_* nomenclature.
296 ( cd $(PKG_BUILD_DIR) ; \
297 TARGET_CROSS="$(TARGET_CROSS)" \
298 TARGET_CFLAGS="$(TARGET_CFLAGS)" \
299 TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(TARGET_CXXFLAGS)" \
300 TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
301 ./configure \
302 -prefix $(QT_INSTALL_PREFIX) \
303 -extprefix $(QT_EXTPREFIX) \
304 -hostprefix $(QT_HOST_PREFIX) \
305 -hostdatadir $(QT_HOST_PREFIX)/share \
306 -no-gcc-sysroot \
307 -bindir $(QT_INSTALL_BINS) \
308 -headerdir $(QT_INSTALL_HEADERS) \
309 -libdir $(QT_INSTALL_LIBS) \
310 -archdatadir $(QT_INSTALL_ARCHDATA) \
311 -plugindir $(QT_INSTALL_PLUGINS) \
312 -libexecdir $(QT_INSTALL_LIBEXECS) \
313 -importdir $(QT_INSTALL_IMPORTS) \
314 -qmldir $(QT_INSTALL_QML) \
315 -datadir $(QT_INSTALL_DATA) \
316 -docdir $(QT_INSTALL_DOCS) \
317 -translationdir $(QT_INSTALL_TRANSLATIONS) \
318 -sysconfdir $(QT_INSTALL_CONFIGURATION) \
319 -examplesdir $(QT_INSTALL_EXAMPLES) \
320 -testsdir $(QT_INSTALL_TESTS) \
321 -hostbindir $(QT_HOST_BINS) \
322 -hostlibdir $(QT_HOST_LIBS) \
323 -hostdatadir $(QT_HOST_DATA) \
324 -verbose \
325 -opensource \
326 -confirm-license \
327 -release \
328 -no-optimized-tools \
329 -no-strip \
330 -shared \
331 -no-framework \
332 -xplatform linux-openwrt-g++ \
333 -no-sse3 \
334 -no-ssse3 \
335 -no-sse4.1 \
336 -no-sse4.2 \
337 -no-avx \
338 -no-avx2 \
339 -no-avx512 \
340 $(if $(findstring -mdsp,$(TARGET_CFLAGS)),,-no-mips_dsp) \
341 $(if $(findstring -mdspr2,$(TARGET_CFLAGS)),,-no-mips_dspr2) \
342 -no-reduce-exports \
343 -no-reduce-relocations \
344 -no-pch \
345 -no-use-gold-linker \
346 -no-warnings-are-errors \
347 -pkg-config \
348 -no-optimized-qmake \
349 -nomake tools \
350 -make examples \
351 $(if $(CONFIG_PACKAGE_qt5base-examples),-compile-examples,-no-compile-examples) \
352 $(if $(CONFIG_PACKAGE_qt5base-examples),-make examples,-nomake examples) \
353 $(if $(CONFIG_PACKAGE_qt5base-gui),-gui,-no-gui) \
354 $(if $(CONFIG_PACKAGE_qt5base-widgets),-widgets,-no-widgets) \
355 -no-dbus \
356 -accessibility \
357 -no-qml-debug \
358 -system-doubleconversion \
359 -no-glib \
360 -eventfd \
361 -no-inotify \
362 $(if $(CONFIG_BUILD_NLS),-no-iconv,-no-iconv) \
363 -no-icu \
364 -system-pcre \
365 -system-zlib \
366 -no-journald \
367 -no-syslog \
368 -ssl \
369 $(if $(CONFIG_PACKAGE_qt5base-network),-openssl-linked,-no-openssl) \
370 -system-proxies \
371 -no-cups \
372 -fontconfig \
373 -system-freetype \
374 -no-harfbuzz \
375 -no-gtk \
376 -opengl \
377 -no-xcb-xlib \
378 $(if $(CONFIG_PACKAGE_qt5base-plugin-platforms-minimal),,-qpa minimal) \
379 $(if $(CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb),,-qpa linuxfb) \
380 -system-xcb \
381 -no-directfb \
382 -no-eglfs \
383 -no-gbm \
384 -no-kms \
385 $(if $(CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb),-linuxfb,-no-linuxfb) \
386 -no-mirclient \
387 -no-xcb \
388 -evdev \
389 -libinput \
390 -no-mtdev \
391 -no-tslib \
392 -no-xinput2 \
393 -no-xkbcommon-x11 \
394 -no-xkbcommon-evdev \
395 -no-gif \
396 $(if $(CONFIG_PACKAGE_qt5base-plugin-imageformats-ico),-ico,-no-ico) \
397 $(if $(CONFIG_PACKAGE_qt5base-gui),-system-libpng,-no-libpng) \
398 $(if $(CONFIG_PACKAGE_qt5base-plugin-imageformats-jpeg),-system-libjpeg,-no-libjpeg) \
399 -no-sql-db2 \
400 -no-sql-ibase \
401 -no-sql-mysql \
402 -no-sql-oci \
403 -no-sql-odbc \
404 -no-sql-psql \
405 -no-sql-sqlite \
406 -no-sql-sqlite2 \
407 -no-sql-tds \
408 -no-libproxy \
409 -system-xkbcommon \
410 )
411 endef
412
413
414 define Host/Configure
415 # CROSS/TARGET_* need to be passed to configure, in order to use cross-compiling tools to check for requirements.
416 # Usually used variables such as CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS would be used for compilation of host tools (qmake, moc, etc.),
417 # hence we use the TARGET_* nomenclature.
418 ( cd $(HOST_BUILD_DIR) ; \
419 TARGET_CFLAGS="$(HOST_CFLAGS)" \
420 TARGET_CXXFLAGS="$(HOST_CFLAGS) $(HOST_CXXFLAGS)" \
421 TARGET_LDFLAGS="$(HOST_LDFLAGS)" \
422 ./configure \
423 -prefix $(STAGING_DIR_HOST) \
424 -hostprefix $(STAGING_DIR_HOST) \
425 -hostdatadir $(STAGING_DIR_HOST)/share \
426 -datadir $(STAGING_DIR_HOST)/share \
427 -archdatadir $(STAGING_DIR_HOST)/lib \
428 -no-gcc-sysroot \
429 -verbose \
430 -opensource \
431 -confirm-license \
432 -release \
433 -no-optimized-tools \
434 -no-strip \
435 -shared \
436 -no-framework \
437 -nomake tools \
438 -nomake examples \
439 -no-compile-examples \
440 -gui \
441 -no-widgets \
442 -no-dbus \
443 -no-accessibility \
444 -no-qml-debug \
445 -qt-doubleconversion \
446 -no-glib \
447 -no-eventfd \
448 -no-inotify \
449 -no-icu \
450 -qt-pcre \
451 -qt-zlib \
452 -no-journald \
453 -no-syslog \
454 -no-ssl \
455 -no-openssl \
456 -no-cups \
457 -no-fontconfig \
458 -qt-freetype \
459 -no-harfbuzz \
460 -no-gtk \
461 -no-opengl \
462 -no-xcb-xlib \
463 -no-xcb \
464 -no-directfb \
465 -no-eglfs \
466 -no-gbm \
467 -no-kms \
468 -no-linuxfb \
469 -no-mirclient \
470 -no-xcb \
471 -evdev \
472 -no-libinput \
473 -no-mtdev \
474 -no-tslib \
475 -no-xinput2 \
476 -no-xkbcommon-x11 \
477 -no-xkbcommon-evdev \
478 -no-gif \
479 -no-ico \
480 -qt-libpng \
481 -no-libjpeg \
482 -no-sql-db2 \
483 -no-sql-ibase \
484 -no-sql-mysql \
485 -no-sql-oci \
486 -no-sql-odbc \
487 -no-sql-psql \
488 -no-sql-sqlite \
489 -no-sql-sqlite2 \
490 -no-sql-tds \
491 -no-libproxy \
492 -no-xkbcommon \
493 )
494 endef
495
496 define Build/InstallDev
497 $(INSTALL_DIR) \
498 $(STAGING_DIR)/host/mk
499
500 $(CP) \
501 ./files/qmake.mk \
502 $(STAGING_DIR)/host/mk/
503
504 $(call Build/Install/HostFiles,$(1))
505 $(call Build/Install/Headers,$(1))
506 $(call Build/Install/Libs,$(1),*)
507 endef
508
509 define Host/Install
510 $(call Host/Install/Default)
511
512 $(INSTALL_DIR) \
513 $(STAGING_DIR_HOST)/bin \
514 $(STAGING_DIR_HOST)/lib \
515 $(STAGING_DIR_HOST)/include \
516 $(STAGING_DIR_HOST)/share
517
518 $(CP) \
519 $(HOST_INSTALL_DIR)/lib/* \
520 $(STAGING_DIR_HOST)/lib/
521
522 $(CP) \
523 $(HOST_INSTALL_DIR)/include/* \
524 $(STAGING_DIR_HOST)/include/
525
526 $(CP) \
527 $(HOST_INSTALL_DIR)/share/* \
528 $(STAGING_DIR_HOST)/share/
529
530 $(CP) \
531 $(HOST_INSTALL_DIR)/bin/* \
532 $(STAGING_DIR_HOST)/bin/
533 endef
534
535 define Package/qt5base-concurrent/install
536 $(call Build/Install/Libs,$(1),libQt5Concurrent)
537 endef
538
539 define Package/qt5base-core/install
540 $(call Build/Install/Libs,$(1),libQt5Core)
541 endef
542
543 define Package/qt5base-gl/install
544 $(call Build/Install/Libs,$(1),libQt5OpenGL)
545 endef
546
547 define Package/qt5base-gui/install
548 $(call Build/Install/Libs,$(1),libQt5Gui)
549 endef
550
551 define Package/qt5base-network/install
552 $(call Build/Install/Libs,$(1),libQt5Network)
553 endef
554
555 define Package/qt5base-printSupport/install
556 $(call Build/Install/Libs,$(1),libQt5PrintSupport)
557 endef
558
559 define Package/qt5base-sql/install
560 $(call Build/Install/Libs,$(1),libQt5Sql)
561 endef
562
563 define Package/qt5base-test/install
564 $(call Build/Install/Libs,$(1),libQt5Test)
565 endef
566
567 define Package/qt5base-widgets/install
568 $(call Build/Install/Libs,$(1),libQt5Widgets)
569 endef
570
571 define Package/qt5base-xml/install
572 $(call Build/Install/Libs,$(1),libQt5Xml)
573 endef
574
575 define Package/qt5base-plugin-bearer-generic/install
576 $(call Build/Install/Plugins,$(1),bearer,libqgenericbearer)
577 endef
578
579 define Package/qt5base-plugin-input-libinput/install
580 $(call Build/Install/Plugins,$(1),generic,libqlibinputplugin)
581 endef
582
583 define Package/qt5base-plugin-input-evdevkeyboard/install
584 $(call Build/Install/Plugins,$(1),generic,libqevdevkeyboardplugin)
585 endef
586
587 define Package/qt5base-plugin-input-evdevmouse/install
588 $(call Build/Install/Plugins,$(1),generic,libqevdevmouseplugin)
589 endef
590
591 define Package/qt5base-plugin-input-evdevtablet/install
592 $(call Build/Install/Plugins,$(1),generic,libqevdevtabletplugin)
593 endef
594
595 define Package/qt5base-plugin-input-evdevtouch/install
596 $(call Build/Install/Plugins,$(1),generic,libqevdevtouchplugin)
597 endef
598
599 #define Package/qt5base-plugin-imageformats-gif/install
600 # $(call Build/Install/Plugins,$(1),imageformats,libqgif)
601 #endef
602
603 define Package/qt5base-plugin-imageformats-ico/install
604 $(call Build/Install/Plugins,$(1),imageformats,libqico)
605 endef
606
607 define Package/qt5base-plugin-imageformats-jpeg/install
608 $(call Build/Install/Plugins,$(1),imageformats,libqjpeg)
609 endef
610
611 define Package/qt5base-plugin-platforms-linuxfb/install
612 $(call Build/Install/Plugins,$(1),platforms,libqlinuxfb)
613 endef
614
615 define Package/qt5base-plugin-platforms-vnc/install
616 $(call Build/Install/Plugins,$(1),platforms,libqvnc)
617 endef
618
619 #define Package/qt5base-plugin-platforms-eglfs/install
620 # $(call Build/Install/Plugins,$(1),platforms,libqeglfs)
621 #endef
622
623 #define Package/qt5base-plugin-platforms-minimalegl/install
624 # $(call Build/Install/Plugins,$(1),platforms,libqminimalegl)
625 #endef
626
627 define Package/qt5base-plugin-platforms-minimal/install
628 $(call Build/Install/Plugins,$(1),platforms,libqminimal)
629 endef
630
631 define Package/qt5base-plugin-platforms-offscreen/install
632 $(call Build/Install/Plugins,$(1),platforms,libqoffscreen)
633 endef
634
635 #define Package/qt5base-plugin-sqldrivers-sqlite/install
636 # $(call Build/Install/Plugins,$(1),sqldrivers,libqsqlite)
637 #endef
638
639 define Package/qt5base-examples/install
640 $(call Build/Install/Examples,$(1))
641 endef
642
643 # $(eval $(call BuildPackage,qt5base))
644 $(eval $(call BuildPackage,qt5base-concurrent))
645 $(eval $(call BuildPackage,qt5base-core))
646 $(eval $(call BuildPackage,qt5base-gui))
647 $(eval $(call BuildPackage,qt5base-gl))
648 $(eval $(call BuildPackage,qt5base-network))
649 $(eval $(call BuildPackage,qt5base-printSupport))
650 $(eval $(call BuildPackage,qt5base-sql))
651 $(eval $(call BuildPackage,qt5base-test))
652 $(eval $(call BuildPackage,qt5base-widgets))
653 $(eval $(call BuildPackage,qt5base-xml))
654 $(eval $(call BuildPackage,qt5base-plugin-bearer-generic))
655 $(eval $(call BuildPackage,qt5base-plugin-input-libinput))
656 $(eval $(call BuildPackage,qt5base-plugin-input-evdevkeyboard))
657 $(eval $(call BuildPackage,qt5base-plugin-input-evdevmouse))
658 $(eval $(call BuildPackage,qt5base-plugin-input-evdevtablet))
659 $(eval $(call BuildPackage,qt5base-plugin-input-evdevtouch))
660 #$(eval $(call BuildPackage,qt5base-plugin-imageformats-gif))
661 $(eval $(call BuildPackage,qt5base-plugin-imageformats-ico))
662 $(eval $(call BuildPackage,qt5base-plugin-imageformats-jpeg))
663 $(eval $(call BuildPackage,qt5base-plugin-platforms-linuxfb))
664 #$(eval $(call BuildPackage,qt5base-plugin-platforms-eglfs))
665 #$(eval $(call BuildPackage,qt5base-plugin-platforms-minimalegl))
666 $(eval $(call BuildPackage,qt5base-plugin-platforms-minimal))
667 $(eval $(call BuildPackage,qt5base-plugin-platforms-offscreen))
668 $(eval $(call BuildPackage,qt5base-plugin-platforms-vnc))
669 #$(eval $(call BuildPackage,qt5base-plugin-sqldrivers-sqlite))
670 $(eval $(call BuildPackage,qt5base-examples))
671 $(eval $(call HostBuild))