gui-apps/xremap: add 0.15.9

Signed-off-by: Daichi Yamamoto <dev@dyama.net>
This commit is contained in:
Daichi Yamamoto
2026-07-05 17:01:20 +09:00
parent 628c5c8177
commit 9139187060
2 changed files with 81 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST xremap-0.15.8-crates.tar.xz 14325904 BLAKE2B fcb8d0ccfbb1b2b27e2d1682b9e09c03a69c7fe8c0b9e7b230c0644a314f3cf4532e529018df7b6df7268aa1ac14c2f8d4694253426c2255203fbc25f8c9e2a6 SHA512 6145c7fe0e6c2141a6601e8b5f31c36e5c7f1e65d33f3f2b7fc1807762093d051eb9c5a5aee1c5f0d68c0688b64fbbcd50cbb4ece424adb8f02ae5afa231a62c
DIST xremap-0.15.8.tar.gz 146535 BLAKE2B f9dee215b5ec3988a42c773822595907e435216110a1b75676240e7d5b6e809eb741f14a1c4e1c736f638e646b9a5cb9047aa574bd71749b32b869ca3a1de0d8 SHA512 c2320afe78084383d102c5b0ed725de76d7a0c0986decbe58cb856d1b19a028dbfde7b19dfece3df7ab42fc7d6050a110fdae4ec9cea9159197761c62d7ff07d
DIST xremap-0.15.9-crates.tar.xz 14336144 BLAKE2B 4eda4f8033540f780500219b7e28b62a57c7c4775666f9989cdf39cdc02037a1b9689a04da4c0eac7acfbcbd916c54901e9b5b016be19907ecc8f7f18a2a967f SHA512 f05d71d62089bff465ecb43c47a3481afe4b59f2fba785057ea83c7572c4838e8fa0645bae1e23329ced23e07e5590e9413b81eca973a5ba259c3a556c77bda7
DIST xremap-0.15.9.tar.gz 146628 BLAKE2B dcfed275b6577b115efbd6f432bfe8cadafc58e32d00c465b12d069d9e4d84fbfca84e3b13d0073b53ea502ef0015b6395a69b12b06cd99f56919ce2813a976e SHA512 9990e75373c3242d0eae570b4be5018f857d3677b3b1771ce482e94278e69a757864f5a05c7284a6f5cb16a6c3487319bfb2b43b81e49c0bbda085c252903945

View File

@@ -0,0 +1,79 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.16.0
EAPI=8
CRATES="
"
RUST_MIN_VER="1.88.0"
inherit cargo systemd udev
DESCRIPTION="Dynamic key remap for X and Wayland"
HOMEPAGE="https://github.com/xremap/xremap"
SRC_URI="
https://github.com/xremap/xremap/archive/v${PV}/${P}.tar.gz
https://github.com/yamader/gentoo-deps/releases/download/${P}/${P}-crates.tar.xz
"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD GPL-3+ MIT Unicode-3.0 ZLIB"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cosmic gnome hyprland kde niri pantheon socket udev wlroots x11"
REQUIRED_USE="?? ( cosmic gnome hyprland kde niri pantheon socket wlroots x11 )"
DEPEND="udev? ( virtual/libudev )"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )
QA_FLAGS_IGNORED=".*"
src_configure() {
local myfeatures=(
$(usev gnome)
$(usev x11)
$(usev hyprland hypr)
$(usev kde)
$(usev wlroots)
$(usev udev)
$(usev niri)
$(usev cosmic)
$(usev socket)
$(usev pantheon)
)
cargo_src_configure --no-default-features
}
src_install() {
cargo_src_install
insinto /etc/xremap
doins example/config.yml
doins example/emacs.yml
insinto /etc/xdg/autostart
doins example/xremap.desktop
systemd_douserunit example/xremap.service
insinto /usr/lib/modules-load.d
doins "${FILESDIR}"/xremap-uinput.conf
use udev && udev_newrules "${FILESDIR}"/xremap-input.rules 99-xremap-input.rules
einstalldocs
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}