summaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
commit2be329ae14bbf99f0fc4de7567e2386bbb529fdc (patch)
tree99e1d21f40429392d5eb255ec008fdd96e4fa284 /gui-wm
parent2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b (diff)
gentoo auto-resync : 09:11:2024 - 03:03:12HEADmaster
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/Manifest.gzbin1213 -> 1209 bytes
-rw-r--r--gui-wm/sway/Manifest4
-rw-r--r--gui-wm/sway/sway-1.10.ebuild113
-rw-r--r--gui-wm/sway/sway-9999.ebuild10
4 files changed, 121 insertions, 6 deletions
diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz
index 00d794da738c..0e6b20c6eff5 100644
--- a/gui-wm/Manifest.gz
+++ b/gui-wm/Manifest.gz
Binary files differ
diff --git a/gui-wm/sway/Manifest b/gui-wm/sway/Manifest
index 66d5f7ac8d74..3ba192e6341e 100644
--- a/gui-wm/sway/Manifest
+++ b/gui-wm/sway/Manifest
@@ -1,5 +1,7 @@
AUX sway-portals.conf 216 BLAKE2B d30b62bb142802e5067c2829d69faba87b07c8a36661f43473b0a107fd57d020b3dcc5e7a1967a1fca13b7a5e9140063b7285c44b766f67002213521d676b1ab SHA512 790741df028822bf4d83170dea57e1c63f7d7938cf31969e4cd347b0fc07330322b603c9ec0091b7a3f425132bed9dee6f261074cc273555120858beaaaf5da1
+DIST sway-1.10.tar.gz 5581219 BLAKE2B c2b2bb0155b141faadc5946b65d25a8478bdf7647250d6bc47deb30aab33475b442e65d6740f30e2bd5ed91c2aeb8815b80fb41b812bf2995fb54444b4b5cc4e SHA512 d5585fe85d8dfc66f12fc4a48f6883025b7906436f0f457094b6aff12896bdb85891aa0e95bbed5c64374d39a3078c8de097ca5959145251974aa29209bc5e07
DIST sway-1.9.tar.gz 5581281 BLAKE2B 11d90866e3d12a76880f41e006be5ae7f3a3b1e6cbeb2412d30b673be91be7f60523dcce2892579e1da76de1d0498e0669138aa953bf1f595b97123720812e06 SHA512 7ec0a29078eb7e0fb1b6af97613c263adec78ddb03a63cb75fb5e44c7241ed144687fd094ee2eb70f4397832ca9bdffc88bc32dee7683bf0e515417c7a05d4c4
+EBUILD sway-1.10.ebuild 2648 BLAKE2B 5072bbc7cb4aa898592d6b4e48fde86de4b6ddaf6ca2b307af0009908b74f02299cd8e66551a5d14f337d850df9fce2f9a7760a72898f39c4efbc015d227e245 SHA512 96faf66cfe524b2d300f15c3a49f9a927be2c7e27840500d1eae8a2b2b671b5d80a09b48c168dd2994a49915d11315436db4379ed3f76facb53ecb5d2e4edc54
EBUILD sway-1.9-r1.ebuild 2675 BLAKE2B 24bebac0e03fb711ca35ef9f1573cbc6e93e328b44ecdc4c820d8eb1547f20ea282b7d47e80bbba1ac880ad4f47da30303aa8c9bca76e1ef40fdd0dcaccf13ff SHA512 2400edfa580ecce14f2fdc2e825557d682b21bbd5dadf609d10e0769b3dcb1007ba75aed3b6c311dc6ec8fada33ccd5720d84d2a640dafd3032b5a483fc85295
-EBUILD sway-9999.ebuild 2559 BLAKE2B 03f1fb476824cf29bfc7a4440c1a11bc4fe04f25288fd14a70f110e2fa14d030466d9044c067c889a2e13f4a00887b9fda52c95bbf2e76e8d4dc17c10368de6d SHA512 e50ec884d098e1e6e44ec836f62a11a500963c8498f07525d4ecac37e6d051377a49f755d30c046a377145e17b89031cdd48ce615271f2b8707bc51067e5e991
+EBUILD sway-9999.ebuild 2556 BLAKE2B 39d43b41de526d381ae4a1f131bfb16b36263962b44591b8e8e2bd270b29f052728695de24d2572ec29a4fe09d63b0b324309785e3a2262a31c8cd900607f747 SHA512 e50e98e69ee4cc37f70f2fe41ab1781ae5e8e016f8b62298872251606b72aeb3bb2893b9c4e0fdffbad64e04f0d3fd7d8f4df4cfab0bc5345d0fdc302ef96c56
MISC metadata.xml 1721 BLAKE2B 39795f8d7c4a736141417e267e2c4645f4f963107c47516747c7fbc1643ed2e9787812c5571369b795e3648d4801dff32c062bf2db6d80ce79735d1be65b8ac8 SHA512 458d2adb61ecb91cc9d589409c69bffa7dee51328a557567e66c21eeff7e23eadaf36a04ca9fae32aa9d6edf1e28fa1bcba62f3e185699a8c08785f84977bb88
diff --git a/gui-wm/sway/sway-1.10.ebuild b/gui-wm/sway/sway-1.10.ebuild
new file mode 100644
index 000000000000..8aad54a701c3
--- /dev/null
+++ b/gui-wm/sway/sway-1.10.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps meson optfeature
+
+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 ~loong ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="+man +swaybar +swaynag tray wallpapers X"
+REQUIRED_USE="tray? ( swaybar )"
+
+DEPEND="
+ >=dev-libs/json-c-0.13:0=
+ >=dev-libs/libinput-1.26.0:0=
+ virtual/libudev
+ sys-auth/seatd:=
+ dev-libs/libpcre2
+ >=dev-libs/wayland-1.21.0
+ x11-libs/cairo
+ >=x11-libs/libxkbcommon-1.5.0:0=
+ x11-libs/pango
+ x11-libs/pixman
+ media-libs/libglvnd
+ swaybar? ( x11-libs/gdk-pixbuf:2 )
+ tray? ( || (
+ sys-apps/systemd
+ sys-auth/elogind
+ sys-libs/basu
+ ) )
+ wallpapers? ( gui-apps/swaybg[gdk-pixbuf(+)] )
+ X? (
+ x11-libs/libxcb:0=
+ x11-libs/xcb-util-wm
+ )
+"
+# x11-libs/xcb-util-wm needed for xcb-iccm
+if [[ ${PV} == 9999 ]]; then
+ DEPEND+="~gui-libs/wlroots-9999:=[X?]"
+else
+ DEPEND+="
+ >=gui-libs/wlroots-0.18:=[X?]
+ <gui-libs/wlroots-0.19:=[X?]
+ "
+fi
+RDEPEND="
+ x11-misc/xkeyboard-config
+ ${DEPEND}
+"
+BDEPEND="
+ >=dev-libs/wayland-protocols-1.24
+ >=dev-build/meson-0.60.0
+ virtual/pkgconfig
+"
+if [[ ${PV} == 9999 ]]; then
+ BDEPEND+="man? ( ~app-text/scdoc-9999 )"
+else
+ BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
+fi
+
+FILECAPS=(
+ cap_sys_nice usr/bin/${PN} # bug 919298
+)
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature man man-pages)
+ $(meson_feature tray)
+ $(meson_feature swaybar gdk-pixbuf)
+ $(meson_use swaynag)
+ $(meson_use swaybar)
+ $(meson_use wallpapers default-wallpaper)
+ -Dfish-completions=true
+ -Dzsh-completions=true
+ -Dbash-completions=true
+ )
+
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ insinto /usr/share/xdg-desktop-portal
+ doins "${FILESDIR}/sway-portals.conf"
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+
+ optfeature_header "There are several packages that may be useful with sway:"
+ optfeature "wallpaper utility" gui-apps/swaybg
+ optfeature "idle management utility" gui-apps/swayidle
+ optfeature "simple screen locker" gui-apps/swaylock
+ optfeature "lightweight notification daemon" gui-apps/mako
+ echo
+ einfo "For a list of additional addons and tools usable with sway please"
+ einfo "visit the official wiki at:"
+ einfo "https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway"
+ einfo "Please note that some of them might not (yet) available on gentoo"
+}
diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild
index 44eee21b7432..4a23b9dd3cd9 100644
--- a/gui-wm/sway/sway-9999.ebuild
+++ b/gui-wm/sway/sway-9999.ebuild
@@ -25,11 +25,11 @@ REQUIRED_USE="tray? ( swaybar )"
DEPEND="
>=dev-libs/json-c-0.13:0=
- >=dev-libs/libinput-1.21.0:0=
+ >=dev-libs/libinput-1.26.0:0=
virtual/libudev
sys-auth/seatd:=
dev-libs/libpcre2
- >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-1.21.0
x11-libs/cairo
>=x11-libs/libxkbcommon-1.5.0:0=
x11-libs/pango
@@ -52,8 +52,8 @@ if [[ ${PV} == 9999 ]]; then
DEPEND+="~gui-libs/wlroots-9999:=[X?]"
else
DEPEND+="
- >=gui-libs/wlroots-0.17:=[X?]
- <gui-libs/wlroots-0.18:=[X?]
+ >=gui-libs/wlroots-0.19:=[X?]
+ <gui-libs/wlroots-0.20:=[X?]
"
fi
RDEPEND="
@@ -62,7 +62,7 @@ RDEPEND="
"
BDEPEND="
>=dev-libs/wayland-protocols-1.24
- >=dev-build/meson-0.60.0
+ >=dev-build/meson-1.3
virtual/pkgconfig
man? ( >=app-text/scdoc-1.11.3 )
"