From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/sway/
Date: Tue, 27 Aug 2019 16:03:08 +0000 (UTC) [thread overview]
Message-ID: <1566921784.7b957b5b3da8e4b9e83cf7d813412bace9d361c3.prometheanfire@gentoo> (raw)
commit: 7b957b5b3da8e4b9e83cf7d813412bace9d361c3
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 27 16:02:44 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Aug 27 16:03:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b957b5b
gui-wm/sway: 1.2.0 bump
Package-Manager: Portage-2.3.69, Repoman-2.3.17
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
gui-wm/sway/Manifest | 1 +
gui-wm/sway/sway-1.2.ebuild | 112 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 113 insertions(+)
diff --git a/gui-wm/sway/Manifest b/gui-wm/sway/Manifest
index 717ef22f565..39b63ae15ff 100644
--- a/gui-wm/sway/Manifest
+++ b/gui-wm/sway/Manifest
@@ -1,2 +1,3 @@
DIST sway-1.0.tar.gz 5474548 BLAKE2B bea0a72c374b75f027e466d83e8c06abe32205e0cda80776b0e48e327a6da4e965a6a575595e5a38bcb125294c509b5d9a1db17604dd9e9032acef404366bdb9 SHA512 57e2610244c8bcd2b09bb5396113176d118ee5a0688aea297d4c191eda70ce29b36ff64e05c57d1a32a31cc4f2ac2562fd3cb3890508a8f3c7cbcb9fb017171d
DIST sway-1.1.1.tar.gz 5480615 BLAKE2B 2cc55535a030d5d057c332a8b2647f394ec8f08a3a5aebe48e0bd21da718eac23bdbcc5a2ce26624efb9360518e5f14eaafe406e1c7d9b3eb81621bab7b6c39c SHA512 2585446ca0936df41c7959b6b48487b25c86f1a8a3bedcd146aab023a873a416ce750698e3cabcd9cb861e35bbd7e280574ff477152906669af9b17d3e54028e
+DIST sway-1.2.tar.gz 5493376 BLAKE2B f059ec7c3db7ff048129c9d701e8730b04f01670dc3b1be826ef3d609f2881ddf1e3bfd82c39bebf5e7e99127f7250239b2af76292f60cfa208fc465f14cd779 SHA512 b43f625d35145a3377e64ea942f8b005946bb0925f08deace2da73ab504038b29331df9943296c97141e2283cd9b55e6cb3bca18c5c3999ecbd461325e36165b
diff --git a/gui-wm/sway/sway-1.2.ebuild b/gui-wm/sway/sway-1.2.ebuild
new file mode 100644
index 00000000000..5293b993a7d
--- /dev/null
+++ b/gui-wm/sway/sway-1.2.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils meson
+
+DESCRIPTION="i3-compatible Wayland window manager"
+HOMEPAGE="https://swaywm.org"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
+else
+ MY_PV=${PV/_rc/-rc}
+ SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion"
+REQUIRED_USE="?? ( elogind systemd )
+ tray? ( || ( elogind systemd ) )"
+
+DEPEND="
+ >=dev-libs/json-c-0.13:0=
+ >=dev-libs/libinput-1.6.0:0=
+ dev-libs/libpcre
+ dev-libs/wayland
+ x11-libs/cairo
+ x11-libs/libxkbcommon
+ x11-libs/pango
+ x11-libs/pixman
+ elogind? ( >=sys-auth/elogind-239 )
+ swaybar? ( x11-libs/gdk-pixbuf:2 )
+ swaybg? ( gui-apps/swaybg )
+ swayidle? ( gui-apps/swayidle )
+ swaylock? ( gui-apps/swaylock )
+ systemd? ( >=sys-apps/systemd-239 )
+ X? ( x11-libs/libxcb:0= )
+"
+if [[ ${PV} == 9999 ]]; then
+ DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]"
+else
+ DEPEND+=">=gui-libs/wlroots-0.6.0[elogind=,systemd=,X=]"
+fi
+RDEPEND="
+ x11-misc/xkeyboard-config
+ ${DEPEND}
+"
+BDEPEND="
+ >=dev-libs/wayland-protocols-1.14
+ virtual/pkgconfig
+"
+if [[ ${PV} == 9999 ]]; then
+ BDEPEND+="man? ( ~app-text/scdoc-9999 )"
+else
+ BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
+fi
+
+src_prepare() {
+ default
+
+ use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \
+ -e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die
+ use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \
+ -e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die
+ use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \
+ -e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dman-pages=$(usex man enabled disabled)
+ -Dtray=$(usex tray enabled disabled)
+ -Dxwayland=$(usex X enabled disabled)
+ $(meson_use wallpapers default-wallpaper)
+ $(meson_use fish-completion fish-completions)
+ $(meson_use zsh-completion zsh-completions)
+ "-Dbash-completions=true"
+ "-Dwerror=false"
+ )
+
+ if use swaybar; then
+ emesonargs+=("-Dgdk-pixbuf=enabled")
+ else
+ emesonargs+=("-Dgdk-pixbuf=disabled")
+ fi
+
+ meson_src_configure
+}
+
+pkg_preinst() {
+ if ! use systemd && ! use elogind; then
+ fowners root:0 /usr/bin/sway
+ fperms 4511 /usr/bin/sway
+ fi
+}
+
+pkg_postinst() {
+ if ! use systemd && ! use elogind; then
+ elog ""
+ elog "If you use ConsoleKit2, remember to launch sway using:"
+ elog "exec ck-launch-session sway"
+ elog ""
+ elog "If your system does not set the XDG_RUNTIME_DIR environment"
+ elog "variable, you must set it manually to run Sway. See wiki"
+ elog "for details: https://wiki.gentoo.org/wiki/Sway"
+ fi
+}
next reply other threads:[~2019-08-27 16:03 UTC|newest]
Thread overview: 114+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-27 16:03 Matthew Thode [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-25 23:29 [gentoo-commits] repo/gentoo:master commit in: gui-wm/sway/ Matthew Thode
2025-07-25 23:29 Matthew Thode
2025-03-12 22:16 Sam James
2025-03-12 21:37 Sam James
2025-03-12 21:34 Sam James
2025-01-27 18:31 Arthur Zamarin
2024-11-08 15:15 Matthew Thode
2024-11-08 15:15 Matthew Thode
2024-05-25 14:55 Matthew Thode
2024-05-23 18:01 Matt Turner
2024-05-04 18:22 Arthur Zamarin
2024-04-26 2:04 Matthew Thode
2024-04-25 2:28 Matthew Thode
2024-04-20 14:26 Matthew Thode
2024-03-18 16:03 Matthew Thode
2024-03-03 2:27 Sam James
2024-02-25 7:16 Sam James
2024-02-25 2:52 Jakov Smolić
2024-02-24 19:10 Matthew Thode
2024-02-24 19:07 Arthur Zamarin
2024-02-24 19:06 Arthur Zamarin
2024-02-18 23:10 Matthew Thode
2024-02-10 15:45 Matthew Thode
2024-01-27 20:24 Matthew Thode
2024-01-01 20:35 Sam James
2024-01-01 20:21 Matthew Thode
2023-09-01 17:05 Arthur Zamarin
2023-05-27 15:29 Sam James
2023-04-13 1:36 Matthew Thode
2023-03-12 22:29 Matthew Thode
2023-02-25 17:45 Matthew Thode
2023-02-13 3:18 Matthew Thode
2023-01-25 20:46 Matthew Thode
2022-12-30 4:10 Matthew Thode
2022-12-25 18:51 Matthew Thode
2022-10-09 16:44 Matthew Thode
2022-07-23 20:41 Matthew Thode
2022-07-08 15:29 Matthew Thode
2022-07-08 15:29 Matthew Thode
2022-05-26 5:39 WANG Xuerui
2022-05-26 5:39 WANG Xuerui
2022-05-17 5:59 Sam James
2022-03-25 14:02 Matthew Thode
2022-03-25 14:02 Matthew Thode
2022-03-25 14:00 Matthew Thode
2022-02-22 19:47 Matthew Thode
2022-01-23 1:14 Matthew Thode
2021-12-25 4:31 Matthew Thode
2021-10-11 15:24 Matthew Thode
2021-08-24 16:00 Matthew Thode
2021-08-11 2:05 Sam James
2021-07-31 0:18 Sam James
2021-07-24 20:26 Matthew Thode
2021-07-21 2:22 Yixun Lan
2021-06-25 16:03 Matthew Thode
2021-06-09 18:13 Matthew Thode
2021-05-09 18:00 Matthew Thode
2021-04-22 19:55 Matthew Thode
2021-04-08 15:45 Matthew Thode
2021-02-09 22:59 Matthew Thode
2021-01-24 22:58 Matthew Thode
2021-01-21 19:06 Matthew Thode
2021-01-14 16:45 Matthew Thode
2020-12-19 21:55 Matthew Thode
2020-12-11 18:02 Matthew Thode
2020-11-11 20:28 Aaron Bauman
2020-11-11 17:24 Aaron Bauman
2020-11-11 17:24 Aaron Bauman
2020-11-11 17:03 Aaron Bauman
2020-11-10 18:26 Aaron Bauman
2020-09-30 18:35 Matthew Thode
2020-09-30 15:56 Matthew Thode
2020-09-15 16:29 Matthew Thode
2020-07-25 19:33 Sam James
2020-07-25 11:16 Sam James
2020-07-16 14:50 Matthew Thode
2020-06-30 20:08 Matthew Thode
2020-06-28 0:07 Aaron Bauman
2020-06-27 20:58 Matthew Thode
2020-06-18 19:00 Matthew Thode
2020-06-09 21:17 Matthew Thode
2020-05-29 15:07 Matthew Thode
2020-02-22 21:39 Matthew Thode
2020-02-22 21:39 Matthew Thode
2020-01-24 4:19 Georgy Yakovlev
2020-01-24 4:19 Georgy Yakovlev
2020-01-22 22:20 Matthew Thode
2020-01-22 22:20 Matthew Thode
2020-01-12 1:16 Matthew Thode
2020-01-11 20:02 Matthew Thode
2019-09-27 18:12 Matthew Thode
2019-09-27 18:12 Matthew Thode
2019-08-28 17:37 Matthew Thode
2019-07-24 3:23 Aaron Bauman
2019-06-27 15:25 Matthew Thode
2019-06-03 15:03 Matthew Thode
2019-06-03 15:03 Matthew Thode
2019-05-29 20:45 Aaron Bauman
2019-05-21 16:57 Matthew Thode
2019-05-11 18:18 Matthew Thode
2019-05-03 18:33 Matthew Thode
2019-05-03 18:33 Matthew Thode
2019-04-30 3:35 Matthew Thode
2019-04-24 23:11 Thomas Deutschmann
2019-04-10 5:03 Aaron Bauman
2019-04-10 3:01 Aaron Bauman
2019-03-29 21:24 Aaron Bauman
2019-03-12 13:49 Matthew Thode
2019-03-04 21:35 Matthew Thode
2019-02-28 15:51 Matthew Thode
2019-02-26 1:04 Matthew Thode
2019-02-22 22:54 Aaron Bauman
2019-02-22 22:54 Aaron Bauman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1566921784.7b957b5b3da8e4b9e83cf7d813412bace9d361c3.prometheanfire@gentoo \
--to=prometheanfire@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox