libconnman-qt: add qt5 variant
[opendreambox.git] / meta-opendreambox / recipes-qt / qt4 / qt4-embedded_4.8.5.bbappend
1 DEPENDS := "${@oe_filter_out('^(gstreamer|gst-plugins-base)$', '${DEPENDS}', d)}"
2
3 SRC_URI += "file://0001-Qt-remove-x11-from-npapi-while-keeping-some-basic-fu.patch \
4             file://0002-Qt-Add-HbbTv-MIME-types.patch \
5             file://0003-Qt-Expose-Webkits-WebSecurityEnabled-settings-via-QW.patch \
6             file://0004-QtWebkit-Expose-keypress-event-and-correct-keycode-f.patch \
7             file://0005-WebKit-small-hack-to-disable-use-of-WebkitWebSourceG.patch \
8             file://0006-QtWebKit-disable-video-to-get-rid-of-gstreamer-depen.patch"
9
10 FILESEXTRAPATHS_prepend := "${THISDIR}/qt4-${PV}:"
11
12 QT_CONFIG_FLAGS += "-nomake demos -nomake docs -nomake examples"
13 QT_SQL_DRIVER_FLAGS = "-no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite2 -plugin-sql-sqlite -system-sqlite"
14 QT_QT3SUPPORT = "-no-qt3support"
15 QT_WEBKIT = "-webkit"
16 QT_PHONON = "-no-gstreamer -no-phonon"
17
18 QT_GLIB_FLAGS = "-no-glib"
19 QT_IMAGEFORMAT_FLAGS += "-no-libmng"
20 QT_DECORATION_FLAGS = "-plugin-decoration-default -plugin-decoration-styled -plugin-decoration-windows"
21 QT_GFX_DRIVER_FLAGS = "-plugin-gfx-directfb -plugin-gfx-linuxfb -no-gfx-multiscreen -no-gfx-qvfb -no-gfx-transformed -no-gfx-vnc"
22 QT_KBD_DRIVER_FLAGS = "-plugin-kbd-linuxinput -no-kbd-tty -no-kbd-qvfb"
23 QT_MOUSE_DRIVER_FLAGS = "-qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -no-mouse-qvfb -plugin-mouse-tslib"
24
25 QT_EMBEDDED_EXTRA_FLAGS = " \
26         ${QT_GLIB_FLAGS} \
27         ${QT_IMAGEFORMAT_FLAGS} \
28         ${QT_DECORATION_FLAGS} \
29         ${QT_GFX_DRIVER_FLAGS} \
30         ${QT_KBD_DRIVER_FLAGS} \
31         ${QT_MOUSE_DRIVER_FLAGS} \
32 "
33
34 SQUASHFS_IMG_PACKAGES = "${PN}-core-sqsh-img:${PN}-webkit-sqsh-img"
35 SQUASHFS_IMG_REPLACES = "libqt-embeddedcore4 libqt-embeddedgui4 libqt-embeddednetwork4:libqt-embeddedwebkit4 \
36         libqt-embeddedsvg4 qt4-embedded-plugin-imageformat-gif \
37         qt4-embedded-plugin-imageformat-ico qt4-embedded-plugin-imageformat-jpeg qt4-embedded-plugin-imageformat-svg \
38         qt4-embedded-plugin-imageformat-tiff"
39 SQUASHFS_IMG_BLOCKSIZES = "262144:524288"
40 inherit squashfs-img