commit:     460dbf42661a65947b32361e49117f96bb568f21
Author:     Joonas Niilola <juippis <AT> gmail <DOT> com>
AuthorDate: Tue Aug 28 08:59:39 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 16 19:34:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460dbf42

x11-wm/enlightenment: bump to 0.22.4

- Dropped multiple KEYWORDS due to efl-1.21.0 not being keyworded,
- Switched away from MODULES use flag mess.

Package-Manager: Portage[mgorny]-2.3.43.3
Closes: https://github.com/gentoo/gentoo/pull/9718

 x11-wm/enlightenment/Manifest                    |   1 +
 x11-wm/enlightenment/enlightenment-0.22.4.ebuild | 101 +++++++++++++++++++++++
 x11-wm/enlightenment/metadata.xml                |   1 +
 3 files changed, 103 insertions(+)

diff --git a/x11-wm/enlightenment/Manifest b/x11-wm/enlightenment/Manifest
index a165bc047ac..49d83eda3d5 100644
--- a/x11-wm/enlightenment/Manifest
+++ b/x11-wm/enlightenment/Manifest
@@ -1,3 +1,4 @@
 DIST enlightenment-0.21.11.tar.xz 25313532 BLAKE2B 
3128137fe81a5b3dccc909eee8aac6845648c088b4cc8de9965408445579ed6aa01bdd879b726d21449c674f07a78386348525d61c0c0d786493d638ec4ae2b4
 SHA512 
3dee0f7a49fff992a81ce82a730cf8f0cec52a9805dcdd643a35a0bb8c7a27c6af82c136219553684c24c8e2ee2e8623f04858fddab56cdff7477ed2c9cc0ddf
 DIST enlightenment-0.21.7.tar.xz 25307500 BLAKE2B 
54b0bb7f76390d46f7eec40aecafb1b8769ba659acaffe8ade61ef9cd6fcb28d843bc185a3cc6c478fa30f917946d331569a394132c3351215a3d1d051d7d2ac
 SHA512 
9d10116990f83b6a2f066b81fab08a9b49779df22d92b5823bf579d786a3f4602094cf8c4d08b3e23a1cfc0cd7032004b2e389e234a189fb2479d23287bf1277
 DIST enlightenment-0.22.3.tar.xz 25648576 BLAKE2B 
1abb1fab18c5932b65f1183875bbe0955ce1d608758af0855c550f5581c774bd19dd0b6c8dd8c724b668ff843e1ed4928531f30b60436d9182a07a65fa2af9e3
 SHA512 
01a9386ee009c76c46cee7176cdeb7f4e97977bdd5014caa51cceeff228ad72f97a362d1eff7e0240e3e2df8b24a6c9d1516c8ab05bd82d288abcfde0d171abd
+DIST enlightenment-0.22.4.tar.xz 25656972 BLAKE2B 
5e24e226e5f9295d27658656aefaf39cc80ad3634ba1937ef1a3c8e1adeba8cf3cbab2c43cb9e80ac298107a7a64e248ff252084b19c26a974ffff9eb9e6c3fa
 SHA512 
9f4366bfed4d65e7baaeffd4f5b8ba6febf6f9888e6156dd3e100c9fca42c377f76f156f3dd1f6ab97745ffcb69e1e8d320937e41333797580624a9b74d298ba

diff --git a/x11-wm/enlightenment/enlightenment-0.22.4.ebuild 
b/x11-wm/enlightenment/enlightenment-0.22.4.ebuild
new file mode 100644
index 00000000000..677da510e54
--- /dev/null
+++ b/x11-wm/enlightenment/enlightenment-0.22.4.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson xdg-utils
+
+DESCRIPTION="Enlightenment window manager"
+HOMEPAGE="https://www.enlightenment.org";
+SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz";
+
+LICENSE="BSD-2"
+SLOT="0.17/${PV%%_*}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="acpi bluetooth connman doc geolocation nls packagekit pam systemd udisks 
wayland wifi"
+
+RDEPEND="
+       >=dev-libs/efl-1.20.5[eet,X]
+       virtual/udev
+       x11-libs/libXext
+       x11-libs/libxcb
+       x11-libs/xcb-util-keysyms
+       x11-misc/xkeyboard-config
+       acpi? ( sys-power/acpid )
+       bluetooth? ( net-wireless/bluez )
+       connman? ( dev-libs/efl[connman] )
+       geolocation? ( app-misc/geoclue:2.0 )
+       packagekit? ( app-admin/packagekit-base )
+       pam? ( sys-libs/pam )
+       systemd? ( sys-apps/systemd )
+       udisks? ( sys-fs/udisks:2 )
+       wayland? (
+               >=dev-libs/efl-1.21.0[drm,wayland]
+               dev-libs/wayland
+               x11-libs/libxkbcommon
+               x11-libs/pixman
+       )
+"
+BDEPEND="
+       virtual/pkgconfig
+       nls? ( sys-devel/gettext )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+       xdg_environment_reset
+}
+
+src_configure() {
+       local emesonargs=(
+               -D device-udev=true
+               -D install-sysactions=false
+               -D mount-udisks=$(usex udisks true false)
+               -D bluez4=$(usex bluetooth true false)
+               -D connman=$(usex connman true false)
+               -D geolocation=$(usex geolocation true false)
+               -D nls=$(usex nls true false)
+               -D packagekit=$(usex packagekit true false)
+               -D pam=$(usex pam true false)
+               -D systemd=$(usex systemd true false)
+               -D wayland=$(usex wayland true false)
+               -D wireless=$(usex wifi true false)
+       )
+
+       if ! use wayland; then
+               emesonargs+=(
+                       -D wl-buffer=false
+                       -D wl-desktop-shell=false
+                       -D wl-drm=false
+                       -D wl-text-input=false
+                       -D wl-weekeyboard=false
+                       -D wl-wl=false
+                       -D wl-x11=false
+                       -D xwayland=false
+               )
+       fi
+
+       meson_src_configure
+}
+
+src_install() {
+       insinto /etc/enlightenment
+       newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf
+
+       if use doc; then
+               local HTML_DOCS=( doc/. )
+       fi
+
+       meson_src_install
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+}

diff --git a/x11-wm/enlightenment/metadata.xml 
b/x11-wm/enlightenment/metadata.xml
index 4b927b67c71..8af72188ab2 100644
--- a/x11-wm/enlightenment/metadata.xml
+++ b/x11-wm/enlightenment/metadata.xml
@@ -10,6 +10,7 @@
   </maintainer>
   <use>
     <flag name="egl">Enable EGL rendering</flag>
+    <flag name="packagekit">Enable module for package manager 
integration</flag>
     <flag name="ukit">Use upower/udisks to automount devices</flag>
   </use>
   <longdescription>

Reply via email to