diff options
-rw-r--r-- | dev-libs/sway/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/sway/metadata.xml | 16 | ||||
-rw-r--r-- | dev-libs/sway/sway-9999-r1.ebuild | 43 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/sway/Manifest b/dev-libs/sway/Manifest new file mode 100644 index 0000000..bb66656 --- /dev/null +++ b/dev-libs/sway/Manifest @@ -0,0 +1,2 @@ +EBUILD sway-9999-r1.ebuild 1016 BLAKE2B 76547dbe2130696189ec885dd46b0d5517558900e04c3db2a39d2f3b814cb7d4650c76b8853fd60f9dbe4adfc39526462009a872a9a7d2f4f88eaae478f80d5b SHA512 6d82909a5c1ff0523074b5e16a7bb8cd0c5620f7f4bc70141de0d340457392acb12c8869501c4db7eea1ffc76ddeece18740055b15f452e10c105525af7ac1a7 +MISC metadata.xml 709 BLAKE2B 04f41006d0243fece82b0e990049ee9019118593457e8e870b91cd358c648565029812fd3498d8127f1e2ff875d559b44e07e166619a1aed7dba692bb2cd2e66 SHA512 a4e49d85d40f08581f5b12fbd578d02d05054e5a89744d2f1934a3ef80dedb108e7694b6710c520238df3f5e01e74855df51adf36fe0a73b002b09de86e08c40 diff --git a/dev-libs/sway/metadata.xml b/dev-libs/sway/metadata.xml new file mode 100644 index 0000000..f0ddfbb --- /dev/null +++ b/dev-libs/sway/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>dominik.kriegner@gmail.com</email> +<name>Dominik Kriegner</name> +</maintainer> +<longdescription lang="en"> +Sway is tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11. It works with your existing i3 configuration and supports most of i3's features, plus a few extras. +</longdescription> +<use> +<flag name="fish-completion">Enable fish completion support</flag> +<flag name="xwayland">Enable XWayland application support</flag> +<flag name="wallpapers">Install sway's default wallpaper image</flag> +</use> +</pkgmetadata> diff --git a/dev-libs/sway/sway-9999-r1.ebuild b/dev-libs/sway/sway-9999-r1.ebuild new file mode 100644 index 0000000..f242f9e --- /dev/null +++ b/dev-libs/sway/sway-9999-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson git-r3 + +DESCRIPTION="i3-compatible Wayland compositor" +HOMEPAGE="https://swaywm.org/" +EGIT_REPO_URI="https://github.com/swaywm/sway.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="bash-completion fish-completion +xwayland zsh-completion doc wallpapers" + +DEPEND="dev-libs/json-c + dev-libs/libpcre + >=dev-libs/wlroots-9999 + >=dev-libs/wayland-1.15.0 + x11-libs/libxkbcommon + xwayland? ( x11-libs/libxcb ) + x11-libs/cairo + x11-libs/pango + x11-libs/gdk-pixbuf[jpeg] + x11-libs/pixman + >=dev-libs/libinput-1.6.0 + virtual/pam + sys-apps/systemd + doc? ( app-text/scdoc )" + +RDEPEND="${DEPEND}" + +src_configure() { + local emesonargs=( + $(meson_use bash-completion bash-completions) + $(meson_use fish-completion fish-completions) + $(meson_use zsh-completion zsh-completions) + $(meson_use xwayland enable-xwayland) + $(meson_use wallpapers default-wallpaper) + ) + meson_src_configure +} |