gui-apps/uwsm: new package, add 0.21.5

Signed-off-by: Kenton Groombridge <concord@gentoo.org>
This commit is contained in:
Kenton Groombridge 2025-05-29 12:37:34 -04:00
parent 30450cffa2
commit e44e3968e4
No known key found for this signature in database
GPG Key ID: 16DEEFE55F45B79E
4 changed files with 72 additions and 1 deletions

1
gui-apps/uwsm/Manifest Normal file
View File

@ -0,0 +1 @@
DIST uwsm-0.21.5.tar.gz 98122 BLAKE2B 027d49fc892514fe333d4404aa307bf3c0b1849b6fc4326ff55971aac2d177642ff86da86301b26cb0b8980694eabbdbc300ebd1dfb3419784f3c1bd461a7e3c SHA512 d005a2dc4af73f5edfbdbe4e4f5657f078c22110ff26e8fda451cc4d1ac1995f2c36d9480ea7b89e830070da69b35a3bd60048f45d22b77e30156a7e0a718e32

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Kenton Groombridge</name>
<email>concord@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">Vladimir-csp/uwsm</remote-id>
<bugs-to>https://github.com/Vladimir-csp/uwsm/issues</bugs-to>
</upstream>
<longdescription>
Wraps standalone Wayland compositors into a set of Systemd units on the fly.
This provides robust session management including environment, XDG autostart
support, bi-directional binding with login session, and clean shutdown.
For compositors this is an opportunity to offload Systemd integration and
session/XDG autostart management in Systemd-managed environments.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,51 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit meson optfeature python-single-r1
DESCRIPTION="Universal Wayland Session Manager"
HOMEPAGE="https://github.com/Vladimir-csp/uwsm"
SRC_URI="https://github.com/Vladimir-csp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+man"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
')
"
RDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
-Duuctl=enabled
-Dfumon=enabled
-Duwsm-app=enabled
$(meson_feature man man-pages)
-Ddocdir=/usr/share/doc/"${PF}"
)
meson_src_configure
}
src_install() {
meson_src_install
python_optimize "${ED}/usr/share/${PN}"
}
pkg_postinst() {
optfeature "TUI selection menu feature" dev-libs/newt
optfeature "GUI selection menu for uuctl" gui-apps/wofi
optfeature "GUI selection menu for uuctl" x11-misc/dmenu
optfeature "GUI selection menu for uuctl" x11-misc/rofi
optfeature "notifications from uwsm commands and services (notify-send)" x11-libs/libnotify
}

View File

@ -19,7 +19,6 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
dev-python/natsort[${PYTHON_USEDEP}]