gui-apps/swayr - 0.28.2 (guru)

Search

Install

Install this version:

emerge -a =gui-apps/swayr-0.28.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/swayr-0.28.2

Or alternatively:

emerge --autounmask-write -a =gui-apps/swayr-0.28.2

Package Information

Description:
A LRU window-switcher (and more) for the sway window manager
Homepage:
https://sr.ht/~tsdh/swayr/
License:
GPL-3+ Apache-2.0 BSD-2 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 openssl Unicode-3.0

Ebuild Details

Version EAPI Keywords Slot
0.28.2 8 ~amd64 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Manifest for 0.28.2

Type File Size Source URLs
DIST swayr-0.28.2.tar.gz 1039136 bytes https://git.sr.ht/~tsdh/swayr/archive/swayr-0.28.2.tar.gz
DIST swayr-swayr-0.28.2-crates.tar.xz 33020984 bytes https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/swayr-swayr-0.28.2/swayr-swayr-0.28.2-crates.tar.xz