diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/sway |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/sway')
-rw-r--r-- | dev-libs/sway/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/sway/metadata.xml | 40 | ||||
-rw-r--r-- | dev-libs/sway/sway-0.13.0.ebuild | 74 | ||||
-rw-r--r-- | dev-libs/sway/sway-0.14.0.ebuild | 84 | ||||
-rw-r--r-- | dev-libs/sway/sway-9999.ebuild | 83 |
5 files changed, 288 insertions, 0 deletions
diff --git a/dev-libs/sway/Manifest b/dev-libs/sway/Manifest new file mode 100644 index 000000000000..5ab5f57d4ae0 --- /dev/null +++ b/dev-libs/sway/Manifest @@ -0,0 +1,7 @@ +DIST sway-0.13.0.tar.gz 5355130 SHA256 56a20c9d28d92777bf99381edd09078f72bf39b8ac586242950d514456a77f7d SHA512 7f137e103bb278777ee3e36b40446156ee02bfbba3ce099b23b093751832a67155cd9519f7583364608d584d2d7c9206a8945f2114ae58220b47bd0f1ff362e8 WHIRLPOOL bff2fd4550334625533984c3bfaa1b479609b7b62cd62935fc5e96eae4a518242d69f553775f44368b76c87ed64fcd6011df785339bd71fb62e09eb426948b1f +DIST sway-0.14.0.tar.gz 5376243 SHA256 e63efee81cd3952ee00c7bd379cf90b065530b03423f593895584aa51e9c7f1b SHA512 2c2e45ddc935504bd240288386662d05f284eb0d540e05b6e56ca577e9b1f2303929b9659eaa3cb99b8cdadb60bd1bfa4104624bf2574e41365e1b3df5361410 WHIRLPOOL d9a5ce41e3063d041cf1f22ebbb48ffc966b34b7d2e23caa77528035176dd9b5d74a8e6cdb238be3191849a349102562becb797835240309b245d554b63753cd +EBUILD sway-0.13.0.ebuild 1705 SHA256 c48324ade9c610d1300455f329b2e7a30bd109eaebffaa692d7d4125c5387c43 SHA512 c55286535c50a4787ba4e0c42301bd7c65a4f7b314ab24d46e77a8a948748198cad356b0616a2b31526fa385fd073d3b012e5ed7cb7313da7a33769950654f7f WHIRLPOOL bf257bb2fe1af7b0acf6390613952579c46240032b827d9f907be490e8c4bed513e88195e69112812f048286d7d48e699f335187a34423ff54f1b223c900b604 +EBUILD sway-0.14.0.ebuild 1906 SHA256 0ed5db91bb4bf25a8f1ff604f1bfe05c26e1720c1b559f3a12314e57e8aafeba SHA512 6f68b6e33c8f331c5619b46997efc1f420ee531085f96bfda89dc2e99934e5fd11fc40e5b8c3347bda1d360369daf39762b89e06e0730d29b82efe7868b60411 WHIRLPOOL 4aa3def0e8313a177a91ea74199f30d33ffde3e7528473f5e267b03a54e93d145974ed36cd9529358cd51c4e444a7363122ccc62ac82cb29c4c42718161d9570 +EBUILD sway-9999.ebuild 1854 SHA256 25e982bb20094e3c1b0862c20f757b2a815a5b4023d2b83d92b58fc93be294ad SHA512 052c04b3b24407b5a9003455bb334b40b7504be6e2ee3adcfd307eab75b4a6bc4052473cfec630b5468b147a96a01336c7ee9d490dbf34690b3366701d6344d1 WHIRLPOOL 83ddc7ac5ce22c1c839ca0256b81372f3b8296b9423479c1c7896c18efeee48feac09ce59c4a3189db9e7b12d6e66b38836983cd85fa4f3797d38b603c6f59d9 +MISC ChangeLog 2577 SHA256 3f9ddde6363f683d67f1146bac3901bc1f44d5ec4088e39f491362249606a65e SHA512 9813bd79d9dbb3d242efda06422132311b9f727c6fb7ce2eec44ab782a8761034ec3a31d79839e097790757eca9ad9ea448018c1d02ad95a46e031f457a6c62b WHIRLPOOL 238d79212a4899d1d9e60d36b7d00267864f48a48d0029a787e1876f174e9f7510fd0ce6e1a4cad8ca7e71b53798ebf531aff3371927863b6a5e585680511dc6 +MISC metadata.xml 1758 SHA256 a95d58bc0d4a18ad83f430eaaf5eb948f1bcbac624f490819fcfed803e92a889 SHA512 b7188800684b4d41efde031e6b198d1d8c7a8dc9843cb25337e79f06fc24444a90a74f8386686c2d56d44ff22c8206728f5ddb15f369f952b3b2f6edb5dcfcd7 WHIRLPOOL 84897a2793f19a38a2d709526b599645c445820575af387c45394c4367dfe6d6fe82b344ecdbf4156eec621b4b032d6837ad29f8426fcfc29cc31e90e6ec3748 diff --git a/dev-libs/sway/metadata.xml b/dev-libs/sway/metadata.xml new file mode 100644 index 000000000000..eba9ef639db3 --- /dev/null +++ b/dev-libs/sway/metadata.xml @@ -0,0 +1,40 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hilobakho@gmail.com</email> + <name>Mykyta Holubakha</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + "SirCmpwn's Wayland window manager" is an i3-compatible window manager + for Wayland. + + sway was created to fill the need of an i3-like window manager for + Wayland. The upstream i3 developers have no intention of porting i3 to + Wayland, and projects proposed by others ended up as vaporware. Many + thanks to the i3 folks for providing such a great piece of software, so + good that your users would rather write an entirely new window manager + from scratch that behaved *exactly* like i3 rather than switch to + something else. + </longdescription> + <use> + <flag name="gdk-pixbuf"> + Enable additional image format support via the + <pkg>x11-libs/gdk-pixbuf</pkg> library. + </flag> + <flag name="swaybar">Build 'swaybar': sway's status bar component.</flag> + <flag name="swaybg">Build 'swaybg': allows to set a desktop background image.</flag> + <flag name="swaygrab">Build 'swaygrab': allows taking screenshots or screencasts.</flag> + <flag name="swaylock">Build 'swaylock': sway's screen locker.</flag> + <flag name="swaymsg">Build 'swaymsg': tool for communicating with a running sway instance.</flag> + <flag name="wallpapers">Install sway's default wallpaper image.</flag> + <flag name="tray">Enable support for StatusNotifierItem tray specification.</flag> + </use> + <upstream> + <remote-id type="github">SirCmpwn/sway</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/sway/sway-0.13.0.ebuild b/dev-libs/sway/sway-0.13.0.ebuild new file mode 100644 index 000000000000..eb8046d61a4e --- /dev/null +++ b/dev-libs/sway/sway-0.13.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils cmake-utils + +DESCRIPTION="i3-compatible Wayland window manager" +HOMEPAGE="http://swaywm.org/" + +SRC_URI="https://github.com/SirCmpwn/sway/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+swaybg +swaybar +swaymsg swaygrab swaylock +gdk-pixbuf zsh-completion wallpapers systemd" + +RDEPEND=">=dev-libs/wlc-0.0.8[systemd=] + dev-libs/json-c + dev-libs/libpcre + dev-libs/libinput + x11-libs/libxkbcommon + dev-libs/wayland + sys-libs/libcap + x11-libs/pango + x11-libs/cairo + swaylock? ( virtual/pam ) + gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + app-text/asciidoc" + +src_prepare() { + cmake-utils_src_prepare + + # remove bad CFLAGS that upstream is trying to add + sed -i -e '/FLAGS.*-Werror/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -Denable-swaybar=$(usex swaybar) + -Denable-swaybg=$(usex swaybg) + -Denable-swaygrab=$(usex swaygrab) + -Denable-swaylock=$(usex swaylock) + -Denable-swaymsg=$(usex swaymsg) + + -Ddefault-wallpaper=$(usex wallpapers) + + -Denable-gdk-pixbuf=$(usex gdk-pixbuf) + -Dzsh-completions=$(usex zsh-completion) + + -DCMAKE_INSTALL_SYSCONFDIR="/etc" + -DVERSION="${PV}" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use !systemd && fperms u+s /usr/bin/sway +} + +pkg_postinst() { + if use swaygrab + then + optfeature "swaygrab screenshot support" media-gfx/imagemagick[png] + optfeature "swaygrab video capture support" virtual/ffmpeg + fi + optfeature "X11 applications support" dev-libs/wlc[xwayland] x11-base/xorg-server[wayland] +} diff --git a/dev-libs/sway/sway-0.14.0.ebuild b/dev-libs/sway/sway-0.14.0.ebuild new file mode 100644 index 000000000000..e43916587bdf --- /dev/null +++ b/dev-libs/sway/sway-0.14.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils cmake-utils + +DESCRIPTION="i3-compatible Wayland window manager" +HOMEPAGE="http://swaywm.org/" + +SRC_URI="https://github.com/SirCmpwn/sway/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+swaybg +swaybar +swaymsg swaygrab swaylock +gdk-pixbuf zsh-completion wallpapers systemd +tray" + +REQUIRED_USE="tray? ( swaybar )" + +RDEPEND=">=dev-libs/wlc-0.0.8[systemd=] + dev-libs/json-c + dev-libs/libpcre + dev-libs/libinput + x11-libs/libxkbcommon + dev-libs/wayland + sys-libs/libcap + x11-libs/pango + x11-libs/cairo + swaylock? ( virtual/pam ) + tray? ( sys-apps/dbus ) + gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + app-text/asciidoc" + +src_prepare() { + cmake-utils_src_prepare + + # remove bad CFLAGS that upstream is trying to add + sed -i -e '/FLAGS.*-Werror/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -Denable-swaybar=$(usex swaybar) + -Denable-swaybg=$(usex swaybg) + -Denable-swaygrab=$(usex swaygrab) + -Denable-swaylock=$(usex swaylock) + -Denable-swaymsg=$(usex swaymsg) + -Denable-tray=$(usex tray) + + -Ddefault-wallpaper=$(usex wallpapers) + + -Denable-gdk-pixbuf=$(usex gdk-pixbuf) + -Dzsh-completions=$(usex zsh-completion) + + -DCMAKE_INSTALL_SYSCONFDIR="/etc" + -DVERSION="${PV}" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use !systemd && fperms u+s /usr/bin/sway +} + +pkg_postinst() { + if use swaygrab + then + optfeature "swaygrab screenshot support" media-gfx/imagemagick[png] + optfeature "swaygrab video capture support" virtual/ffmpeg + fi + if use tray + then + optfeature "experimental xembed tray icons support" \ + x11-misc/xembedsniproxy + fi + + optfeature "X11 applications support" dev-libs/wlc[xwayland] x11-base/xorg-server[wayland] +} diff --git a/dev-libs/sway/sway-9999.ebuild b/dev-libs/sway/sway-9999.ebuild new file mode 100644 index 000000000000..bd77799828ac --- /dev/null +++ b/dev-libs/sway/sway-9999.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 eutils cmake-utils + +DESCRIPTION="i3-compatible Wayland window manager" +HOMEPAGE="http://swaywm.org/" + +EGIT_REPO_URI="https://github.com/SirCmpwn/sway.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="+swaybg +swaybar +swaymsg swaygrab swaylock +gdk-pixbuf zsh-completion wallpapers systemd +tray" + +REQUIRED_USE="tray? ( swaybar )" + +RDEPEND="=dev-libs/wlc-9999[systemd=] + dev-libs/json-c + dev-libs/libpcre + dev-libs/libinput + x11-libs/libxkbcommon + dev-libs/wayland + sys-libs/libcap + x11-libs/pango + x11-libs/cairo + swaylock? ( virtual/pam ) + tray? ( sys-apps/dbus ) + gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + app-text/asciidoc" + +src_prepare() { + cmake-utils_src_prepare + + # remove bad CFLAGS that upstream is trying to add + sed -i -e '/FLAGS.*-Werror/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -Denable-swaybar=$(usex swaybar) + -Denable-swaybg=$(usex swaybg) + -Denable-swaygrab=$(usex swaygrab) + -Denable-swaylock=$(usex swaylock) + -Denable-swaymsg=$(usex swaymsg) + -Denable-tray=$(usex tray) + + -Ddefault-wallpaper=$(usex wallpapers) + + -Denable-gdk-pixbuf=$(usex gdk-pixbuf) + -Dzsh-completions=$(usex zsh-completion) + + -DCMAKE_INSTALL_SYSCONFDIR="/etc" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use !systemd && fperms u+s /usr/bin/sway +} + +pkg_postinst() { + if use swaygrab + then + optfeature "swaygrab screenshot support" media-gfx/imagemagick[png] + optfeature "swaygrab video capture support" virtual/ffmpeg + fi + if use tray + then + optfeature "experimental xembed tray icons support" \ + x11-misc/xembedsniproxy + fi + optfeature "X11 applications support" dev-libs/wlc[xwayland] x11-base/xorg-server[wayland] + +} |