diff options
author | Pau Espin Pedrol <pespin.shar@gmail.com> | 2010-10-28 00:07:40 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-10-28 14:52:58 +0200 |
commit | dab2169ee87382f18e9a59fbb4ffd165b820be2a (patch) | |
tree | 93570846352eaebbbeda8fe4e3f936a26271f7be /recipes/e17 | |
parent | 389115f89ac843a10d2776539e0b78fa04de762e (diff) | |
download | openembedded-dab2169ee87382f18e9a59fbb4ffd165b820be2a.tar.gz |
e-wm: add subpackage with optional EFM desktop icon
* you have to enable efm module in e-wm settings
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/e17')
-rw-r--r-- | recipes/e17/e-wm_svn.bb | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/recipes/e17/e-wm_svn.bb b/recipes/e17/e-wm_svn.bb index 49a5e7cb4f..397272d35f 100644 --- a/recipes/e17/e-wm_svn.bb +++ b/recipes/e17/e-wm_svn.bb @@ -3,7 +3,7 @@ DEPENDS = "eet evas ecore edje efreet edbus eeze" LICENSE = "MIT BSD" SRCNAME = "e" PV = "0.16.999.060+svnr${SRCPV}" -PR = "r17" +PR = "r18" SRCREV = "${EFL_SRCREV}" inherit e update-alternatives @@ -39,6 +39,17 @@ do_configure_prepend() { do_install_append() { # customising - should rather make this simple upstream install -m 755 ${WORKDIR}/enlightenment_start.oe ${D}/${bindir} + + install -d ${D}/${datadir}/applications/ + install -m 644 ${S}/src/modules/fileman/module.desktop ${D}/${datadir}/applications/efm.desktop + sed "s#Type=Link#Type=Application#g" -i ${D}/${datadir}/applications/efm.desktop + echo "Exec=enlightenment_remote -efm-open-dir" >> ${D}/${datadir}/applications/efm.desktop + echo "Terminal=false" >> ${D}/${datadir}/applications/efm.desktop + echo "Categories=Application;" >> ${D}/${datadir}/applications/efm.desktop + echo "StartupNotify=true" >> ${D}/${datadir}/applications/efm.desktop + install -d ${D}/${datadir}/icons/ + install -m 644 ${S}/data/themes/images/icon_icon_theme.png ${D}/${datadir}/icons/e-module-fileman.png + install -d ${D}/${sysconfdir}/xdg/menus install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/ for I in `find ${D}/${libdir}/enlightenment -name "*.a" -print`; do rm -f $I; done @@ -77,6 +88,7 @@ PACKAGES =+ "\ ${PN}-sysactions \ ${PN}-utils \ ${PN}-menu \ + efm-desktop-icon \ illume-keyboard-default-alpha \ illume-keyboard-default-numeric \ illume-keyboard-default-terminal \ @@ -108,6 +120,7 @@ PACKAGE_ARCH_${PN}-other = "all" PACKAGE_ARCH_${PN}-input-methods = "all" PACKAGE_ARCH_${PN}-sysactions = "all" PACKAGE_ARCH_${PN}-menu = "all" +PACKAGE_ARCH_efm-desktop-icon = "all" PACKAGE_ARCH_illume-keyboard-default-alpha = "all" PACKAGE_ARCH_illume-keyboard-default-numeric = "all" PACKAGE_ARCH_illume-keyboard-default-terminal = "all" @@ -148,6 +161,11 @@ FILES_${PN}-sysactions = "${sysconfdir}/enlightenment/sysactions.conf" FILES_${PN}-utils = "${libdir}/enlightenment/utils/*" FILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" +FILES_efm-desktop-icon = "\ + ${datadir}/applications/efm.desktop \ + ${datadir}/icons/e-module-fileman.png \ +" + KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards" FILES_illume-keyboard-default-alpha = "\ ${KEYBOARDS_DIR}/Default.kbd \ |