05112889110fa0bf58c7d9b8303024c63b644965
[feed/video.git] / frameworks / qt5base / Makefile
1 #
2 # Copyright (C) 2020 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.15.0
16 PKG_RELEASE:=1
17 PKG_HASH:=bc9a21e9f6fff9629019fdf9f989f064751d5073c3a28dc596def92f4d4275c6
18
19 PKG_SYS_NAME:=qtbase-everywhere-src-$(PKG_VERSION)
20 PKG_SOURCE:=$(PKG_SYS_NAME).tar.xz
21 PKG_SOURCE_URL:=https://download.qt.io/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_INSTALL:=1
28 PKG_USE_MIPS16:=0
29 # Yes, the host build depends on the target build. This is not a mistake!
30 # The target build provides the (target specific) qmake.mk file which
31 # is also used for host builds.
32 # Host projects depend on qt5base/host which however don't build
33 # if qt5base didn't install the qmake.mk file before.
34 # Benefit of the target build providing qmake.mk instead of the host build
35 # is that the host build really only needs to be built, if there're targets
36 # which actually depend on it. At the time of this writing, only qt5tools
37 # makes use of the host build.
38 HOST_BUILD_DEPENDS:=qt5base
39
40 include $(INCLUDE_DIR)/package.mk
41 include $(INCLUDE_DIR)/host-build.mk
42 include $(INCLUDE_DIR)/nls.mk
43 include ./files/qmake.mk
44
45 PKG_CONFIG_DEPENDS:= \
46 CONFIG_PACKAGE_qt5base-plugin-imageformats-jpeg \
47 CONFIG_PACKAGE_qt5base-network \
48 CONFIG_PACKAGE_qt5base-gui \
49 CONFIG_PACKAGE_qt5base-gl \
50 CONFIG_PACKAGE_qt5base-widgets \
51 CONFIG_PACKAGE_qt5base-examples \
52 CONFIG_PACKAGE_qt5base-plugin-platforms-minimal \
53 CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb \
54 CONFIG_PACKAGE_qt5base-plugin-input-libinput \
55 # CONFIG_PACKAGE_qt5base-plugin-imageformats-png \
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@nanl.de>
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 @BROKEN
100 endef
101
102 define Package/qt5base-core
103 $(call Package/qt5base/Default)
104 TITLE+=core
105 DEPENDS+=+libpthread +zlib +libzstd +libpcre2-16 +libstdcpp +librt +libdouble-conversion $(ICONV_DEPENDS) +PACKAGE_icu:icu #FIXME: do not include ICONV_DEPENDS if ICU is selected (though, that's only an issue when using GNU iconv)
106 endef
107
108 define Package/qt5base-gui
109 $(call Package/qt5base/Default)
110 TITLE+=gui
111 DEPENDS+=+qt5base-core +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 +libudev +PACKAGE_qt5base-plugin-input-libinput: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 +libudev +PACKAGE_qt5base-plugin-input-libinput: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 +libudev +PACKAGE_qt5base-plugin-input-libinput: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 +libudev +PACKAGE_qt5base-plugin-input-libinput: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 #define Package/qt5base-plugin-imageformats-png
219 # $(call Package/qt5base/Default)
220 # TITLE+=imageformat png (plugin)
221 # DEPENDS+=+qt5base-core +qt5base-gui +libpng
222 #endef
223
224 ####### platforms
225
226 #define Package/qt5base-plugin-platforms-eglfs
227 # $(call Package/qt5base/Default)
228 # TITLE+=platform eglfs (plugin)
229 # DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
230 #endef
231
232 #define Package/qt5base-plugin-platforms-minimalegl
233 # $(call Package/qt5base/Default)
234 # TITLE+=platform minimalegl (plugin)
235 # DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
236 #endef
237
238 define Package/qt5base-plugin-platforms-linuxfb
239 $(call Package/qt5base/Default)
240 TITLE+=platform linuxfb (plugin)
241 DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +libudev +PACKAGE_qt5base-plugin-input-libinput:libinput
242 endef
243
244 define Package/qt5base-plugin-platforms-minimal
245 $(call Package/qt5base/Default)
246 TITLE+=platform minimal (plugin)
247 DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
248 endef
249
250 define Package/qt5base-plugin-platforms-offscreen
251 $(call Package/qt5base/Default)
252 TITLE+=platform offscreen (plugin)
253 DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig
254 endef
255
256 define Package/qt5base-plugin-platforms-vnc
257 $(call Package/qt5base/Default)
258 TITLE+=platform vnc (plugin)
259 DEPENDS+=+qt5base-core +qt5base-gui +qt5base-network +libfreetype +fontconfig +libudev +PACKAGE_qt5base-plugin-input-libinput:libinput
260 endef
261
262
263
264 ###### sql
265
266 #define Package/qt5base-plugin-sqldrivers-sqlite
267 # $(call Package/qt5base/Default)
268 # TITLE+=sqldriver sqlite (plugin)
269 # DEPENDS+=+qt5base-core +qt5base-sql +libsqlite3
270 #endef
271
272 define Package/qt5base-examples
273 $(call Package/qt5base/Default)
274 TITLE+=examples
275 DEPENDS+=\
276 +qt5base-core \
277 +qt5base-gui \
278 +qt5base-widgets \
279 +qt5base-network \
280 +qt5base-sql \
281 +qt5base-xml \
282 +qt5base-printSupport \
283 +qt5base-concurrent \
284 +qt5base-gl
285 endef
286
287 define Build/Prepare
288 $(call Build/Prepare/Default)
289 $(CP) \
290 ./files/mkspecs/linux-openwrt-g++ \
291 $(PKG_BUILD_DIR)/mkspecs/
292 endef
293
294 # TARGET_CFLAGS += \
295 # -I$(STAGING_DIR)/usr/include/freetype2 \
296 # -I$(STAGING_DIR)/usr/include/libdrm
297
298 define Build/Configure
299 # CROSS/TARGET_* need to be passed to configure, in order to use cross-compiling tools to check for requirements.
300 # Usually used variables such as CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS would be used for compilation of host tools (qmake, moc, etc.),
301 # hence we use the TARGET_* nomenclature.
302 #
303 # NOTES:
304 # - icu support currently depends on selection of icu package which is not ideal, since unpredictable.
305 # - icu support overrides iconv support
306 ( cd $(PKG_BUILD_DIR) ; \
307 TARGET_CROSS="$(TARGET_CROSS)" \
308 TARGET_CFLAGS="$(TARGET_CFLAGS)" \
309 TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(TARGET_CXXFLAGS)" \
310 TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
311 PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
312 ./configure \
313 --prefix=$(QT_INSTALL_PREFIX) \
314 --extprefix=$(QT_EXTPREFIX) \
315 --hostprefix=$(QT_HOST_PREFIX) \
316 --gcc-sysroot=no \
317 --bindir=$(QT_INSTALL_BINS) \
318 --headerdir=$(QT_INSTALL_HEADERS) \
319 --libdir=$(QT_INSTALL_LIBS) \
320 --archdatadir=$(QT_INSTALL_ARCHDATA) \
321 --plugindir=$(QT_INSTALL_PLUGINS) \
322 --libexecdir=$(QT_INSTALL_LIBEXECS) \
323 --importdir=$(QT_INSTALL_IMPORTS) \
324 --qmldir=$(QT_INSTALL_QML) \
325 --datadir=$(QT_INSTALL_DATA) \
326 --docdir=$(QT_INSTALL_DOCS) \
327 --translationdir=$(QT_INSTALL_TRANSLATIONS) \
328 --sysconfdir=$(QT_INSTALL_CONFIGURATION) \
329 --examplesdir=$(QT_INSTALL_EXAMPLES) \
330 --testsdir=$(QT_INSTALL_TESTS) \
331 --hostbindir=$(QT_HOST_BINS) \
332 --hostlibdir=$(QT_HOST_LIBS) \
333 --hostdatadir=$(QT_HOST_DATA) \
334 --verbose=yes \
335 --opensource \
336 --confirm-license \
337 --release=yes \
338 --optimized-tools=no \
339 --optimize-size=no \
340 --strip=no \
341 --shared=yes \
342 --framework=no \
343 --xplatform=linux-openwrt-g++ \
344 --reduce-exports=no \
345 --reduce-relocations=no \
346 --pch=no \
347 --ltcg=no \
348 --use-gold-linker=no \
349 --warnings-are-errors=no \
350 --pkg-config=yes \
351 --compile-examples=$(if $(CONFIG_PACKAGE_qt5base-examples),yes,no) \
352 $(if $(CONFIG_PACKAGE_qt5base-examples),,--nomake=examples) \
353 --gui=$(if $(CONFIG_PACKAGE_qt5base-gui),yes,no) \
354 --widgets=$(if $(CONFIG_PACKAGE_qt5base-widgets),yes,no) \
355 --dbus=no \
356 --accessibility=yes \
357 --doubleconversion=system \
358 --glib=no \
359 --eventfd=no \
360 --inotify=no \
361 --iconv=$(if $(CONFIG_BUILD_NLS),$(if $(CONFIG_LIBC_USE_GLIBC)$(CONFIG_LIBC_USE_MUSL),posix)$(if $(CONFIG_LIBC_USE_UCLIBC),gnu),no) \
362 --icu=$(if $(CONFIG_PACKAGE_icu),yes,no) \
363 --pcre=system \
364 --zlib=system \
365 --journald=no \
366 --syslog=no \
367 --ssl=$(if $(CONFIG_PACKAGE_qt5base-network),yes,no) \
368 --openssl-linked$(if $(CONFIG_PACKAGE_qt5base-network),,=no) \
369 --libproxy=no \
370 --system-proxies=yes \
371 --cups=no \
372 --fontconfig=yes \
373 --freetype=system \
374 --harfbuzz=no \
375 --gtk=no \
376 --opengl=no \
377 --opengles3=no \
378 --egl=no \
379 --xcb-xlib=no \
380 --qpa=$(if $(CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb),linuxfb,) \
381 --directfb=no \
382 --eglfs=no \
383 --gbm=no \
384 --linuxfb=$(if $(CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb),yes,no) \
385 --xcb=no \
386 \
387 --libudev=yes \
388 --evdev=yes \
389 --libinput=$(if $(CONFIG_PACKAGE_qt5base-plugin-input-libinput),yes,no) \
390 --mtdev=no \
391 --tslib=no \
392 --bundled-xcb-xinput=no \
393 --xkbcommon=no \
394 --gif=$(if $(CONFIG_PACKAGE_qt5base-gui),yes,no) \
395 --ico=$(if $(CONFIG_PACKAGE_qt5base-plugin-imageformats-ico),yes,no) \
396 --libjpeg=$(if $(CONFIG_PACKAGE_qt5base-plugin-imageformats-jpeg),system,no) \
397 --libpng=system \
398 --sql-db2=no \
399 --sql-ibase=no \
400 --sql-mysql=no \
401 --sql-oci=no \
402 --sql-odbc=no \
403 --sql-psql=no \
404 --sql-sqlite=no \
405 --sql-sqlite2=no \
406 --sql-tds=no \
407 --sqlite=no \
408 )
409 endef
410
411
412 define Host/Configure
413 # CROSS/TARGET_* need to be passed to configure, in order to use cross-compiling tools to check for requirements.
414 # Usually used variables such as CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS would be used for compilation of host tools (qmake, moc, etc.),
415 # hence we use the TARGET_* nomenclature.
416 ( cd $(HOST_BUILD_DIR) ; \
417 TARGET_CFLAGS="$(HOST_CFLAGS)" \
418 TARGET_CXXFLAGS="$(HOST_CFLAGS) $(HOST_CXXFLAGS)" \
419 TARGET_LDFLAGS="$(HOST_LDFLAGS)" \
420 ./configure \
421 --prefix=$(STAGING_DIR_HOST) \
422 --hostprefix=$(STAGING_DIR_HOST) \
423 --hostdatadir=$(STAGING_DIR_HOST)/share \
424 --datadir=$(STAGING_DIR_HOST)/share \
425 --archdatadir=$(STAGING_DIR_HOST)/lib \
426 --gcc-sysroot=no \
427 --verbose=yes \
428 --opensource \
429 --confirm-license \
430 --release=yes \
431 --optimized-tools=no \
432 --optimize-size=no \
433 --strip=no \
434 --shared=yes \
435 --framework=no \
436 --reduce-exports=no \
437 --reduce-relocations=no \
438 --pch=no \
439 --ltcg=no \
440 --use-gold-linker=no \
441 --warnings-are-errors=no \
442 --pkg-config=yes \
443 --compile-examples=no \
444 --make=libs \
445 --nomake=tools \
446 --nomake=examples \
447 --gui=yes \
448 --widgets=no \
449 --dbus=no \
450 --accessibility=no \
451 --doubleconversion=qt \
452 --glib=no \
453 --eventfd=no \
454 --inotify=no \
455 --iconv=no \
456 --icu=no \
457 --pcre=qt \
458 --zlib=qt \
459 --journald=no \
460 --syslog=no \
461 --ssl=no \
462 --libproxy=no \
463 --system-proxies=no \
464 --cups=no \
465 --fontconfig=no \
466 --freetype=qt \
467 --harfbuzz=no \
468 --gtk=no \
469 --opengl=no \
470 --opengles3=no \
471 --egl=no \
472 --xcb-xlib=no \
473 --directfb=no \
474 --eglfs=no \
475 --gbm=no \
476 --linuxfb=no \
477 --xcb=no \
478 \
479 --libudev=no \
480 --evdev=no \
481 --libinput=no \
482 --mtdev=no \
483 --tslib=no \
484 --bundled-xcb-xinput=no \
485 --xkbcommon=yes \
486 --gif=no \
487 --ico=no \
488 --libjpeg=no \
489 --libpng=no \
490 --sql-db2=no \
491 --sql-ibase=no \
492 --sql-mysql=no \
493 --sql-oci=no \
494 --sql-odbc=no \
495 --sql-psql=no \
496 --sql-sqlite=no \
497 --sql-sqlite2=no \
498 --sql-tds=no \
499 --sqlite=no \
500 )
501 endef
502
503 define Build/InstallDev
504 $(INSTALL_DIR) \
505 $(STAGING_DIR)/host/mk
506
507 $(CP) \
508 ./files/qmake.mk \
509 $(STAGING_DIR)/host/mk/
510
511 $(call Build/Install/HostFiles,$(1))
512 $(call Build/Install/Headers,$(1))
513 $(call Build/Install/Libs,$(1),*)
514 endef
515
516 define Host/Install
517 $(call Host/Install/Default)
518
519 $(INSTALL_DIR) \
520 $(STAGING_DIR_HOST)/bin \
521 $(STAGING_DIR_HOST)/lib \
522 $(STAGING_DIR_HOST)/include \
523 $(STAGING_DIR_HOST)/share
524
525 $(CP) \
526 $(HOST_INSTALL_DIR)/lib/* \
527 $(STAGING_DIR_HOST)/lib/
528
529 $(CP) \
530 $(HOST_INSTALL_DIR)/include/* \
531 $(STAGING_DIR_HOST)/include/
532
533 $(CP) \
534 $(HOST_INSTALL_DIR)/share/* \
535 $(STAGING_DIR_HOST)/share/
536
537 $(CP) \
538 $(HOST_INSTALL_DIR)/bin/* \
539 $(STAGING_DIR_HOST)/bin/
540 endef
541
542 define Package/qt5base-concurrent/install
543 $(call Build/Install/Libs,$(1),libQt5Concurrent)
544 endef
545
546 define Package/qt5base-core/install
547 $(call Build/Install/Libs,$(1),libQt5Core)
548 endef
549
550 define Package/qt5base-gl/install
551 $(call Build/Install/Libs,$(1),libQt5OpenGL)
552 endef
553
554 define Package/qt5base-gui/install
555 $(call Build/Install/Libs,$(1),libQt5Gui)
556 endef
557
558 define Package/qt5base-network/install
559 $(call Build/Install/Libs,$(1),libQt5Network)
560 endef
561
562 define Package/qt5base-printSupport/install
563 $(call Build/Install/Libs,$(1),libQt5PrintSupport)
564 endef
565
566 define Package/qt5base-sql/install
567 $(call Build/Install/Libs,$(1),libQt5Sql)
568 endef
569
570 define Package/qt5base-test/install
571 $(call Build/Install/Libs,$(1),libQt5Test)
572 endef
573
574 define Package/qt5base-widgets/install
575 $(call Build/Install/Libs,$(1),libQt5Widgets)
576 endef
577
578 define Package/qt5base-xml/install
579 $(call Build/Install/Libs,$(1),libQt5Xml)
580 endef
581
582 define Package/qt5base-plugin-bearer-generic/install
583 $(call Build/Install/Plugins,$(1),bearer,libqgenericbearer)
584 endef
585
586 define Package/qt5base-plugin-input-libinput/install
587 $(call Build/Install/Plugins,$(1),generic,libqlibinputplugin)
588 endef
589
590 define Package/qt5base-plugin-input-evdevkeyboard/install
591 $(call Build/Install/Plugins,$(1),generic,libqevdevkeyboardplugin)
592 endef
593
594 define Package/qt5base-plugin-input-evdevmouse/install
595 $(call Build/Install/Plugins,$(1),generic,libqevdevmouseplugin)
596 endef
597
598 define Package/qt5base-plugin-input-evdevtablet/install
599 $(call Build/Install/Plugins,$(1),generic,libqevdevtabletplugin)
600 endef
601
602 define Package/qt5base-plugin-input-evdevtouch/install
603 $(call Build/Install/Plugins,$(1),generic,libqevdevtouchplugin)
604 endef
605
606 #define Package/qt5base-plugin-imageformats-gif/install
607 # $(call Build/Install/Plugins,$(1),imageformats,libqgif)
608 #endef
609
610 define Package/qt5base-plugin-imageformats-ico/install
611 $(call Build/Install/Plugins,$(1),imageformats,libqico)
612 endef
613
614 define Package/qt5base-plugin-imageformats-jpeg/install
615 $(call Build/Install/Plugins,$(1),imageformats,libqjpeg)
616 endef
617
618 #define Package/qt5base-plugin-imageformats-png/install
619 # $(call Build/Install/Plugins,$(1),imageformats,libqpng)
620 #endef
621
622 define Package/qt5base-plugin-platforms-linuxfb/install
623 $(call Build/Install/Plugins,$(1),platforms,libqlinuxfb)
624 endef
625
626 define Package/qt5base-plugin-platforms-vnc/install
627 $(call Build/Install/Plugins,$(1),platforms,libqvnc)
628 endef
629
630 #define Package/qt5base-plugin-platforms-eglfs/install
631 # $(call Build/Install/Plugins,$(1),platforms,libqeglfs)
632 #endef
633
634 #define Package/qt5base-plugin-platforms-minimalegl/install
635 # $(call Build/Install/Plugins,$(1),platforms,libqminimalegl)
636 #endef
637
638 define Package/qt5base-plugin-platforms-minimal/install
639 $(call Build/Install/Plugins,$(1),platforms,libqminimal)
640 endef
641
642 define Package/qt5base-plugin-platforms-offscreen/install
643 $(call Build/Install/Plugins,$(1),platforms,libqoffscreen)
644 endef
645
646 #define Package/qt5base-plugin-sqldrivers-sqlite/install
647 # $(call Build/Install/Plugins,$(1),sqldrivers,libqsqlite)
648 #endef
649
650 define Package/qt5base-examples/install
651 $(call Build/Install/Examples,$(1))
652 endef
653
654 # $(eval $(call BuildPackage,qt5base))
655 $(eval $(call BuildPackage,qt5base-concurrent))
656 $(eval $(call BuildPackage,qt5base-core))
657 $(eval $(call BuildPackage,qt5base-gui))
658 $(eval $(call BuildPackage,qt5base-gl))
659 $(eval $(call BuildPackage,qt5base-network))
660 $(eval $(call BuildPackage,qt5base-printSupport))
661 $(eval $(call BuildPackage,qt5base-sql))
662 $(eval $(call BuildPackage,qt5base-test))
663 $(eval $(call BuildPackage,qt5base-widgets))
664 $(eval $(call BuildPackage,qt5base-xml))
665 $(eval $(call BuildPackage,qt5base-plugin-bearer-generic))
666 $(eval $(call BuildPackage,qt5base-plugin-input-libinput))
667 $(eval $(call BuildPackage,qt5base-plugin-input-evdevkeyboard))
668 $(eval $(call BuildPackage,qt5base-plugin-input-evdevmouse))
669 $(eval $(call BuildPackage,qt5base-plugin-input-evdevtablet))
670 $(eval $(call BuildPackage,qt5base-plugin-input-evdevtouch))
671 #$(eval $(call BuildPackage,qt5base-plugin-imageformats-gif))
672 $(eval $(call BuildPackage,qt5base-plugin-imageformats-ico))
673 $(eval $(call BuildPackage,qt5base-plugin-imageformats-jpeg))
674 #$(eval $(call BuildPackage,qt5base-plugin-imageformats-png))
675 $(eval $(call BuildPackage,qt5base-plugin-platforms-linuxfb))
676 #$(eval $(call BuildPackage,qt5base-plugin-platforms-eglfs))
677 #$(eval $(call BuildPackage,qt5base-plugin-platforms-minimalegl))
678 $(eval $(call BuildPackage,qt5base-plugin-platforms-minimal))
679 $(eval $(call BuildPackage,qt5base-plugin-platforms-offscreen))
680 $(eval $(call BuildPackage,qt5base-plugin-platforms-vnc))
681 #$(eval $(call BuildPackage,qt5base-plugin-sqldrivers-sqlite))
682 $(eval $(call BuildPackage,qt5base-examples))
683 $(eval $(call HostBuild))