diff options
Diffstat (limited to 'packages/e17/e-wm_svn.bb')
-rw-r--r-- | packages/e17/e-wm_svn.bb | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/packages/e17/e-wm_svn.bb b/packages/e17/e-wm_svn.bb new file mode 100644 index 0000000000..7c3e950569 --- /dev/null +++ b/packages/e17/e-wm_svn.bb @@ -0,0 +1,70 @@ +DESCRIPTION = "The Enlightenment Window Mananger Version 17" +DEPENDS = "eet evas ecore edje efreet edbus" +LICENSE = "MIT BSD" +PV = "0.16.999.043+svnr${SRCREV}" +PR = "r11" + +inherit e update-alternatives + +SRC_URI = "\ + svn://svn.enlightenment.org/svn/e/trunk;module=e;proto=http \ + file://disable-e-cursor.patch;patch=1 \ + file://enlightenment_start.oe \ + file://applications.menu \ +" +S = "${WORKDIR}/e" + +EXTRA_OECONF = "\ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --enable-simple-x11 \ +" + +do_configure_prepend() { + autopoint +} + +do_stage() { + autotools_stage_all + for I in `find ${STAGING_LIBDIR}/enlightenment -name "*.la" -print`; do rm -f $I; done + for I in `find ${STAGING_LIBDIR}/enlightenment -name "*.a" -print`; do rm -f $I; done + for I in `find ${STAGING_LIBDIR_CROSS}/enlightenment -name "*.la" -print`; do rm -f $I; done + for I in `find ${STAGING_LIBDIR_CROSS}/enlightenment -name "*.a" -print`; do rm -f $I; done +} + +do_install_append() { + # customising - should rather make this simple upstream + rm -rf ${D}${datadir}/enlightenment/data/backgrounds/* + rm -rf ${D}${datadir}/enlightenment/data/fonts/* + rm -rf ${D}${datadir}/enlightenment/data/other/* + install -m 755 ${WORKDIR}/enlightenment_start.oe ${D}/${bindir} + install -d ${D}/${sysconfdir}/xdg/menus + install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/ +} + +RDEPENDS += "shared-mime-info mime-support" + +FILES_${PN} = "\ + ${bindir}/* \ + ${libdir}/enlightenment/modules/*/*.* \ + ${libdir}/enlightenment/modules/*/*/* \ + ${libdir}/enlightenment/preload/*.so \ + ${datadir} \ + ${sysconfdir} \ +" +FILES_${PN}-dbg += "\ + ${libdir}/enlightenment/modules/*/*/.debug/ \ + ${libdir}/enlightenment/preload/.debug/ \ +" + +FILES_${PN}-dev += "\ + ${libdir}/enlightenment/preload/*.?a \ +" + +CONFFILES_${PN} = "/etc/xdg/menus/applications.menu" + +ALTERNATIVE_PATH = "${bindir}/enlightenment_start.oe" +ALTERNATIVE_NAME = "x-window-manager" +ALTERNATIVE_LINK = "${bindir}/x-window-manager" +ALTERNATIVE_PRIORITY = "16" |