diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-14 15:01:07 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-14 15:01:07 +0100 |
commit | e6d96312f5d8d78de3874233b6fa9a891d1a5a76 (patch) | |
tree | 35d054e021a9b2924e529661ac4d8f4bbcafff59 /meta/packages/mozilla-headless/mozilla-headless_hg.bb | |
parent | 59bb17f5c492e2f3e32df8e1a29b4cb8fddb4b05 (diff) | |
download | poky-e6d96312f5d8d78de3874233b6fa9a891d1a5a76.tar.gz |
mozilla-headless: Convert to hg and add mozilla-headless-services
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mozilla-headless/mozilla-headless_hg.bb')
-rw-r--r-- | meta/packages/mozilla-headless/mozilla-headless_hg.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/packages/mozilla-headless/mozilla-headless_hg.bb b/meta/packages/mozilla-headless/mozilla-headless_hg.bb new file mode 100644 index 0000000000..e3ef60b783 --- /dev/null +++ b/meta/packages/mozilla-headless/mozilla-headless_hg.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | |||
2 | SRC_URI = "hg://hg.mozilla.org/incubator;protocol=http;rev=71b4ab01cbf2;module=offscreen \ | ||
3 | file://configurefix.patch;patch=1 \ | ||
4 | file://jsautocfg.h \ | ||
5 | file://mozconfig" | ||
6 | PV = "0.0+hg-1.0+71b4ab01cbf2" | ||
7 | PR = "r0" | ||
8 | |||
9 | S = "${WORKDIR}/offscreen" | ||
10 | |||
11 | DEPENDS = "gconf gnome-vfs pango dbus-glib alsa-lib libidl-native sqlite3 libidl" | ||
12 | |||
13 | FILES_${PN} += "${libdir}/xulrunner-1.9.2a1pre" | ||
14 | FILES_${PN}-dev += "${libdir}/xulrunner-devel-1.9.2a1pre" | ||
15 | FILES_${PN}-dbg += "${libdir}/xulrunner-devel-1.9.2a1pre/sdk/lib/.debug" | ||
16 | |||
17 | inherit autotools_stage mozilla | ||
18 | |||
19 | acpaths = "-I ${S}/build/autoconf " | ||
20 | |||
21 | export topsrcdir = "${S}" | ||
22 | |||
23 | do_configure () { | ||
24 | cp ${S}/build/autoconf/install-sh ${S} | ||
25 | autotools_do_configure | ||
26 | # Yes, we run this twice. The first pass sets up npsrpub-config which then | ||
27 | # sets the values correctly on the second try. Ick. | ||
28 | autotools_do_configure | ||
29 | } | ||
30 | |||
31 | do_compile () { | ||
32 | cp ${WORKDIR}/jsautocfg.h ${S}/js/src/ | ||
33 | #oe_runmake -f client.mk build_all | ||
34 | base_do_compile | ||
35 | } | ||
36 | |||
37 | EXTRA_OECONF =+ "--enable-application=xulrunner --enable-default-toolkit=cairo-headless --enable-pango --disable-optimize --enable-debug --disable-tests --disable-printing --disable-crashreporter --disable-accessibility --disable-javaxpcom --enable-plugins --enable-system-sqlite --disable-necko-wifi" | ||
38 | |||
39 | export LIBXUL_DIST="${S}/dist" | ||
40 | |||
41 | do_stage_append () { | ||
42 | autotools_stage_dir ${STAGE_TEMP}/${libdir}/xulrunner-1.9.2a1pre ${STAGING_DIR_HOST}${layout_libdir}/xulrunner-1.9.2a1pre/ | ||
43 | autotools_stage_dir ${STAGE_TEMP}/${libdir}/xulrunner-devel-1.9.2a1pre ${STAGING_DIR_HOST}${layout_libdir}/xulrunner-devel-1.9.2a1pre/ | ||
44 | ln -fs ${STAGING_DIR_HOST}${layout_libdir}/xulrunner-1.9.2a1pre/ /media/build2/builds/poky/build1/moblin/staging/i586-poky-linux/usr/lib/xulrunner-devel-1.9.2a1pre/bin | ||
45 | ln -fs ${STAGING_DIR_HOST}${layout_datadir}/xulrunner-1.9.2a1pre/unstable/ /media/build2/builds/poky/build1/moblin/staging/i586-poky-linux/usr/lib/xulrunner-devel-1.9.2a1pre/idl | ||
46 | ln -fs ${STAGING_DIR_HOST}${layout_includedir}/xulrunner-1.9.2a1pre/unstable/ /media/build2/builds/poky/build1/moblin/staging/i586-poky-linux/usr/lib/xulrunner-devel-1.9.2a1pre/include | ||
47 | ln -fs ${STAGING_DIR_HOST}${layout_libdir}/xulrunner-devel-1.9.2a1pre/sdk/lib/ /media/build2/builds/poky/build1/moblin/staging/i586-poky-linux/usr/lib/xulrunner-devel-1.9.2a1pre/lib | ||
48 | } | ||
49 | |||