@@ -1 +0,0 @@ | |||||
EBUILD sway-9999.ebuild 1177 BLAKE2B 29624a27675e456c11d2ded60f886fef8854b9601e41c687d59cdebbad48c618e54e5310c18bb0ef725cb8f593b9a77fc1dca974d8e205693e7076dd1223aee1 SHA512 551a434260b15e58bf9451327030fe479e3ed1d4df99cc706a92b9b842cfb73c837ca879d9c2be5d57953e34ba85c72de1fa4313bd02cbfdbd8209017cf1b674 |
@@ -1,54 +0,0 @@ | |||||
# Copyright 1999-2018 Gentoo Foundation | |||||
# Distributed under the terms of the GNU General Public License v2 | |||||
EAPI=6 | |||||
inherit git-r3 eutils meson | |||||
DESCRIPTION="i3-compatible Wayland window manager" | |||||
HOMEPAGE="http://swaywm.org/" | |||||
EGIT_REPO_URI="https://github.com/swaywm/sway.git" | |||||
EGIT_BRANCH="master" | |||||
LICENSE="MIT" | |||||
SLOT="0" | |||||
KEYWORDS="" | |||||
IUSE="xwayland bash-completion zsh-completion fish-completion systemd elogind" | |||||
REQUIRED_USE="systemd? ( !elogind ) elogind? ( !systemd )" | |||||
RDEPEND="dev-libs/wlroots[libcap,x11-backend] | |||||
dev-libs/libpcre2 | |||||
>=dev-libs/json-c-0.13 | |||||
x11-libs/pango | |||||
x11-libs/cairo | |||||
x11-libs/gdk-pixbuf | |||||
virtual/pam | |||||
sys-apps/dbus | |||||
xwayland? ( dev-libs/wlroots[xwayland] ) | |||||
systemd? ( dev-libs/wlroots[systemd] ) | |||||
elogind? ( dev-libs/wlroots[elogind] )" | |||||
DEPEND="${RDEPEND} | |||||
>=dev-util/meson-0.47 | |||||
dev-util/ninja | |||||
app-text/scdoc" | |||||
src_configure() { | |||||
local emesonargs=( | |||||
$(meson_use bash-completion) | |||||
$(meson_use zsh-completion) | |||||
$(meson_use fish-completion) | |||||
-Denable-xwayland=$(usex xwayland true false) | |||||
-Ddefault-wallpaper=true | |||||
) | |||||
meson_src_configure | |||||
} | |||||
src_install() { | |||||
meson_src_install | |||||
use !systemd && use !elogind && fperms u+s /usr/bin/sway | |||||
} |
@@ -1 +0,0 @@ | |||||
EBUILD wlroots-9999.ebuild 1501 BLAKE2B dda351dbcef89e66867b3e81a250aee6808ea9d702cea501facef37af7300382f348ec484fe604040ccfd3e21daa25a6940e289727ff577b034e57c546cb856f SHA512 084aa4e5093ee222bb47522f36c2b60235ffcc6fbd01a5c93bfa2b21adc24b0e066daf1c91ad37f015fcb1edd84454d2d9c2b77e3299d0add0723b1ab10bcbf7 |
@@ -1,70 +0,0 @@ | |||||
# Copyright 1999-2018 Gentoo Foundation | |||||
# Distributed under the terms of the GNU General Public License v2 | |||||
EAPI=6 | |||||
inherit git-r3 eutils meson | |||||
DESCRIPTION="A modular Wayland compositor library" | |||||
HOMEPAGE="https://swaywm.org" | |||||
EGIT_REPO_URI="https://github.com/swaywm/wlroots.git" | |||||
EGIT_BRANCH="master" | |||||
LICENSE="MIT" | |||||
SLOT="0" | |||||
KEYWORDS="" | |||||
IUSE="systemd elogind xwayland x11-backend rootston examples libcap" | |||||
REQUIRED_USE="systemd? ( !elogind ) elogind? ( !systemd )" | |||||
RDEPEND=">=dev-libs/wayland-1.16 | |||||
>=dev-libs/wayland-protocols-1.15 | |||||
>=media-libs/mesa-17.1.0[gbm,gles2,wayland] | |||||
x11-libs/libdrm | |||||
>=dev-libs/libinput-1.7.0 | |||||
x11-libs/libxkbcommon | |||||
virtual/udev | |||||
x11-libs/pixman | |||||
systemd? ( sys-apps/systemd ) | |||||
elogind? ( sys-auth/elogind ) | |||||
x11-backend? ( | |||||
x11-libs/libxcb | |||||
x11-libs/libXfixes | |||||
x11-libs/libXcomposite | |||||
x11-libs/libXrender | |||||
x11-libs/xcb-util-image | |||||
) | |||||
xwayland? ( x11-base/xorg-server[wayland] ) | |||||
libcap? ( sys-libs/libcap )" | |||||
DEPEND="${RDEPEND} | |||||
>=dev-util/meson-0.47 | |||||
dev-util/ninja" | |||||
src_configure() { | |||||
local emesonargs=( | |||||
-Dxwayland=$(usex xwayland enabled disabled) | |||||
-Dlibcap=$(usex libcap enabled disabled) | |||||
-Dx11-backend=$(usex x11-backend enabled disabled) | |||||
$(meson_use rootston) | |||||
$(meson_use examples) | |||||
) | |||||
if use systemd ; then | |||||
emesonargs+=( | |||||
-Dlogind=enabled | |||||
-Dlogind-provider=systemd | |||||
) | |||||
elif use elogind ; then | |||||
emesonargs+=( | |||||
-Dlogind=enabled | |||||
-Dlogind-provider=elogind | |||||
) | |||||
else | |||||
emesonargs+=( | |||||
-Dlogind=disabled | |||||
) | |||||
fi | |||||
meson_src_configure | |||||
} |