Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/enlightenment/
Date: Wed, 30 Dec 2015 20:40:59
Message-Id: 1451508036.e25de7f6e016e436584f732249d16fe9ac5a298d.vapier@gentoo
1 commit: e25de7f6e016e436584f732249d16fe9ac5a298d
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 30 19:59:28 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 30 20:40:36 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25de7f6
7
8 x11-wm/enlightenment: version bump to 0.20.2 #570224
9
10 x11-wm/enlightenment/Manifest | 1 +
11 x11-wm/enlightenment/enlightenment-0.20.2.ebuild | 128 +++++++++++++++++++++++
12 2 files changed, 129 insertions(+)
13
14 diff --git a/x11-wm/enlightenment/Manifest b/x11-wm/enlightenment/Manifest
15 index 821795d..d8c572a 100644
16 --- a/x11-wm/enlightenment/Manifest
17 +++ b/x11-wm/enlightenment/Manifest
18 @@ -4,3 +4,4 @@ DIST enlightenment-0.18.8.tar.bz2 27616548 SHA256 e99b1d8a9c64dad80611310bd3dc3a
19 DIST enlightenment-0.19.10.tar.xz 24594372 SHA256 8bdc2b764765e807df263962cb3c4793256a34ce74cf854f623a47859f7a4f5d SHA512 c9ee8e9a6a6575103cb1785fc478cfdcd7c544e21eb8738d3877f8742fb0250bae751ae7d05b6b57b7ca37c7011e7ae183da1aa251233c85dd7e38a23f897243 WHIRLPOOL a0d320c52850de00db1a2778f2d71be58b0567854e0c07e03b00ef42f8b94a00abff0616ae389831a117a37a1f554f6e41474e9e8fec0186a8079f970d1db977
20 DIST enlightenment-0.19.12.tar.xz 24569084 SHA256 55f23c337e3092e735ae37ada8f6701adab5ddd13f37ef38c63eec8a536f0b25 SHA512 30332fa0108a4361dd7cc961325b607fccef99caa1db6eaf068fc97de9978ad21dde5724a7e8f6612441fb0529a56461c8df63de25579f67d452fa9bf382d859 WHIRLPOOL e19f84c4a6311ef583d8f2bd53bc85a13e37bc65bdccc1823953685e0946f18cfaf0a75ee97f1a97e5d7fb9c9b0711b92f00f6949e5ca44718b6bf2347cb3a4c
21 DIST enlightenment-0.20.1.tar.xz 25038128 SHA256 820b14ab3decd585a011973d97efc0679a90f803b9d72f0726166a3262c1f4ee SHA512 6afffebfe5d223c288f80589b105badcfbd34c9277078fa7704937ae5173d2b866c57c2aee46d7cae9a6c9ac8d59f0b62bb0081e819b69a37d48571cbfc492cb WHIRLPOOL b4428665554086e6d97b42687a683d0facc25ec3013a2c91cbccce4943edb0541667db243268692a5e9f9a86231a1a0104548e887986baa64c480074eb0360fb
22 +DIST enlightenment-0.20.2.tar.xz 25037464 SHA256 441009a5cbe19861bc1f1404ce4361184ace27208ce429a51c23344c8f9f5d39 SHA512 7d6c5a0a435bbbe999848272ad017d5e914566aa3b833a423bfe21ffeabad17d8a6e91fc597c6ecfd94638c907aa24960a0d017bb4f3f0555875a4ca202415a8 WHIRLPOOL 333b36297ca01b243063e9470eb814b0aafebe25d1a3d58892a7a559455ee08671bb29878eb920df34e06b0fccafeafdbb45bde03fc587a0eea9f054046c5102
23
24 diff --git a/x11-wm/enlightenment/enlightenment-0.20.2.ebuild b/x11-wm/enlightenment/enlightenment-0.20.2.ebuild
25 new file mode 100644
26 index 0000000..24f6675
27 --- /dev/null
28 +++ b/x11-wm/enlightenment/enlightenment-0.20.2.ebuild
29 @@ -0,0 +1,128 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="5"
35 +
36 +MY_P=${P/_/-}
37 +
38 +if [[ ${PV} == *9999 ]] ; then
39 + EGIT_SUB_PROJECT="core"
40 + EGIT_URI_APPEND="${PN}"
41 +else
42 + SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${MY_P}.tar.xz"
43 + EKEY_STATE="snap"
44 +fi
45 +
46 +inherit enlightenment
47 +
48 +DESCRIPTION="Enlightenment DR17 window manager"
49 +
50 +LICENSE="BSD-2"
51 +SLOT="0.17/${PV%%_*}"
52 +
53 +__CONF_MODS=(
54 + applications bindings dialogs display
55 + interaction intl menus
56 + paths performance randr shelves theme
57 + window-manipulation window-remembers
58 +)
59 +__NORM_MODS=(
60 + appmenu backlight bluez4 battery
61 + clock conf connman cpufreq everything
62 + fileman fileman-opinfo gadman geolocation
63 + ibar ibox lokker
64 + mixer msgbus music-control notification
65 + pager packagekit pager-plain policy-mobile quickaccess
66 + shot start syscon systray tasks teamwork temperature tiling
67 + winlist wizard wl-desktop-shell wl-drm wl-text-input
68 + wl-weekeyboard wl-wl wl-x11 xkbswitch xwayland
69 +)
70 +IUSE_E_MODULES=(
71 + ${__CONF_MODS[@]/#/enlightenment_modules_conf-}
72 + ${__NORM_MODS[@]/#/enlightenment_modules_}
73 +)
74 +
75 +IUSE="pam spell static-libs systemd +udev ukit wayland ${IUSE_E_MODULES[@]/#/+}"
76 +
77 +RDEPEND="
78 + pam? ( sys-libs/pam )
79 + systemd? ( sys-apps/systemd )
80 + wayland? (
81 + dev-libs/efl[wayland]
82 + >=dev-libs/wayland-1.2.0
83 + >=x11-libs/pixman-0.31.1
84 + >=x11-libs/libxkbcommon-0.3.1
85 + )
86 + >=dev-libs/efl-1.16[X]
87 + >=media-libs/elementary-1.16
88 + x11-libs/xcb-util-keysyms"
89 +DEPEND="${RDEPEND}"
90 +
91 +S=${WORKDIR}/${MY_P}
92 +
93 +src_prepare() {
94 + epatch "${FILESDIR}"/quickstart.diff
95 + enlightenment_src_prepare
96 +}
97 +
98 +# Sanity check to make sure module lists are kept up-to-date.
99 +check_modules() {
100 + local detected=$(
101 + awk -F'[\\[\\](, ]' '$1 == "AC_E_OPTIONAL_MODULE" { print $3 }' \
102 + configure.ac | sed 's:_:-:g' | LC_COLLATE=C sort
103 + )
104 + local sorted=$(
105 + printf '%s\n' ${IUSE_E_MODULES[@]/#enlightenment_modules_} | \
106 + LC_COLLATE=C sort
107 + )
108 + if [[ ${detected} != "${sorted}" ]] ; then
109 + local out new old
110 + eerror "The ebuild needs to be kept in sync."
111 + echo "${sorted}" > ebuild-iuse
112 + echo "${detected}" > configure-detected
113 + out=$(diff -U 0 ebuild-iuse configure-detected | sed -e '1,2d' -e '/^@@/d')
114 + new=$(echo "${out}" | sed -n '/^+/{s:^+::;p}')
115 + old=$(echo "${out}" | sed -n '/^-/{s:^-::;p}')
116 + eerror "Add these modules: $(echo ${new})"
117 + eerror "Drop these modules: $(echo ${old})"
118 + die "please update the ebuild"
119 + fi
120 +}
121 +
122 +src_configure() {
123 + check_modules
124 +
125 + E_ECONF=(
126 + --disable-install-sysactions
127 + $(use_enable doc)
128 + $(use_enable nls)
129 + $(use_enable pam)
130 + $(use_enable systemd)
131 + --enable-device-udev
132 + $(use_enable udev mount-eeze)
133 + $(use_enable ukit mount-udisks)
134 + $(use_enable wayland)
135 + )
136 + local u c
137 + for u in ${IUSE_E_MODULES[@]} ; do
138 + c=${u#enlightenment_modules_}
139 + # Disable modules by hand since we default to enabling them all.
140 + case ${c} in
141 + wl-*|xwayland)
142 + if ! use wayland ; then
143 + E_ECONF+=( --disable-${c} )
144 + continue
145 + fi
146 + ;;
147 + esac
148 + E_ECONF+=( $(use_enable ${u} ${c}) )
149 + done
150 + enlightenment_src_configure
151 +}
152 +
153 +src_install() {
154 + enlightenment_src_install
155 + insinto /etc/enlightenment
156 + newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf
157 +}