gui-apps/swayr: add 0.28.2

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
Nicolas PARLANT
2026-01-09 08:15:27 +01:00
parent 565650d162
commit cecafc7960
2 changed files with 44 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
DIST swayr-0.28.0.tar.gz 1021140 BLAKE2B 03ec0d5001de97249f58abc7b5198d32e639fced9e48b3169ac892a3391d5a0168cdc5a3f2c296475b82e649b670d58f76b65e442256ddaaf49638cf8a714419 SHA512 cdb4968dd88b8c1ae62a0e7c7534d629e477f82ed059c7e13bdfa59333cbde4d8525b988c9f57f9236613574301b673e9558df7cf4187e626230936a584ff368
DIST swayr-0.28.1.tar.gz 1022215 BLAKE2B 1ade9ca32ba6d2b833c734ac90a9d3b503f9c20b138484c636d90c595cc416c5ed9f1d42d0925e1afeee63cb2af96de88cc3143ac460d781694f06f4ccc411ad SHA512 03b822f4e5716ceaa5bbb5f39635d740126ac4ade8c32444b9f29269a613df5231dde39b984fb3172a69e852f3b60752569ba764ab941528d73c30571a682188
DIST swayr-0.28.2.tar.gz 1039136 BLAKE2B f7882a914471d92d8e88415708696003ae8a8cbd63865d16f711393cb4380364780321e1b219f1430d4bfb602464b315a549d9e0d2be5ff863d33f425b231445 SHA512 1c70ef676e9c3156f169c9d0e7b32564bedb32e37a807d0cefb6162edbc234bc9d3c21af9b981a1569be65ce2ea5ac37ed3615a9976c832190f10fa12dd276da
DIST swayr-swayr-0.28.0-crates.tar.xz 16771216 BLAKE2B a3b063a52cad50573f27560d0edcc260a73b10725bc13306f94f6f2c9e3ddadb0951b3239051eca62a039f50148b51f3e7fbdceca910d2df4214f2d9d19319c3 SHA512 476d0d9322372fff094af5189c7a3f12284cb4873f722ba6023ab2092ef950ae0a8333922fdd4a50d1030fa4e9bb6346f55efaea2812f0cf9772840a06b96d8f
DIST swayr-swayr-0.28.1-crates.tar.xz 16983532 BLAKE2B 22d70056953fab5db8a0258fa55a65fa15dd8141d02117f4cf5c51d9f5a363f843b4e080193c71aaf0e00b761f3977280bab4e1286ee27174e8e0910b14503ee SHA512 5e457dfa496b46ceb24a3b36f111c4234ef91815605fea1698689bb9c7318698a6f46e9860e670b20fe737565bcdfa8eff58b82e6d120a3f11467c59a60c52e6
DIST swayr-swayr-0.28.2-crates.tar.xz 33020984 BLAKE2B 0033c466d70b68f5e8b94f12fa7360a0aa6539df47c0c1bb2deb5025e593e121eb81d81362f307934514afd4172ae63c3a4da6201ea66ec49cd27f1f09877586 SHA512 65565f8435a3cfefc92ce80c220c180d5f059b81b103c74d4e56425c9271bcca79381247c169fcaf0c94173cc161b67d7ed589fcfb478d6298d98e8c311dacdc

View File

@@ -0,0 +1,42 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
RUST_MIN_VER="1.88.0"
inherit cargo systemd
DESCRIPTION="A LRU window-switcher (and more) for the sway window manager"
HOMEPAGE="https://sr.ht/~tsdh/swayr/"
SRC_URI="https://git.sr.ht/~tsdh/swayr/archive/${P}.tar.gz"
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/swayr-${P}/swayr-${P}-crates.tar.xz"
S="${WORKDIR}/swayr-${P}"
LICENSE="GPL-3+"
# Autogenerated by pycargoebuild
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD-2 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 openssl
Unicode-3.0
"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="
/usr/bin/swayr
/usr/bin/swayrd
"
src_prepare() {
default
sed -i -e '/^lto =/d' -e 's/^strip = "symbols"$/strip = false/g' Cargo.toml || die "failed to sed Cargo.toml"
}
src_install() {
cargo_src_install --path ${PN}
systemd_newunit ${PN}/etc/swayrd.service swayrd.service
}