diff options
author | Joonas Niilola <juippis@gmail.com> | 2019-04-28 19:15:46 +0300 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-05-08 18:59:35 +0200 |
commit | 96945f261af856453c4d48d49c683f1294e3afec (patch) | |
tree | 4e934aa769cd0d923af13f08fdb1a470109232eb /x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild | |
parent | leechcraft.eclass: Revert revert add support for EAPI 7 (diff) | |
download | gentoo-96945f261af856453c4d48d49c683f1294e3afec.tar.gz gentoo-96945f261af856453c4d48d49c683f1294e3afec.tar.bz2 gentoo-96945f261af856453c4d48d49c683f1294e3afec.zip |
x11-wm/enlightenment: make wayland work with 0.22.4
- added a new USE flag for XWayland support,
- added a patch for wayland with efl-1.22,
- bumped EAPI to 7,
- restored KEYWORDS from enlightenment-0.22.3.
Closes: https://bugs.gentoo.org/684520
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Joonas Niilola <juippis@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11846
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild')
-rw-r--r-- | x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild b/x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild new file mode 100644 index 000000000000..99d2165d2e07 --- /dev/null +++ b/x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="acpi bluetooth connman doc geolocation nls packagekit pam systemd udisks wayland wifi xwayland" + +REQUIRED_USE="xwayland? ( wayland )" + +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.22.0[drm,wayland] + dev-libs/wayland + x11-libs/libxkbcommon + x11-libs/pixman + ) + xwayland? ( + dev-libs/efl[X,wayland] + x11-base/xorg-server[wayland] + ) +" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-efl-1.22-wayland.patch" ) + +src_configure() { + local emesonargs=( + -D device-udev=true + -D install-sysactions=false + + $(meson_use udisks mount-udisks) + $(meson_use bluetooth bluez4) + $(meson_use connman) + $(meson_use geolocation) + $(meson_use nls) + $(meson_use packagekit) + $(meson_use pam) + $(meson_use systemd) + $(meson_use wayland) + $(meson_use wifi wireless) + $(meson_use xwayland) + ) + + 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 + ) + fi + + meson_src_configure +} + +src_install() { + insinto /etc/enlightenment + newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf + + use doc && local HTML_DOCS=( doc/. ) + meson_src_install +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |