Gentoo Archives: gentoo-commits

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