summaryrefslogtreecommitdiffstats
path: root/meta/packages/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/mozilla')
-rw-r--r--meta/packages/mozilla/minimo_cvs.bb53
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 @@
1DESCRIPTION = "A minimal version of the Mozilla web browser"
2HOMEPAGE="http://www.mozilla.org/projects/minimo/"
3SRC_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"
8S = "${WORKDIR}/mozilla"
9SECTION = "x11"
10PRIORITY = "optional"
11PV = "0.0+cvs${SRCDATE}"
12FILES_${PN} += "${libdir}/mozilla-minimo"
13PR = "r8"
14LICENSE = "MPL/LGPL/GPL"
15
16inherit mozilla
17
18EXTRA_OECONF += "--enable-application=suite --disable-native-uconv"
19export MOZ_CO_PROJECT="suite"
20
21export MINIMO=1
22export MOZ_OBJDIR="${WORKDIR}/build-${TARGET_SYS}"
23
24require mozilla-cvs.inc
25
26do_compile () {
27 mozilla_do_compile
28 cd $MOZ_OBJDIR/embedding/minimo
29 oe_runmake
30}
31
32mozdir="${D}${libdir}/mozilla-minimo"
33
34do_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
48cd ${libdir}/mozilla-minimo
49export LD_LIBRARY_PATH=${libdir}/mozilla-minimo
50exec ./Minimo http://www.mozilla.org/projects/minimo/home.html
51EOF
52 chmod 755 ${D}${bindir}/minimo
53}