mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
e-wm: Add recipe for 0.18.2
* keep old 0.17.* around because new enlightenment is more picky on where it will run (compositor is now mandatory) * 0.18.2 release: http://sourceforge.net/mailarchive/message.php?msg_id=31789335 * 0.18.3 release: http://sourceforge.net/mailarchive/message.php?msg_id=31895179 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -7,7 +7,8 @@ SRCNAME = "e"
|
||||
inherit e update-alternatives gettext
|
||||
S = "${WORKDIR}/${SRCNAME}"
|
||||
|
||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
|
||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
|
||||
PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
@@ -30,16 +31,6 @@ do_install_append() {
|
||||
# xinit[418]: ERROR: CONFIGURATION FILE HAS BAD PERMISSIONS
|
||||
chmod 600 ${D}/${sysconfdir}/enlightenment/sysactions.conf
|
||||
|
||||
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/img/O/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
|
||||
@@ -124,6 +115,7 @@ FILES_${PN} = "\
|
||||
${datadir}/enlightenment/COPYING \
|
||||
${datadir}/xsessions/enlightenment.desktop \
|
||||
${sysconfdir}/xdg \
|
||||
${systemd_unitdir} \
|
||||
"
|
||||
|
||||
FILES_${PN}-config-default = "${datadir}/enlightenment/data/config/default"
|
||||
|
||||
@@ -12,3 +12,15 @@ SRC_URI = "\
|
||||
|
||||
SRC_URI[md5sum] = "5aefb55df0b1a0a0ae0cf9d0610cf7c7"
|
||||
SRC_URI[sha256sum] = "25d4967277cf27d4efb474a9b8eceb1200aa813a51c248b61cc23f69291bff0f"
|
||||
|
||||
do_install_append() {
|
||||
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/img/O/icon_icon_theme.png ${D}/${datadir}/icons/e-module-fileman.png
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
SRCNAME = "enlightenment"
|
||||
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
SRC_URI = "\
|
||||
${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \
|
||||
file://enlightenment_start.oe \
|
||||
file://applications.menu \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "9f6e6c296b88b038ac05415006c678fd"
|
||||
SRC_URI[sha256sum] = "17d207246bf10dec5a5fa854da5763e0e6dd61decde3474ff5fedffbb9dc8629"
|
||||
|
||||
do_configure_prepend() {
|
||||
sed '/^ *EFL_PKG_CHECK_VAR/ s/systemduserunitdir/systemdsystemunitdir/g' -i ${S}/configure.ac
|
||||
}
|
||||
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
|
||||
Reference in New Issue
Block a user