diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebkit_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtwebkit_git.bb | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb deleted file mode 100644 index 942e733a..00000000 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ /dev/null | |||
| @@ -1,89 +0,0 @@ | |||
| 1 | require qt5.inc | ||
| 2 | require qt5-git.inc | ||
| 3 | |||
| 4 | LICENSE = "BSD & LGPLv2+ | GPL-2.0" | ||
| 5 | LIC_FILES_CHKSUM = " \ | ||
| 6 | file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ | ||
| 7 | file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee \ | ||
| 8 | " | ||
| 9 | |||
| 10 | DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-native bison-native flex-native" | ||
| 11 | |||
| 12 | # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.13 | ||
| 13 | # 5.13.meta-qt5.1 | ||
| 14 | SRC_URI += "\ | ||
| 15 | file://0001-Do-not-skip-build-for-cross-compile.patch \ | ||
| 16 | file://0002-Fix-build-with-non-glibc-libc-on-musl.patch \ | ||
| 17 | file://0003-Fix-build-bug-for-armv32-BE.patch \ | ||
| 18 | file://0004-PlatformQt.cmake-Do-not-generate-hardcoded-include-p.patch \ | ||
| 19 | " | ||
| 20 | |||
| 21 | inherit cmake_qt5 perlnative | ||
| 22 | |||
| 23 | inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative", "", d)} | ||
| 24 | |||
| 25 | python() { | ||
| 26 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
| 27 | raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') | ||
| 28 | } | ||
| 29 | |||
| 30 | # qemuarm build fails with: | ||
| 31 | # | {standard input}: Assembler messages: | ||
| 32 | # | {standard input}:106: Error: invalid immediate: 983040 is out of range | ||
| 33 | # | {standard input}:106: Error: value of 983040 too large for field of 2 bytes at 146 | ||
| 34 | ARM_INSTRUCTION_SET_armv4 = "arm" | ||
| 35 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
| 36 | |||
| 37 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474 | ||
| 38 | # https://bugs.webkit.org/show_bug.cgi?id=159880 | ||
| 39 | # JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime. | ||
| 40 | # Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb). | ||
| 41 | ARM_INSTRUCTION_SET_armv7a = "thumb" | ||
| 42 | ARM_INSTRUCTION_SET_armv7r = "thumb" | ||
| 43 | ARM_INSTRUCTION_SET_armv7ve = "thumb" | ||
| 44 | |||
| 45 | # http://errors.yoctoproject.org/Errors/Details/179245/ | ||
| 46 | # just use -fpermissive in this case like fedora did: | ||
| 47 | # https://bugzilla.redhat.com/show_bug.cgi?id=1582954 | ||
| 48 | CXXFLAGS += "-fpermissive" | ||
| 49 | |||
| 50 | EXTRA_OECMAKE += " \ | ||
| 51 | -DPORT=Qt \ | ||
| 52 | -DCROSS_COMPILE=ON \ | ||
| 53 | -DECM_MKSPECS_INSTALL_DIR=${libdir}${QT_DIR_NAME}/mkspecs/modules \ | ||
| 54 | -DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML} \ | ||
| 55 | " | ||
| 56 | |||
| 57 | EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}'" | ||
| 58 | |||
| 59 | # JIT not supported on MIPS/PPC | ||
| 60 | EXTRA_OECMAKE_append_mipsarch = " -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON " | ||
| 61 | EXTRA_OECMAKE_append_powerpc = " -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON " | ||
| 62 | # Disable gold on mips64/clang | ||
| 63 | # mips64-yoe-linux-musl-ld.gold: internal error in get_got_page_offset, at ../../gold/mips.cc:6260 | ||
| 64 | # mips-yoe-linux-musl-ld.gold: error: Can't find matching LO16 reloc | ||
| 65 | EXTRA_OECMAKE_append_toolchain-clang_mipsarch = " -DUSE_LD_GOLD=OFF " | ||
| 66 | |||
| 67 | PACKAGECONFIG ??= "qtlocation qtmultimedia qtsensors qtwebchannel \ | ||
| 68 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | ||
| 69 | fontconfig \ | ||
| 70 | " | ||
| 71 | |||
| 72 | # gstreamer conflicts with qtmultimedia! | ||
| 73 | PACKAGECONFIG[gstreamer] = "-DUSE_GSTREAMER=ON,-DUSE_GSTREAMER=OFF,gstreamer1.0 gstreamer1.0-plugins-base" | ||
| 74 | PACKAGECONFIG[qtlocation] = "-DENABLE_GEOLOCATION=ON,-DENABLE_GEOLOCATION=OFF,qtlocation" | ||
| 75 | PACKAGECONFIG[qtmultimedia] = "-DUSE_QT_MULTIMEDIA=ON,-DUSE_QT_MULTIMEDIA=OFF,qtmultimedia" | ||
| 76 | PACKAGECONFIG[qtsensors] = "-DENABLE_DEVICE_ORIENTATION=ON,-DENABLE_DEVICE_ORIENTATION=OFF,qtsensors" | ||
| 77 | PACKAGECONFIG[qtwebchannel] = "-DENABLE_QT_WEBCHANNEL=ON,-DENABLE_QT_WEBCHANNEL=OFF,qtwebchannel" | ||
| 78 | PACKAGECONFIG[libwebp] = ",,libwebp" | ||
| 79 | PACKAGECONFIG[x11] = "-DENABLE_X11_TARGET=ON,-DENABLE_X11_TARGET=OFF,libxcomposite libxrender" | ||
| 80 | PACKAGECONFIG[fontconfig] = "-DENABLE_TEST_SUPPORT=ON,-DENABLE_TEST_SUPPORT=OFF,fontconfig" | ||
| 81 | # hyphen is only in meta-office currently! | ||
| 82 | PACKAGECONFIG[hyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,hyphen" | ||
| 83 | |||
| 84 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe | ||
| 85 | PACKAGES_remove = "${PN}-examples" | ||
| 86 | |||
| 87 | QT_MODULE_BRANCH = "dev" | ||
| 88 | |||
| 89 | SRCREV = "ab1bd15209abaf7effc51dbc2f272c5681af7223" | ||
