diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2009-12-08 10:37:28 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2009-12-08 10:37:55 +0100 |
commit | 298787c63e0c67d13d7e24de380eb6765b4f9dee (patch) | |
tree | 8190e00062ebda8d9d6c1dd97d2dde6a3120adee /recipes | |
parent | 408c47697d1dae0c6d8ec052e706f63a60347592 (diff) |
e-tasks: bump srcrev, update recipe from c_c, fix docs dir
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/e17/e-tasks_svn.bb | 27 | ||||
-rw-r--r-- | recipes/shr/shr-launcher_svn.bb | 3 |
2 files changed, 26 insertions, 4 deletions
diff --git a/recipes/e17/e-tasks_svn.bb b/recipes/e17/e-tasks_svn.bb index 4f27744717..081a47d40b 100644 --- a/recipes/e17/e-tasks_svn.bb +++ b/recipes/e17/e-tasks_svn.bb @@ -1,9 +1,11 @@ -DESCRIPTION = "tasks app for openmoko phones based on elementary" +DESCRIPTION = "e-tasks is a todo program for Openmoko phones" HOMEPAGE = "http://code.google.com/p/e-tasks/" AUTHOR = "cchandel" LICENSE = "GPLv2" SECTION = "e/apps" -#DEPENDS = "elementary eina edbus" +DEPENDS = "elementary eina edbus sqlite3" + +inherit autotools PV = "0.0.1+svnr${SRCPV}" PR = "r0" @@ -11,5 +13,24 @@ PR = "r0" SRC_URI = "svn://e-tasks.googlecode.com/svn/trunk;module=.;proto=http" S = "${WORKDIR}" -inherit autotools +do_configure_prepend() { + rm -f ${S}/config.log + rm -f ${S}/config.status + sed -i "s#tasksdocdir = \$.prefix./doc/tasks#tasksdocdir = \$(datadir)/doc/e-tasks#g" ${S}/Makefile.am + sed -i "s#gladedir = \$(datadir)/tasks/glade#gladedir = \$(datadir)/e-tasks/glade#g" ${S}/src/Makefile.am +} + +do_install_append() { + install -d "${D}/${datadir}/pixmaps" + install -m 0644 "${S}/resources/e-tasks.png" "${D}/${datadir}/pixmaps" + install -d "${D}/${datadir}/applications" + install -m 0644 "${S}/resources/e-tasks.desktop" "${D}/${datadir}/applications" + install -d "${D}/${datadir}/e-tasks" + for ico in "${S}/resources/"*.png; do + if [ "$(basename $ico)" != "e-tasks.png" ]; then + install -m 0644 $ico "${D}/${datadir}/e-tasks" + fi + done +} +FILES_${PN} += "/usr/share/e-tasks/* /usr/share/applications/* /usr/share/pixmaps/*" diff --git a/recipes/shr/shr-launcher_svn.bb b/recipes/shr/shr-launcher_svn.bb index 9d9f40d672..84e53990a3 100644 --- a/recipes/shr/shr-launcher_svn.bb +++ b/recipes/shr/shr-launcher_svn.bb @@ -6,13 +6,14 @@ SECTION = "e/apps" DEPENDS = "elementary eina edbus" PV = "0.0.1+svnr${SRCPV}" -PR = "r2" +PR = "r3" SRC_URI = "svn://shr-launcher.googlecode.com/svn/trunk;module=.;proto=http" do_configure_prepend() { rm -f ${S}/config.log rm -f ${S}/config.status + sed -i "s#launcherdocdir = \$.prefix./doc/launcher#launcherdocdir = \$(datadir)/doc/shr-launcher#g" ${S}/Makefile.am } S = "${WORKDIR}" |