diff options
Diffstat (limited to 'meta/packages/mozilla')
-rw-r--r-- | meta/packages/mozilla/minimo_cvs.bb | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/packages/mozilla/minimo_cvs.bb b/meta/packages/mozilla/minimo_cvs.bb deleted file mode 100644 index 26cc4ed8df..0000000000 --- a/meta/packages/mozilla/minimo_cvs.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | DESCRIPTION = "A minimal version of the Mozilla web browser" | ||
2 | HOMEPAGE="http://www.mozilla.org/projects/minimo/" | ||
3 | SRC_URI = "cvs://anonymous@cvs-mirror.mozilla.org/cvsroot;module=mozilla \ | ||
4 | file://xptcstubs.patch;patch=1 \ | ||
5 | file://no-xmb.patch;patch=1 \ | ||
6 | file://host_ldflags_fix.patch;patch=1 \ | ||
7 | file://minimo.png file://minimo.desktop" | ||
8 | S = "${WORKDIR}/mozilla" | ||
9 | SECTION = "x11" | ||
10 | PRIORITY = "optional" | ||
11 | PV = "0.0+cvs${SRCDATE}" | ||
12 | FILES_${PN} += "${libdir}/mozilla-minimo" | ||
13 | PR = "r8" | ||
14 | LICENSE = "MPL/LGPL/GPL" | ||
15 | |||
16 | inherit mozilla | ||
17 | |||
18 | EXTRA_OECONF += "--enable-application=suite --disable-native-uconv" | ||
19 | export MOZ_CO_PROJECT="suite" | ||
20 | |||
21 | export MINIMO=1 | ||
22 | export MOZ_OBJDIR="${WORKDIR}/build-${TARGET_SYS}" | ||
23 | |||
24 | require mozilla-cvs.inc | ||
25 | |||
26 | do_compile () { | ||
27 | mozilla_do_compile | ||
28 | cd $MOZ_OBJDIR/embedding/minimo | ||
29 | oe_runmake | ||
30 | } | ||
31 | |||
32 | mozdir="${D}${libdir}/mozilla-minimo" | ||
33 | |||
34 | do_install () { | ||
35 | cd ${S}/embedding/minimo/ | ||
36 | sh ./package.sh | ||
37 | cd ${S} | ||
38 | mkdir -p ${mozdir} | ||
39 | cp -rL $MOZ_OBJDIR/dist/Embed/* ${mozdir}/ | ||
40 | rm -f ${mozdir}/TestGtkEmbed | ||
41 | mkdir -p ${D}${datadir}/applications | ||
42 | install -m 0644 ${WORKDIR}/minimo.desktop ${D}${datadir}/applications/minimo.desktop | ||
43 | mkdir -p ${D}${datadir}/pixmaps | ||
44 | install -m 0644 ${WORKDIR}/minimo.png ${D}${datadir}/pixmaps/minimo.png | ||
45 | mkdir -p ${D}${bindir} | ||
46 | echo "#!/bin/sh" > ${D}${bindir}/minimo | ||
47 | cat >>${D}${bindir}/minimo << EOF | ||
48 | cd ${libdir}/mozilla-minimo | ||
49 | export LD_LIBRARY_PATH=${libdir}/mozilla-minimo | ||
50 | exec ./Minimo http://www.mozilla.org/projects/minimo/home.html | ||
51 | EOF | ||
52 | chmod 755 ${D}${bindir}/minimo | ||
53 | } | ||