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