diff options
author | 2018-03-17 14:20:45 +0100 | |
---|---|---|
committer | 2018-03-17 14:20:45 +0100 | |
commit | 8cd442af1997c9e0304723e2b49a75d5e2309bc6 (patch) | |
tree | 2507f0725f7f5ace38ecc35776e4a33014c026ff | |
parent | forgot manifest .. again (diff) | |
download | lordvan-8cd442af1997c9e0304723e2b49a75d5e2309bc6.tar.gz lordvan-8cd442af1997c9e0304723e2b49a75d5e2309bc6.tar.bz2 lordvan-8cd442af1997c9e0304723e2b49a75d5e2309bc6.zip |
new version
-rw-r--r-- | x11-wm/enlightenment/Manifest | 2 | ||||
-rw-r--r-- | x11-wm/enlightenment/enlightenment-0.22.2.ebuild | 134 |
2 files changed, 136 insertions, 0 deletions
diff --git a/x11-wm/enlightenment/Manifest b/x11-wm/enlightenment/Manifest index b0ad479..28bf574 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 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 diff --git a/x11-wm/enlightenment/enlightenment-0.22.2.ebuild b/x11-wm/enlightenment/enlightenment-0.22.2.ebuild new file mode 100644 index 0000000..d3cd4a7 --- /dev/null +++ b/x11-wm/enlightenment/enlightenment-0.22.2.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 +} |