generic-poky/meta/recipes-sato/webkit/webkit-gtk_svn.bb

69 lines
2.5 KiB
BlitzBasic

DESCRIPTION = "WebKitGTK+ is the port of the portable web rendering engine WebKitK to 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"
DEPENDS = "enchant gnome-keyring libsoup-2.4 curl icu libxml2 cairo libxslt libxt libidn gnutls gtk+ gstreamer gst-plugins-base flex-native gperf-native perl-native-runtime sqlite3"
DEPENDS_darwin8 = "curl icu libxml2 cairo libxslt libidn gnutls gtk+ gstreamer flex-native gperf-native perl-native-runtime sqlite3"
SRCREV_FORMAT = "source"
SRCREV = "90727"
PV = "1.5.1+svnr${SRCPV}"
PR = "r0"
SRC_URI = "\
svn://svn.webkit.org/repository/webkit/trunk/;module=Source;proto=http;name=source \
svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;proto=http \
svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;proto=http \
file://Makefile \
file://Makefile.shared \
file://autogen.sh \
file://configure.ac \
file://GNUmakefile.am \
file://gtk-doc.make \
file://nodolt.patch \
"
S = "${WORKDIR}/"
inherit autotools lib_package pkgconfig
EXTRA_OECONF = "\
--enable-debug=no \
--enable-svg \
--enable-icon-database=yes \
--enable-fullscreen-api \
--enable-image-resizer \
--enable-link-prefetch \
UNICODE_CFLAGS=-D_REENTRANT \
"
EXTRA_AUTORECONF = " -I Source/autotools "
do_configure_append() {
# somethings wrong with icu, fix it up manually
for makefile in $(find ${S} -name "GNUmakefile") ; do
sed -i s:-I/usr/include::g $makefile
done
}
do_install_prepend() {
cp ${S}/Programs/.libs/jsc ${S}/Programs/jsc-1 || true
}
PACKAGES =+ "${PN}-webinspector ${PN}launcher-dbg ${PN}launcher libjavascriptcore"
FILES_${PN}launcher = "${bindir}/GtkLauncher"
FILES_${PN}launcher-dbg = "${bindir}/.debug/GtkLauncher"
FILES_libjavascriptcore = "${libdir}/libjavascriptcoregtk-1.0.so.*"
FILES_${PN}-webinspector = "${datadir}/webkitgtk-*/webinspector/"
FILES_${PN} += "${datadir}/webkit-*/resources/error.html \
${datadir}/webkitgtk-*/images \
${datadir}/glib-2.0/schemas"