Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/enlightenment/
Date: Mon, 26 Jul 2021 19:52:04
Message-Id: 1627325488.9a091dd35c7067da3f0cd9194a791362b4d9a3d0.slashbeast@gentoo
1 commit: 9a091dd35c7067da3f0cd9194a791362b4d9a3d0
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 26 18:51:28 2021 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 26 18:51:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a091dd3
7
8 x11-wm/enlightenment: revbump with xwayland dependency.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 .../enlightenment/enlightenment-0.24.2-r2.ebuild | 117 +++++++++++++++++++++
13 1 file changed, 117 insertions(+)
14
15 diff --git a/x11-wm/enlightenment/enlightenment-0.24.2-r2.ebuild b/x11-wm/enlightenment/enlightenment-0.24.2-r2.ebuild
16 new file mode 100644
17 index 00000000000..58e0326eb0d
18 --- /dev/null
19 +++ b/x11-wm/enlightenment/enlightenment-0.24.2-r2.ebuild
20 @@ -0,0 +1,117 @@
21 +# Copyright 1999-2021 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +inherit meson optfeature xdg-utils
27 +
28 +DESCRIPTION="Enlightenment window manager"
29 +HOMEPAGE="https://www.enlightenment.org"
30 +SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz"
31 +
32 +LICENSE="BSD-2"
33 +SLOT="0.17/${PV%%_*}"
34 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
35 +IUSE="acpi bluetooth connman doc geolocation nls pam policykit systemd udisks wayland wifi xwayland"
36 +
37 +REQUIRED_USE="xwayland? ( wayland )"
38 +
39 +RDEPEND=">=dev-libs/efl-1.24.1[eet,fontconfig,X]
40 + virtual/udev
41 + x11-libs/libXext
42 + x11-libs/libxcb
43 + x11-libs/xcb-util-keysyms
44 + x11-misc/xkeyboard-config
45 + acpi? ( sys-power/acpid )
46 + bluetooth? ( net-wireless/bluez )
47 + connman? ( dev-libs/efl[connman] )
48 + geolocation? ( app-misc/geoclue:2.0 )
49 + pam? ( sys-libs/pam )
50 + policykit? ( sys-auth/polkit )
51 + systemd? ( sys-apps/systemd )
52 + udisks? ( sys-fs/udisks:2 )
53 + wayland? (
54 + || (
55 + dev-libs/efl[systemd]
56 + dev-libs/efl[elogind]
57 + )
58 + dev-libs/efl[drm,wayland]
59 + dev-libs/wayland
60 + x11-libs/libxkbcommon
61 + x11-libs/pixman
62 + )
63 + xwayland? (
64 + dev-libs/efl[X,wayland]
65 + x11-base/xwayland
66 + )"
67 +BDEPEND="virtual/pkgconfig
68 + nls? ( sys-devel/gettext )"
69 +DEPEND="${RDEPEND}"
70 +
71 +src_configure() {
72 + local emesonargs=(
73 + -D device-udev=true
74 + -D install-enlightenment-menu=true
75 +
76 + -D install-sysactions=true
77 + -D install-system=true
78 + -D mount-eeze=false
79 +
80 + -D packagekit=false
81 +
82 + $(meson_use udisks mount-udisks)
83 + $(meson_use bluetooth bluez5)
84 + $(meson_use connman)
85 + $(meson_use geolocation)
86 + $(meson_use nls)
87 + $(meson_use pam)
88 + $(meson_use policykit polkit)
89 + $(meson_use systemd)
90 + $(meson_use wayland wl)
91 + $(meson_use wifi wireless)
92 + $(meson_use xwayland)
93 + )
94 +
95 + if ! use wayland; then
96 + emesonargs+=(
97 + -D wl-buffer=false
98 + -D wl-desktop-shell=false
99 + -D wl-drm=false
100 + -D wl-text-input=false
101 + -D wl-weekeyboard=false
102 + -D wl-wl=false
103 + -D wl-x11=false
104 + )
105 + fi
106 +
107 + meson_src_configure
108 +}
109 +
110 +src_install() {
111 + use doc && local HTML_DOCS=( doc/. )
112 + meson_src_install
113 +}
114 +
115 +pkg_postinst() {
116 + xdg_desktop_database_update
117 + xdg_icon_cache_update
118 + xdg_mimeinfo_database_update
119 +
120 + optfeature_header "Additional programs to complement the full EFL suite:"
121 + optfeature "efl-based pinentry interface" app-crypt/pinentry[efl]
122 + optfeature "better monitor backlight and brightness controls" app-misc/ddcutil
123 + optfeature "office file thumbnails" app-office/libreoffice app-office/libreoffice-bin
124 + optfeature "an EFL-based IDE" dev-util/edi
125 + optfeature "image viewer" media-gfx/ephoto
126 + optfeature "ConnMan user interface for Enlightenment" net-misc/econnman
127 + optfeature "system and process monitor" sys-process/evisum
128 + optfeature "feature rich terminal emulator" x11-terms/terminology
129 + optfeature "a modern flat enlightenment WM theme" x11-themes/e-flat-theme
130 + optfeature "a matching GTK theme" x11-themes/e-gtk-theme
131 +}
132 +
133 +pkg_postrm() {
134 + xdg_desktop_database_update
135 + xdg_icon_cache_update
136 + xdg_mimeinfo_database_update
137 +}