matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / qt4 / qt-4.6.0.inc
blobd1614164992926617bb934045082c4c7515a263c
1 DEFAULT_PREFERENCE = "-1"
3 FILESPATHPKG .= ":qt-${PV}"
5 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
6            file://0001-cross-compile.patch \
7            file://0002-fix-resinit-declaration.patch \
8            file://0004-no-qmake.patch \
9            file://0006-freetype-host-includes.patch \
10            file://0008-qt-lib-infix.patch \
11            file://0009-support-2bpp.patch \
12            file://0010-no-simpledecoration-example.patch \
13            file://fix-config-tests.patch \
14            file://g++.conf \
15            file://linux.conf \
16            "
18 # Patches for '4.6' qt branch
19 SRC_URI += "\
20            file://0860-Added-caching-of-vectorpaths-to-the-GL-paint-engine.patch \
21            file://0917-Better-check-for-EGL-extension-strings.patch \
22            file://0919-Rebind-window-surface-fbo-after-native-GL-rendering.patch \
23            file://0943-Fixed-OpenGL-graphicssystem-issues-for-OpenGL-ES-2.0.patch \
24            file://0945-Add-EGL_BUFFER_SIZE-to-QEglProperties-reduceConfigur.patch \
25            file://0946-Fix-WA_TranslucentBackground-for-QGLWidgets-on-X11-E.patch \
26            file://0947-Compressed-texture-binding-for-QtOpenGL-ETC1-and-PVR.patch \
27            file://0951-Detect-GL2-paint-engine-based-on-fragment-shaders-no.patch \
28            file://0971-Fix-GL_BGRA-formats-under-OpenGL-ES-systems.patch \
29            file://0991-QGtkStyle-support-for-the-inner-border-property-in-G.patch \
30            file://0992-Make-sure-a-context-is-current-when-loading-compress.patch \
31            file://0993-Fix-upside-down-PVR-compressed-textures.patch \
32            file://0996-Export-QGLShareRegister-because-qgl_share_reg-is-exp.patch \
33            file://0998-Set-stacking-class-for-stays-on-top-windows-in-DFB.patch \
34            file://0999-Enable-customizing-of-DirectFB-layer-to-use.patch \
35            file://1008-GLES-2-should-not-use-a-multisampled-format-by-defau.patch \
36            file://1115-Fix-QGLWidgets-created-with-an-alpha-channel-on-X11-.patch \
37            file://1118-Fix-EGL-surface-leaks-when-re-parenting-QGLWidget-on.patch \
38            file://1136-Disable-depth-testing-during-the-2D-QGLWidget-render.patch \
39            file://1149-GL2Engine-Don-t-mark-brush-as-dirty-if-it-hasn-t-cha.patch \
40            file://1157-Align-GL_RGB-lines-on-a-4-byte-boundary-when-uploadi.patch \
41 #           file://1165-NEON-configure-detection-and-initial-blend-function-.patch \
42            file://1175-Fix-memory-leak-of-QGLGlyphCoord-objects-in-the-Open.patch \
43            file://1197-Add-GLfloat-2-2-GLfloat-3-3-uniform-setters-to-QGLSh.patch \
44            file://1198-Handle-broken-shaders-better-in-the-GL2-engine-s-sha.patch \
45            file://1205-Fix-text-rendering-on-GL2-paint-engine.patch \
48 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
50 do_configure_prepend() {
51     sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
52     sed -i \
53     -e /QMAKE_MOC\ /d \
54     -e /QMAKE_UIC\ /d \
55     -e /QMAKE_UIC3\ /d \
56     -e /QMAKE_RCC\ /d \
57     ${S}/configure
60 QT_GLFLAGS ?= ""
61 QT_CONFIG_FLAGS += "${QT_GLFLAGS}"
63 do_compile() {
64     unset CFLAGS CXXFLAGS
65     oe_runmake ${EXTRA_ENV}
68 do_install_append() {
69         install -d ${D}${bindir}
70         for i in rcc uic moc ; do
71                 install -m 0755 ${S}/bin/$i ${D}${bindir}/
72         done
75 LICENSE = "LGPLv2.1 GPLv3"
76 SRC_URI += " \
77             file://hack-out-pg_config.patch"
79 SRC_URI[md5sum] = "2a7b5126f2450d8525af355fc4c12ad6"
80 SRC_URI[sha256sum] = "55259c813324f6383cbd441aa2f23e01c320b6d63fbe3b5d52a7715055d28589"