From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../files/mini-browser-desktop-fix.patch | 16 +++++++ .../gpe-mini-browser-hildon_0.15.bb | 51 ++++++++++++++++++++ .../gpe-mini-browser-hildon_0.16.bb | 52 +++++++++++++++++++++ .../gpe-mini-browser-hildon_0.17.bb | 22 +++++++++ recipes/gpe-mini-browser/gpe-mini-browser.inc | 2 + recipes/gpe-mini-browser/gpe-mini-browser2_svn.bb | 23 +++++++++ recipes/gpe-mini-browser/gpe-mini-browser_0.15.bb | 52 +++++++++++++++++++++ recipes/gpe-mini-browser/gpe-mini-browser_0.16.bb | 52 +++++++++++++++++++++ recipes/gpe-mini-browser/gpe-mini-browser_0.17.bb | 51 ++++++++++++++++++++ recipes/gpe-mini-browser/gpe-mini-browser_0.18.bb | 51 ++++++++++++++++++++ recipes/gpe-mini-browser/gpe-mini-browser_0.19.bb | 52 +++++++++++++++++++++ recipes/gpe-mini-browser/gpe-mini-browser_0.20.bb | 52 +++++++++++++++++++++ recipes/gpe-mini-browser/gpe-mini-browser_0.21.bb | 54 ++++++++++++++++++++++ recipes/gpe-mini-browser/gpe-mini-browser_svn.bb | 53 +++++++++++++++++++++ 14 files changed, 583 insertions(+) create mode 100644 recipes/gpe-mini-browser/files/mini-browser-desktop-fix.patch create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.15.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.16.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.17.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser.inc create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser2_svn.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_0.15.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_0.16.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_0.17.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_0.18.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_0.19.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_0.20.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_0.21.bb create mode 100644 recipes/gpe-mini-browser/gpe-mini-browser_svn.bb (limited to 'recipes/gpe-mini-browser') diff --git a/recipes/gpe-mini-browser/files/mini-browser-desktop-fix.patch b/recipes/gpe-mini-browser/files/mini-browser-desktop-fix.patch new file mode 100644 index 0000000000..4912abb23b --- /dev/null +++ b/recipes/gpe-mini-browser/files/mini-browser-desktop-fix.patch @@ -0,0 +1,16 @@ +--- gpe-mini-browser-0.21.old/gpe-mini-browser-0.21//gpe-mini-browser.desktop.in.in 2007-01-09 14:53:31.000000000 +0200 ++++ gpe-mini-browser-0.21/gpe-mini-browser.desktop.in.in 2007-12-11 20:45:04.749584640 +0200 +@@ -2,9 +2,8 @@ + _Name=Mini Web Browser + _Comment=Browse the web + Exec=gpe-mini-browser +-Terminal=0 ++Terminal=false + Type=Application +-Icon=gpe-mini-browser.png +-Categories=Application;PIM;GPE +-StartupNotify=True +- ++Icon=gpe-mini-browser ++Categories=X-GPE;X-PIM;X-Internet;X-Browser; ++StartupNotify=true diff --git a/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.15.bb b/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.15.bb new file mode 100644 index 0000000000..6f1ba31274 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.15.bb @@ -0,0 +1,51 @@ +require gpe-mini-browser.inc + +PR = "r0" + +SRC_URI = "${GPE_MIRROR}/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit libosso hildon-lgpl hildon-fm libgpewidget" +EXTRA_OECONF = "--enable-hildon" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications/hildon + install -m 0644 ${S}/hildon/gpe-mini-browser.desktop ${D}/usr/share/applications/hildon/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} diff --git a/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.16.bb b/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.16.bb new file mode 100644 index 0000000000..5f3d1f4d1b --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.16.bb @@ -0,0 +1,52 @@ +require gpe-mini-browser.inc + +PR = "r0" + +SRC_URI = "${GPE_MIRROR}/gpe-mini-browser-${PV}.tar.gz" +DESCRIPTION = "A lightweight webbrowser for the GPE platform (Hildon UI)" +DEPENDS = "osb-nrcit libosso hildon-lgpl hildon-fm libgpewidget" +EXTRA_OECONF = "--enable-hildon" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications/hildon + install -m 0644 ${S}/hildon/gpe-mini-browser.desktop ${D}/usr/share/applications/hildon/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} diff --git a/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.17.bb b/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.17.bb new file mode 100644 index 0000000000..3069730fbb --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser-hildon_0.17.bb @@ -0,0 +1,22 @@ +require gpe-mini-browser.inc + +PR = "r0" + +SRC_URI = "${GPE_MIRROR}/gpe-mini-browser-${PV}.tar.gz" +DESCRIPTION = "A lightweight webbrowser for the GPE platform (Hildon UI)" +DEPENDS = "osb-nrcit libosso hildon-lgpl hildon-fm libgpewidget" +EXTRA_OECONF = "--enable-hildon" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications/hildon + install -m 0644 ${S}/hildon/gpe-mini-browser.desktop ${D}/usr/share/applications/hildon/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + + diff --git a/recipes/gpe-mini-browser/gpe-mini-browser.inc b/recipes/gpe-mini-browser/gpe-mini-browser.inc new file mode 100644 index 0000000000..733654bebc --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser.inc @@ -0,0 +1,2 @@ +DESCRIPTION = "A lightweight webbrowser for the GPE platform" +LICENSE = "GPL" diff --git a/recipes/gpe-mini-browser/gpe-mini-browser2_svn.bb b/recipes/gpe-mini-browser/gpe-mini-browser2_svn.bb new file mode 100644 index 0000000000..ae3a32c8f5 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser2_svn.bb @@ -0,0 +1,23 @@ +DEPENDS = "gtk+ glib-2.0 libgpewidget webkit-gtk" +PV = "0.0.1+svnr${SRCREV}" +PR = "r0" + +SRCREV = "9819" + +inherit autotools + +SRC_URI = "${GPE_EXTRA_SVN}" + +S = "${WORKDIR}/gpe-mini-browser2" + +do_install() { + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser2.desktop ${D}/usr/share/applications/gpe-mini-browser2.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser2.png ${D}/usr/share/pixmaps/gpe-mini-browser2.png + autotools_do_install +} + +require gpe-mini-browser.inc + +#DEFAULT_PREFERENCE = "-1" diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_0.15.bb b/recipes/gpe-mini-browser/gpe-mini-browser_0.15.bb new file mode 100644 index 0000000000..06e910af53 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_0.15.bb @@ -0,0 +1,52 @@ +require gpe-mini-browser.inc + +PR = "r1" + +SRC_URI = "ftp://ftp.handhelds.org/projects/gpe/source/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit libgpewidget" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + # install -d ${D}${docdir}/gpe + # install -m 0644 ${S}/gpe-mini-browser.html ${D}${docdir}/gpe/ + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_0.16.bb b/recipes/gpe-mini-browser/gpe-mini-browser_0.16.bb new file mode 100644 index 0000000000..35cca41d18 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_0.16.bb @@ -0,0 +1,52 @@ +require gpe-mini-browser.inc + +PR = "r1" + +SRC_URI = "ftp://ftp.handhelds.org/projects/gpe/source/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit sqlite libgpewidget" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + # install -d ${D}${docdir}/gpe + # install -m 0644 ${S}/gpe-mini-browser.html ${D}${docdir}/gpe/ + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_0.17.bb b/recipes/gpe-mini-browser/gpe-mini-browser_0.17.bb new file mode 100644 index 0000000000..b8146edbb8 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_0.17.bb @@ -0,0 +1,51 @@ +require gpe-mini-browser.inc + +SRC_URI = "ftp://ftp.handhelds.org/projects/gpe/source/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit sqlite libgpewidget" +RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg" + + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} + diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_0.18.bb b/recipes/gpe-mini-browser/gpe-mini-browser_0.18.bb new file mode 100644 index 0000000000..b8146edbb8 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_0.18.bb @@ -0,0 +1,51 @@ +require gpe-mini-browser.inc + +SRC_URI = "ftp://ftp.handhelds.org/projects/gpe/source/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit sqlite libgpewidget" +RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg" + + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} + diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_0.19.bb b/recipes/gpe-mini-browser/gpe-mini-browser_0.19.bb new file mode 100644 index 0000000000..74c31e09f3 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_0.19.bb @@ -0,0 +1,52 @@ +require gpe-mini-browser.inc + +SRC_URI = "http://gpe.linuxtogo.org/download/source/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit sqlite libgpewidget" +RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg" + +PR = "r1" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} + diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_0.20.bb b/recipes/gpe-mini-browser/gpe-mini-browser_0.20.bb new file mode 100644 index 0000000000..74c31e09f3 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_0.20.bb @@ -0,0 +1,52 @@ +require gpe-mini-browser.inc + +SRC_URI = "http://gpe.linuxtogo.org/download/source/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit sqlite libgpewidget" +RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg" + +PR = "r1" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} + diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_0.21.bb b/recipes/gpe-mini-browser/gpe-mini-browser_0.21.bb new file mode 100644 index 0000000000..2a9249818b --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_0.21.bb @@ -0,0 +1,54 @@ +require gpe-mini-browser.inc + +SRC_URI = "http://gpe.linuxtogo.org/download/source/gpe-mini-browser-${PV}.tar.gz" +DEPENDS = "osb-nrcit sqlite libgpewidget" +RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg" + +PR = "r1" + +SRC_URI += "file://mini-browser-desktop-fix.patch;patch=0" + +S = "${WORKDIR}/gpe-mini-browser-${PV}" + +inherit autotools + +do_install() { + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} + +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} + diff --git a/recipes/gpe-mini-browser/gpe-mini-browser_svn.bb b/recipes/gpe-mini-browser/gpe-mini-browser_svn.bb new file mode 100644 index 0000000000..30d9d83a49 --- /dev/null +++ b/recipes/gpe-mini-browser/gpe-mini-browser_svn.bb @@ -0,0 +1,53 @@ +DEPENDS = "sqlite gettext gtk+ glib-2.0 osb-nrcit libgpewidget" +RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg" +PV = "0.20+svn${SRCDATE}" +PR = "r0" + +inherit autotools + +SRC_URI = "${GPE_EXTRA_SVN}" + +S = "${WORKDIR}/gpe-mini-browser" + +do_install() { + install -d ${D}/usr/share/applications + install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop + install -d ${D}/usr/share/pixmaps + install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png + autotools_do_install +} + +pkg_postinst_${PN}-doc () { + #!/bin/sh + if [ "x$D" != "x" ]; then + if [ -e /etc/gpe/gpe-help.conf ]; then + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + else + echo [Help] >> /etc/gpe/gpe-help.conf + echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi + fi +} +pkg_postrm_${PN}-doc () { + #!/bin/sh + if [ -e /etc/gpe/gpe-help.conf ]; then + sed '/^\/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf + mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf + fi + if [ -x /usr/bin/gpe-helpindex ]; then + echo generating help-index + gpe-helpindex + else + echo not generating index for gpe-mini-browser + fi +} + +require gpe-mini-browser.inc + +#DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3