diff options
Diffstat (limited to 'meta-efl/recipes-efl/e17/e-wm_svn.bb')
| -rw-r--r-- | meta-efl/recipes-efl/e17/e-wm_svn.bb | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/e17/e-wm_svn.bb b/meta-efl/recipes-efl/e17/e-wm_svn.bb new file mode 100644 index 0000000000..b7ce1b14f6 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm_svn.bb | |||
| @@ -0,0 +1,224 @@ | |||
| 1 | DESCRIPTION = "The Enlightenment Window Manager Version 17" | ||
| 2 | DEPENDS = "eet evas ecore edje efreet edbus eeze" | ||
| 3 | LICENSE = "MIT BSD" | ||
| 4 | SRCNAME = "e" | ||
| 5 | PV = "0.16.999.060+svnr${SRCPV}" | ||
| 6 | PR = "r19" | ||
| 7 | SRCREV = "${EFL_SRCREV}" | ||
| 8 | |||
| 9 | inherit e update-alternatives | ||
| 10 | S = "${WORKDIR}/${SRCNAME}" | ||
| 11 | |||
| 12 | SRC_URI = "\ | ||
| 13 | ${E_SVN}/trunk;module=${SRCNAME};proto=http \ | ||
| 14 | file://enlightenment_start.oe \ | ||
| 15 | file://applications.menu \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRC_URI_append_shr = " \ | ||
| 19 | file://illume-disable-screensaver.patch \ | ||
| 20 | file://wizard-module-skipping.patch \ | ||
| 21 | file://illume-flaunch-fix.patch \ | ||
| 22 | " | ||
| 23 | |||
| 24 | EXTRA_OECONF = "\ | ||
| 25 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
| 26 | --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ | ||
| 27 | --x-includes=${STAGING_INCDIR}/X11 \ | ||
| 28 | --x-libraries=${STAGING_LIBDIR} \ | ||
| 29 | --enable-simple-x11 \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_configure_prepend() { | ||
| 33 | autopoint | ||
| 34 | } | ||
| 35 | |||
| 36 | do_install_append() { | ||
| 37 | # customising - should rather make this simple upstream | ||
| 38 | install -m 755 ${WORKDIR}/enlightenment_start.oe ${D}/${bindir} | ||
| 39 | |||
| 40 | install -d ${D}/${datadir}/applications/ | ||
| 41 | install -m 644 ${S}/src/modules/fileman/module.desktop ${D}/${datadir}/applications/efm.desktop | ||
| 42 | sed "s#Type=Link#Type=Application#g" -i ${D}/${datadir}/applications/efm.desktop | ||
| 43 | echo "Exec=enlightenment_remote -efm-open-dir" >> ${D}/${datadir}/applications/efm.desktop | ||
| 44 | echo "Terminal=false" >> ${D}/${datadir}/applications/efm.desktop | ||
| 45 | echo "Categories=Application;" >> ${D}/${datadir}/applications/efm.desktop | ||
| 46 | echo "StartupNotify=true" >> ${D}/${datadir}/applications/efm.desktop | ||
| 47 | install -d ${D}/${datadir}/icons/ | ||
| 48 | install -m 644 ${S}/data/themes/images/icon_icon_theme.png ${D}/${datadir}/icons/e-module-fileman.png | ||
| 49 | |||
| 50 | install -d ${D}/${sysconfdir}/xdg/menus | ||
| 51 | install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/ | ||
| 52 | for I in `find ${D}/${libdir}/enlightenment -name "*.a" -print`; do rm -f $I; done | ||
| 53 | for I in `find ${D}/${libdir}/enlightenment -name "*.la" -print`; do rm -f $I; done | ||
| 54 | } | ||
| 55 | |||
| 56 | RDEPENDS_${PN} += "\ | ||
| 57 | shared-mime-info \ | ||
| 58 | mime-support \ | ||
| 59 | edje-utils \ | ||
| 60 | ${PN}-utils \ | ||
| 61 | " | ||
| 62 | |||
| 63 | # Uclibc build don't have 'glibc-utils' | ||
| 64 | RDEPENDS_${PN}_append_libc-glibc = " glibc-utils " | ||
| 65 | |||
| 66 | # The systray module used to be external, but is part of e-wm now | ||
| 67 | RREPLACES_${PN} = "systray" | ||
| 68 | |||
| 69 | PACKAGES =+ "\ | ||
| 70 | ${PN}-config-default \ | ||
| 71 | ${PN}-config-illume \ | ||
| 72 | ${PN}-config-illume2 \ | ||
| 73 | ${PN}-config-minimalist \ | ||
| 74 | ${PN}-config-netbook \ | ||
| 75 | ${PN}-config-scaleable \ | ||
| 76 | ${PN}-config-standard \ | ||
| 77 | ${PN}-theme-default \ | ||
| 78 | ${PN}-theme-illume \ | ||
| 79 | ${PN}-background-dark-gradient \ | ||
| 80 | ${PN}-background-light-gradient \ | ||
| 81 | ${PN}-images \ | ||
| 82 | ${PN}-icons \ | ||
| 83 | ${PN}-other \ | ||
| 84 | ${PN}-input-methods \ | ||
| 85 | ${PN}-sysactions \ | ||
| 86 | ${PN}-utils \ | ||
| 87 | ${PN}-menu \ | ||
| 88 | efm-desktop-icon \ | ||
| 89 | illume-keyboard-default-alpha \ | ||
| 90 | illume-keyboard-default-numeric \ | ||
| 91 | illume-keyboard-default-terminal \ | ||
| 92 | " | ||
| 93 | |||
| 94 | ESYSACTIONS ?= "${PN}-sysactions" | ||
| 95 | |||
| 96 | RRECOMMENDS_${PN} = "\ | ||
| 97 | ${PN}-config-default \ | ||
| 98 | ${PN}-images \ | ||
| 99 | ${PN}-icons \ | ||
| 100 | ${PN}-other \ | ||
| 101 | ${PN}-input-methods \ | ||
| 102 | ${ESYSACTIONS} \ | ||
| 103 | " | ||
| 104 | |||
| 105 | PACKAGE_ARCH_${PN}-config-default = "all" | ||
| 106 | PACKAGE_ARCH_${PN}-config-illume = "all" | ||
| 107 | PACKAGE_ARCH_${PN}-config-illume2 = "all" | ||
| 108 | PACKAGE_ARCH_${PN}-config-minimalist = "all" | ||
| 109 | PACKAGE_ARCH_${PN}-config-netbook = "all" | ||
| 110 | PACKAGE_ARCH_${PN}-config-scaleable = "all" | ||
| 111 | PACKAGE_ARCH_${PN}-config-standard = "all" | ||
| 112 | PACKAGE_ARCH_${PN}-theme-default = "all" | ||
| 113 | PACKAGE_ARCH_${PN}-theme-illume = "all" | ||
| 114 | PACKAGE_ARCH_${PN}-background-dark-gradient = "all" | ||
| 115 | PACKAGE_ARCH_${PN}-background-light-gradient = "all" | ||
| 116 | PACKAGE_ARCH_${PN}-images = "all" | ||
| 117 | PACKAGE_ARCH_${PN}-icons = "all" | ||
| 118 | PACKAGE_ARCH_${PN}-other = "all" | ||
| 119 | PACKAGE_ARCH_${PN}-input-methods = "all" | ||
| 120 | PACKAGE_ARCH_${PN}-sysactions = "all" | ||
| 121 | PACKAGE_ARCH_${PN}-menu = "all" | ||
| 122 | PACKAGE_ARCH_efm-desktop-icon = "all" | ||
| 123 | PACKAGE_ARCH_illume-keyboard-default-alpha = "all" | ||
| 124 | PACKAGE_ARCH_illume-keyboard-default-numeric = "all" | ||
| 125 | PACKAGE_ARCH_illume-keyboard-default-terminal = "all" | ||
| 126 | |||
| 127 | FILES_${PN} = "\ | ||
| 128 | ${bindir}/* \ | ||
| 129 | ${libdir}/enlightenment/utils/* \ | ||
| 130 | ${libdir}/enlightenment/modules/*/*.* \ | ||
| 131 | ${libdir}/enlightenment/modules/*/*/* \ | ||
| 132 | ${libdir}/enlightenment/*plugins/*/*/* \ | ||
| 133 | ${libdir}/enlightenment/preload/e_precache.so \ | ||
| 134 | ${datadir}/enlightenment/data/icons \ | ||
| 135 | ${datadir}/enlightenment/data/input_methods \ | ||
| 136 | ${datadir}/enlightenment/data/config/profile.cfg \ | ||
| 137 | ${datadir}/enlightenment/AUTHORS \ | ||
| 138 | ${datadir}/enlightenment/COPYING \ | ||
| 139 | ${datadir}/xsessions/enlightenment.desktop \ | ||
| 140 | ${sysconfdir}/xdg \ | ||
| 141 | " | ||
| 142 | |||
| 143 | FILES_${PN}-config-default = "${datadir}/enlightenment/data/config/default" | ||
| 144 | FILES_${PN}-config-illume = "${datadir}/enlightenment/data/config/illume" | ||
| 145 | FILES_${PN}-config-illume2 = "${datadir}/enlightenment/data/config/illume-home" | ||
| 146 | FILES_${PN}-config-minimalist = "${datadir}/enlightenment/data/config/minimalist" | ||
| 147 | FILES_${PN}-config-netbook = "${datadir}/enlightenment/data/config/netbook" | ||
| 148 | FILES_${PN}-config-scaleable = "${datadir}/enlightenment/data/config/scaleable" | ||
| 149 | FILES_${PN}-config-standard = "${datadir}/enlightenment/data/config/standard" | ||
| 150 | FILES_${PN}-theme-default = "${datadir}/enlightenment/data/themes/default.edj" | ||
| 151 | FILES_${PN}-theme-illume = "${datadir}/enlightenment/data/themes/illume.edj" | ||
| 152 | FILES_${PN}-theme-default = "${datadir}/enlightenment/data/themes/default.edj" | ||
| 153 | FILES_${PN}-background-dark-gradient = "${datadir}/enlightenment/data/backgrounds/Dark_Gradient.edj" | ||
| 154 | FILES_${PN}-background-light-gradient = "${datadir}/enlightenment/data/backgrounds/Light_Gradient.edj" | ||
| 155 | FILES_${PN}-images = "${datadir}/enlightenment/data/images" | ||
| 156 | FILES_${PN}-icons = "${datadir}/enlightenment/data/icons" | ||
| 157 | FILES_${PN}-other = "${datadir}/enlightenment/data/other" | ||
| 158 | FILES_${PN}-input-methods = "${datadir}/enlightenment/data/input_methods" | ||
| 159 | FILES_${PN}-sysactions = "${sysconfdir}/enlightenment/sysactions.conf" | ||
| 160 | FILES_${PN}-utils = "${libdir}/enlightenment/utils/*" | ||
| 161 | FILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" | ||
| 162 | |||
| 163 | FILES_efm-desktop-icon = "\ | ||
| 164 | ${datadir}/applications/efm.desktop \ | ||
| 165 | ${datadir}/icons/e-module-fileman.png \ | ||
| 166 | " | ||
| 167 | |||
| 168 | KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards" | ||
| 169 | FILES_illume-keyboard-default-alpha = "\ | ||
| 170 | ${KEYBOARDS_DIR}/Default.kbd \ | ||
| 171 | ${KEYBOARDS_DIR}/alpha.png \ | ||
| 172 | " | ||
| 173 | FILES_illume-keyboard-default-numeric = "\ | ||
| 174 | ${KEYBOARDS_DIR}/Numbers.kbd \ | ||
| 175 | ${KEYBOARDS_DIR}/numeric.png \ | ||
| 176 | " | ||
| 177 | FILES_illume-keyboard-default-terminal = "\ | ||
| 178 | ${KEYBOARDS_DIR}/Terminal.kbd \ | ||
| 179 | ${KEYBOARDS_DIR}/qwerty.png \ | ||
| 180 | " | ||
| 181 | |||
| 182 | RRECOMMENDS_${PN}-config-default = "${PN}-theme-default" | ||
| 183 | RRECOMMENDS_${PN}-config-illume = "\ | ||
| 184 | ${PN}-theme-illume \ | ||
| 185 | illume-keyboard-default-alpha \ | ||
| 186 | illume-keyboard-default-numeric \ | ||
| 187 | illume-keyboard-default-terminal \ | ||
| 188 | " | ||
| 189 | RRECOMMENDS_${PN}-config-illume2 = "\ | ||
| 190 | ${PN}-theme-illume \ | ||
| 191 | illume-keyboard-default-alpha \ | ||
| 192 | illume-keyboard-default-numeric \ | ||
| 193 | illume-keyboard-default-terminal \ | ||
| 194 | " | ||
| 195 | |||
| 196 | RRECOMMENDS_${PN}-config-minimalist = "\ | ||
| 197 | ${PN}-background-light-gradient \ | ||
| 198 | ${PN}-theme-default \ | ||
| 199 | " | ||
| 200 | RRECOMMENDS_${PN}-config-netbook = "\ | ||
| 201 | ${PN}-background-dark-gradient \ | ||
| 202 | ${PN}-theme-default \ | ||
| 203 | " | ||
| 204 | RRECOMMENDS_${PN}-config-scaleable = "${PN}-theme-default" | ||
| 205 | RRECOMMENDS_${PN}-config-standard = "${PN}-theme-default" | ||
| 206 | |||
| 207 | FILES_${PN}-dbg += "\ | ||
| 208 | ${libdir}/enlightenment/modules/*/*/.debug/ \ | ||
| 209 | ${libdir}/enlightenment/preload/.debug/ \ | ||
| 210 | ${libdir}/enlightenment/utils/.debug/ \ | ||
| 211 | ${libdir}/enlightenment/*plugins/*/*/.debug \ | ||
| 212 | " | ||
| 213 | |||
| 214 | FILES_${PN}-doc += "\ | ||
| 215 | ${datadir}/enlightenment/doc \ | ||
| 216 | " | ||
| 217 | |||
| 218 | CONFFILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" | ||
| 219 | CONFFILES_${PN}-sysactions = "/etc/enlightenment/sysactions.conf" | ||
| 220 | |||
| 221 | ALTERNATIVE_PATH = "${bindir}/enlightenment_start.oe" | ||
| 222 | ALTERNATIVE_NAME = "x-window-manager" | ||
| 223 | ALTERNATIVE_LINK = "${bindir}/x-window-manager" | ||
| 224 | ALTERNATIVE_PRIORITY = "16" | ||
