diff options
-rw-r--r-- | x11-wm/enlightenment/Manifest | 14 | ||||
-rw-r--r-- | x11-wm/enlightenment/enlightenment-0.22.3.ebuild | 134 |
2 files changed, 142 insertions, 6 deletions
diff --git a/x11-wm/enlightenment/Manifest b/x11-wm/enlightenment/Manifest index 28bf574..4957f90 100644 --- a/x11-wm/enlightenment/Manifest +++ b/x11-wm/enlightenment/Manifest @@ -1,6 +1,8 @@ -AUX gentoo-sysactions.conf 3056 SHA256 5939973a9fbaaba81751e936fb541d6aebd7ec1c599174ea568f5a579356939f SHA512 688f02cbff0d50a847eb08ca7832699b836adca9b22e15a780943a8e5a8213aac04b335cfdf3cb96adbff238f681ae8954a720153e8e35b2afaba3225d53206a WHIRLPOOL 0c05e0d295ede8b2f436a87c4b98876fed64d5cc780f13bb6bde1a74a3c87847f2f90ab482a61c2b39f20894572329f5497e5da22537261eef2f0a9fb33ce56d -DIST enlightenment-0.22.1.tar.xz 25646312 SHA256 207b6b88dafc4932ab007a835510823c5a1dd8c191876ac037628176ca77a7e0 SHA512 cb7d4124a17f294f8617da970e233dd212cc426be63e94b74299ffc8dd0c8535284eee9c93a25273aa4c1bf1831a056bb73c4c96197985d469392f451aaa993e WHIRLPOOL 038b408af8c9c113333542f2690ad7c4063242c36120e78772944d6d80060505da1703d1f51bda50af8a2685c3cb44a68cb11683759d2a2bdae8e02df223065a -DIST enlightenment-0.22.2.tar.xz 25645396 SHA256 4d581ef85246f0cba003427bb9b3758e3de137babea1cdd2affd70a2cbe1632c SHA512 718dafcb72b438cabe49de23495539d1417ac80ae239d2c8296aaa9eb5cdf608521129386dea63bcf281c9ddce7efeec540888d984559fbd196d925e2bab1b78 WHIRLPOOL 6658299202a5524c2a3740ba146217bab03b59f3c2bacbd476c6ee7fee112f290b0e3039f0377fd58283ee833f562eb060971c3d2c35ff5ddc410deca86d9d43 -EBUILD enlightenment-0.22.1.ebuild 3383 SHA256 abdbff86296376eb873d972b2811d54ee2570eaeb6b218b5a1b3587e5ada9c7d SHA512 57f27cf4ddd80125275e04f8d7ba82db4a829e07b033fa667187c5f98945b53c86f8f3202c8e0301c0feba369b4e772778dc309d7ad013f7fa4b0e1dc25d63d0 WHIRLPOOL 3902127b149883adb283cbca622ce90dd202776fc2d4d1eb679fa6c211eed2ea056444cc9f205241ff292316fa6b0849d526c0ea173963ec999bd879795c4887 -EBUILD enlightenment-0.22.2.ebuild 3383 SHA256 abdbff86296376eb873d972b2811d54ee2570eaeb6b218b5a1b3587e5ada9c7d SHA512 57f27cf4ddd80125275e04f8d7ba82db4a829e07b033fa667187c5f98945b53c86f8f3202c8e0301c0feba369b4e772778dc309d7ad013f7fa4b0e1dc25d63d0 WHIRLPOOL 3902127b149883adb283cbca622ce90dd202776fc2d4d1eb679fa6c211eed2ea056444cc9f205241ff292316fa6b0849d526c0ea173963ec999bd879795c4887 -MISC metadata.xml 7198 SHA256 9199a303693a5cfbf16ac883f31ab3d7b071b1446b461694e85c31d9c512a297 SHA512 d96d37779310b774deeab0c217534a8262d983871e1092d9d5bd31f05f93fc763b1d98534df7134340fff4b6fdcc21824bedccc505cf3eae0297871677fa1ad6 WHIRLPOOL aa7dfe64f3e7440624acbda158a240cebc1704e1401e1847d8616bccd6f439cdbfc4db5c38fdd737d1a5e11f60759bc59b69b5e8a5a280bb88915f9d97d68098 +AUX gentoo-sysactions.conf 3056 BLAKE2B 155b0826c544a5a4829214b4b43d49e2dad455d041f0afc7077dc44780d12bd1a99a1bc94bb5a4a9ba21f59f679e1d4c82609791ee5a5e9828543b1e9154fae5 SHA512 688f02cbff0d50a847eb08ca7832699b836adca9b22e15a780943a8e5a8213aac04b335cfdf3cb96adbff238f681ae8954a720153e8e35b2afaba3225d53206a +DIST enlightenment-0.22.1.tar.xz 25646312 BLAKE2B ff899ab76782cda1771ce8974c1e47770ae54b9537eec309da81d1bdf6732accb3eb0e67177414c036717cf0866fd77647da601dce81f9677aed402f30e2a136 SHA512 cb7d4124a17f294f8617da970e233dd212cc426be63e94b74299ffc8dd0c8535284eee9c93a25273aa4c1bf1831a056bb73c4c96197985d469392f451aaa993e +DIST enlightenment-0.22.2.tar.xz 25645396 BLAKE2B 141bdd1b46dd38afe4c143922046cb9b7f27fa8a79a64e9c306a72ea068a5d95dfb1e57728de73b5e76ccb95d1df9dfef745d2e8ce4499ce51550f124c1bec47 SHA512 718dafcb72b438cabe49de23495539d1417ac80ae239d2c8296aaa9eb5cdf608521129386dea63bcf281c9ddce7efeec540888d984559fbd196d925e2bab1b78 +DIST enlightenment-0.22.3.tar.xz 25648576 BLAKE2B 1abb1fab18c5932b65f1183875bbe0955ce1d608758af0855c550f5581c774bd19dd0b6c8dd8c724b668ff843e1ed4928531f30b60436d9182a07a65fa2af9e3 SHA512 01a9386ee009c76c46cee7176cdeb7f4e97977bdd5014caa51cceeff228ad72f97a362d1eff7e0240e3e2df8b24a6c9d1516c8ab05bd82d288abcfde0d171abd +EBUILD enlightenment-0.22.1.ebuild 3383 BLAKE2B 077d57fe0bcc11d94667dda5d83e554e384609c16ef4698ac5c43f9c76b88ea6536d4bb2fbcdddfc501114357f5851d386f2feccc58103a77e707ecf56676f46 SHA512 57f27cf4ddd80125275e04f8d7ba82db4a829e07b033fa667187c5f98945b53c86f8f3202c8e0301c0feba369b4e772778dc309d7ad013f7fa4b0e1dc25d63d0 +EBUILD enlightenment-0.22.2.ebuild 3383 BLAKE2B 077d57fe0bcc11d94667dda5d83e554e384609c16ef4698ac5c43f9c76b88ea6536d4bb2fbcdddfc501114357f5851d386f2feccc58103a77e707ecf56676f46 SHA512 57f27cf4ddd80125275e04f8d7ba82db4a829e07b033fa667187c5f98945b53c86f8f3202c8e0301c0feba369b4e772778dc309d7ad013f7fa4b0e1dc25d63d0 +EBUILD enlightenment-0.22.3.ebuild 3383 BLAKE2B 077d57fe0bcc11d94667dda5d83e554e384609c16ef4698ac5c43f9c76b88ea6536d4bb2fbcdddfc501114357f5851d386f2feccc58103a77e707ecf56676f46 SHA512 57f27cf4ddd80125275e04f8d7ba82db4a829e07b033fa667187c5f98945b53c86f8f3202c8e0301c0feba369b4e772778dc309d7ad013f7fa4b0e1dc25d63d0 +MISC metadata.xml 7198 BLAKE2B 51a88b233a8e6ea9c58dda572a8d678ab16fcad65ea8e510b71d393ed567a86ae24c77a95edac19ab680d597cd13a644ac6b87464f6a822c5ecbc8a5ce4a864c SHA512 d96d37779310b774deeab0c217534a8262d983871e1092d9d5bd31f05f93fc763b1d98534df7134340fff4b6fdcc21824bedccc505cf3eae0297871677fa1ad6 diff --git a/x11-wm/enlightenment/enlightenment-0.22.3.ebuild b/x11-wm/enlightenment/enlightenment-0.22.3.ebuild new file mode 100644 index 0000000..d3cd4a7 --- /dev/null +++ b/x11-wm/enlightenment/enlightenment-0.22.3.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +MY_P=${P/_/-} +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-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +HOMEPAGE="https://www.enlightenment.org/" +DESCRIPTION="Enlightenment DR17 window manager" + +inherit xdg-utils +#autotools + +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="doc nls 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} + +#PATCHES=( +# "${FILESDIR}"/quickstart.diff +#) + +#src_prepare() { +# default +# eautoreconf +#} + +# 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 + econf ${MY_ECONF} "${E_ECONF[@]}" +} + +src_install() { + default + DOCS=( ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README ) + einstalldocs + insinto /etc/enlightenment + newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |