diff --git a/x11-wm/enlightenment/Manifest b/x11-wm/enlightenment/Manifest index af2304c..5e56eb9 100644 --- a/x11-wm/enlightenment/Manifest +++ b/x11-wm/enlightenment/Manifest @@ -1,4 +1,6 @@ AUX gentoo-sysactions.conf 3056 SHA256 5939973a9fbaaba81751e936fb541d6aebd7ec1c599174ea568f5a579356939f SHA512 688f02cbff0d50a847eb08ca7832699b836adca9b22e15a780943a8e5a8213aac04b335cfdf3cb96adbff238f681ae8954a720153e8e35b2afaba3225d53206a WHIRLPOOL 0c05e0d295ede8b2f436a87c4b98876fed64d5cc780f13bb6bde1a74a3c87847f2f90ab482a61c2b39f20894572329f5497e5da22537261eef2f0a9fb33ce56d AUX quickstart.diff 474 SHA256 9201674d2f8707f216e18c471f0a4a5a7366b3dd32cb8ec131ca1795a10bb3e6 SHA512 b8df654dd1246ea6391017fe9856e38d209b250625f8343aa4943a4eeed980447eb52c6a15fe170bcab90b76e5670ee9c7f98358bb87990877e312cc4cea8f6c WHIRLPOOL 7ea473b01d46ab1ae10ed50d9991de652e3c2945390a71dfa3cba4bf7c6d8ae526dbd18a275db7bd714be7e48414b90ea470c46d2460c68512ede070025b9c49 DIST enlightenment-0.17.6.tar.bz2 29500129 SHA256 25ec72b40e7827468a2498fedfb03f86cb6f20101b63175d80c96db3157b0c0e SHA512 5f8fec0b2c9cb2bcc3e2738b68e4266179153288a161e4e2d0f7ff50b702d6d78d836b433105c548997b516324ca7ba44a74a7361052235b50e18c22a26c9dc9 WHIRLPOOL e89b52efa2007815ef4de9272102f5f170a3838666483a4653bdaa2f37291e14e92d6814dcbd7dfdfdcf14735dc37571b6fa1bf6f7b5a8c08070723d75e7d03a +DIST enlightenment-0.22.0.tar.xz 25630016 SHA256 1b3eb9db7dd9c41b90e9ab67be875ea300e13774503fecdd692d96917ddeb976 SHA512 0a70e11e6f880ff5cd7b63e0bc65cd2ad31e569f09c4db07c4f5b6a3d948410760f4a598ba1a354b6af51deaa7f44d8545e54fc4cc79a52411ef9f39137a83c4 WHIRLPOOL 37e66065813d8c30deccb291a61adee4e89877b16906150c85b486279bb65ae86758d4719b46e8968185801d7d04c79621a68d34362f06aa15e921520d293953 EBUILD enlightenment-0.17.6.ebuild 2094 SHA256 f4fc617f21f40c9abc3e520a69a29597dc027a52ce604891218992f96ccc8a71 SHA512 51270d87def22a4297b66061e47ed124eff2d801a877fc3fe84a46f23167a86645787bc52b2bc256b04da24efcda228b84b09d716229fc5d52c903d22687568b WHIRLPOOL 3ad0ec0c5bbbe8ee349a24993256c530030b2f2adb47149bf77e73e8e786366a4f6e3bd9e40128f79e70e3a653033f4199218f6b4c682e5fc04c04a3fe8192f9 +EBUILD enlightenment-0.22.0.ebuild 3267 SHA256 ccf9212b0133bbc0ff29db5369d65d1da7a32a678bab7db4383cfd1043902061 SHA512 b16ee1ea9881994b0caaab8e8ab2471b74623869b6f369a9aabed8d1d5a9da77554b597c6e35f8273441aeb0b6286e93d47d62d6c38b83169867496545246481 WHIRLPOOL 88e781601f1dddc6ba01fa05a795eec2b95dd1ef748263179470d3f66b0e166558e0c4009d60fbb433b649762dd7548ea3d52c5897750350510ef9a90260a03b diff --git a/x11-wm/enlightenment/enlightenment-0.22.0.ebuild b/x11-wm/enlightenment/enlightenment-0.22.0.ebuild new file mode 100644 index 0000000..57b75f4 --- /dev/null +++ b/x11-wm/enlightenment/enlightenment-0.22.0.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_P=${P/_/-} + +if [[ ${PV} == *9999 ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +else + SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +fi + +inherit enlightenment + +DESCRIPTION="Enlightenment DR17 window manager" + +LICENSE="BSD-2" +SLOT="0.17/${PV%%_*}" + +__CONF_MODS=( + applications bindings dialogs display + interaction intl menus + paths performance randr shelves theme + window-manipulation window-remembers +) +__NORM_MODS=( + appmenu backlight bluez4 battery + clock conf connman cpufreq everything + fileman fileman-opinfo gadman geolocation + ibar ibox lokker + mixer msgbus music-control notification + pager packagekit pager-plain quickaccess + shot start syscon sysinfo systray tasks teamwork temperature tiling time + winlist wireless wizard wl-buffer wl-desktop-shell wl-drm wl-text-input + wl-weekeyboard wl-wl wl-x11 xkbswitch xwayland +) +IUSE_E_MODULES=( + ${__CONF_MODS[@]/#/enlightenment_modules_conf-} + ${__NORM_MODS[@]/#/enlightenment_modules_} +) + +IUSE="pam spell static-libs systemd ukit wayland ${IUSE_E_MODULES[@]/#/+}" + +RDEPEND=" + pam? ( sys-libs/pam ) + systemd? ( sys-apps/systemd ) + wayland? ( + dev-libs/efl[wayland] + >=dev-libs/wayland-1.10.0 + >=x11-libs/pixman-0.31.1 + >=x11-libs/libxkbcommon-0.3.1 + ) + >=dev-libs/efl-1.18[X] + x11-libs/xcb-util-keysyms" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/quickstart.diff + enlightenment_src_prepare +} + +# Sanity check to make sure module lists are kept up-to-date. +check_modules() { + local detected=$( + awk -F'[\\[\\](, ]' '$1 == "AC_E_OPTIONAL_MODULE" { print $3 }' \ + configure.ac | sed 's:_:-:g' | LC_COLLATE=C sort + ) + local sorted=$( + printf '%s\n' ${IUSE_E_MODULES[@]/#enlightenment_modules_} | \ + LC_COLLATE=C sort + ) + if [[ ${detected} != "${sorted}" ]] ; then + local out new old + eerror "The ebuild needs to be kept in sync." + echo "${sorted}" > ebuild-iuse + echo "${detected}" > configure-detected + out=$(diff -U 0 ebuild-iuse configure-detected | sed -e '1,2d' -e '/^@@/d') + new=$(echo "${out}" | sed -n '/^+/{s:^+::;p}') + old=$(echo "${out}" | sed -n '/^-/{s:^-::;p}') + eerror "Add these modules: $(echo ${new})" + eerror "Drop these modules: $(echo ${old})" + die "please update the ebuild" + fi +} + +src_configure() { + check_modules + + E_ECONF=( + --disable-install-sysactions + $(use_enable doc) + $(use_enable nls) + $(use_enable pam) + $(use_enable systemd) + --enable-device-udev + $(use_enable ukit mount-udisks) + $(use_enable wayland) + ) + local u c + for u in ${IUSE_E_MODULES[@]} ; do + c=${u#enlightenment_modules_} + # Disable modules by hand since we default to enabling them all. + case ${c} in + wl-*|xwayland) + if ! use wayland ; then + E_ECONF+=( --disable-${c} ) + continue + fi + ;; + esac + E_ECONF+=( $(use_enable ${u} ${c}) ) + done + enlightenment_src_configure +} + +src_install() { + enlightenment_src_install + insinto /etc/enlightenment + newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf +}