Solo4K Support.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-webkit / webkit / webkit-gtk_git.bb
diff --git a/meta-openvuplus/recipes-webkit/webkit/webkit-gtk_git.bb b/meta-openvuplus/recipes-webkit/webkit/webkit-gtk_git.bb
new file mode 100644 (file)
index 0000000..690cba5
--- /dev/null
@@ -0,0 +1,84 @@
+SUMMARY = "WebKit web rendering engine for the GTK+ platform"
+HOMEPAGE = "http://www.webkitgtk.org/"
+BUGTRACKER = "http://bugs.webkit.org/"
+
+LICENSE = "BSD & LGPLv2+"
+LIC_FILES_CHKSUM = "\
+       file://Source/WebCore/rendering/RenderApplet.h;endline=22;md5=fb9694013ad71b78f8913af7a5959680 \
+       file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
+       file://Source/JavaScriptCore/parser/Parser.h;endline=23;md5=2f3cff0ad0a9c486da5a376928973a90 \
+       "
+
+ICU_LIB = "icu"
+
+DEPENDS = "zlib enchant libsoup-2.4 curl libxml2 cairo libidn gnutls geoclue \
+           gtk+ gstreamer1.0 gstreamer1.0-plugins-base flex-native gperf-native perl-native-runtime sqlite3 ${ICU_LIB}"
+
+PR = "r3"
+PV = "r95199"
+
+BRANCH="vuplus-webkit"
+SRCREV="66de070e17c185bbf388688ceb7084b503f743a2"
+
+SRC_URI = "git://code.vuplus.com:/git/webkit-r95199-base.git;protocol=http;branch=${BRANCH};rev=${SRCREV}"
+
+inherit autotools lib_package gtk-doc pkgconfig
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF = "\
+       --enable-debug=no \
+       --with-gtk=2.0 \
+       --disable-spellcheck \
+       --enable-optimizations \
+       --disable-channel-messaging \
+       --disable-meter-tag \
+       --enable-image-resizer \
+       --disable-sandbox \
+       --disable-xpath \
+       --disable-xslt \
+       --disable-svg \
+       --disable-filters \
+       --disable-svg-fonts \
+       --disable-video \
+       --disable-video-track \
+       --with-target=directfb \
+       --disable-jit \
+       --enable-fast-malloc \
+       --enable-shared-workers \
+       --enable-workers \
+       --enable-javascript-debugger \
+       --enable-fast-mobile-scrolling \
+       --enable-offline-web-applications \
+       "
+
+LDFLAGS += "-Wl,--no-keep-memory"
+
+EXTRA_AUTORECONF = " -I Source/autotools "
+
+ARM_INSTRUCTION_SET = "arm"
+
+COMPATIBLE_HOST_mips64n32 = "null"
+
+CONFIGUREOPT_DEPTRACK = ""
+
+do_configure_append() {
+       # somethings wrong with icu, fix it up manually
+       for makefile in $(find ${B} -name "GNUmakefile") ; do
+               sed -i s:-I/usr/include::g $makefile
+       done
+}
+
+do_install_append() {
+        rmdir ${D}${libexecdir}
+        install -d ${D}/usr/bin
+        install -m 0755 ${WORKDIR}/build/Programs/GtkLauncher ${D}/usr/bin/webkit.launcher
+}
+
+PACKAGES =+ "${PN}-webinspector bjavascriptcore"
+FILES_libjavascriptcore = "${libdir}/libjavascriptcoregtk-1.0.so.*"
+FILES_${PN}-webinspector = "${datadir}/webkitgtk-*/webinspector/"
+FILES_${PN} += "${datadir}/webkitgtk-*/resources/error.html \
+                ${datadir}/webkitgtk-*/images \
+                ${datadir}/glib-2.0/schemas"
+