summaryrefslogtreecommitdiff
path: root/dev-libs/sway
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/sway
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/sway')
-rw-r--r--dev-libs/sway/Manifest4
-rw-r--r--dev-libs/sway/metadata.xml40
-rw-r--r--dev-libs/sway/sway-0.15.2.ebuild84
-rw-r--r--dev-libs/sway/sway-9999.ebuild84
4 files changed, 212 insertions, 0 deletions
diff --git a/dev-libs/sway/Manifest b/dev-libs/sway/Manifest
new file mode 100644
index 000000000000..102b7f850bd3
--- /dev/null
+++ b/dev-libs/sway/Manifest
@@ -0,0 +1,4 @@
+DIST sway-0.15.2.tar.gz 5398956 BLAKE2B 6bb527e802b7837ef39cb1e29597d55fd33831231dbfb7f12225e50c38e49ae17d8bf2eb43672c195c6e074986d254b1680bac7c9d60b80b84feaf07e09718df SHA512 c457ace514f5c69ebd366d313cce93a76b199bb51c7540debc9c0586bff490401e6374f9725c784474afdfcca15bcab686a972c6c178117e45e2de83825ed370
+EBUILD sway-0.15.2.ebuild 1929 BLAKE2B 454e3a4b045daf4fdb206cb8f3e24ff8a349e1f5d6cf8baadfe61f819edd0ccbc89c1368bf34fae1e8e9a134866af1222afc885670d53f82f6cc3d946a72e2cc SHA512 943d0990f2c5e0ddfaac4f4ccf76d10b822a26c8dee7b9973a5388de15172cdb54eec90140c9ed547fadf1d808903e37c75cbdc6d98720d4dc12afe9aaeebf70
+EBUILD sway-9999.ebuild 1889 BLAKE2B e324f60205740a5dcf1440bad7baf4a18d21bcf08eb3ecba84d608bc63873bb3245b5f5f2833fff29fc67d0f6def64d3d4c372bebb18a32621ddd202b8da45cf SHA512 36de11a38d5efc324d6bb77f34d26dcb2d05bfe0b1e1b4ef489ffe4e6d99a153368595d4db5d4a36d3205ce42f822781273bd331b0c65301982bd800a4a9d5c2
+MISC metadata.xml 1756 BLAKE2B 98c5ea811df7218a945de7d8ae3891692ae7fa137f320ab316f985c99ac288ac62fe006879cdd539f48ea9207a953434f3a5dbaf815f32a40a5c7ff73376c594 SHA512 c66066c76ea1c1cbbdf79664fdd123d22a681e82bfa5c3ffe92ae12fd6fd4adaf51d12767b3ca4e2f88405df59a386e7dfe8f9f5a8fd382918b7566f6461d27a
diff --git a/dev-libs/sway/metadata.xml b/dev-libs/sway/metadata.xml
new file mode 100644
index 000000000000..a4e44bee20a1
--- /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">swaywm/sway</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/sway/sway-0.15.2.ebuild b/dev-libs/sway/sway-0.15.2.ebuild
new file mode 100644
index 000000000000..4c02b8d32662
--- /dev/null
+++ b/dev-libs/sway/sway-0.15.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 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/swaywm/sway/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~arm64 ~amd64 ~x86"
+IUSE="+gdk-pixbuf +swaybar +swaybg swaygrab swaylock +swaymsg systemd +tray wallpapers zsh-completion"
+
+REQUIRED_USE="tray? ( swaybar )"
+
+RDEPEND=">=dev-libs/wlc-0.0.8[systemd=]
+ dev-libs/json-c:0=
+ dev-libs/libpcre
+ dev-libs/libinput
+ dev-libs/wayland
+ sys-libs/libcap
+ x11-libs/libxkbcommon
+ x11-libs/cairo
+ x11-libs/pango
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )
+ swaylock? ( virtual/pam )
+ tray? ( sys-apps/dbus )"
+
+DEPEND="${RDEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # remove bad CFLAGS that upstream is trying to add
+ sed -i -e '/add_compile_options/s/-Werror//' 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..da318f9247b2
--- /dev/null
+++ b/dev-libs/sway/sway-9999.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 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/swaywm/sway.git"
+EGIT_BRANCH="0.15"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="+gdk-pixbuf +swaybar +swaybg swaygrab swaylock +swaymsg systemd +tray wallpapers zsh-completion"
+
+REQUIRED_USE="tray? ( swaybar )"
+
+RDEPEND="=dev-libs/wlc-9999[systemd=]
+ dev-libs/json-c:0=
+ dev-libs/libpcre
+ dev-libs/libinput
+ dev-libs/wayland
+ sys-libs/libcap
+ x11-libs/libxkbcommon
+ x11-libs/cairo
+ x11-libs/pango
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )
+ swaylock? ( virtual/pam )
+ tray? ( sys-apps/dbus )"
+
+DEPEND="${RDEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # remove bad CFLAGS that upstream is trying to add
+ sed -i -e '/add_compile_options/s/-Werror//' 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]
+
+}