mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
games-util/input-remapper: drop 2.2.0
Signed-off-by: Erica Nebula <EricaNebula@Proton.me>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST input-remapper-2.2.0.tar.gz 706824 BLAKE2B 3079349daf076c44dba5e88ed1fdb57a947cd935c02ee31c87d7c3cbb3925d3fe6dc28becf64250e69ef47a460441f24a069613daafc5678006f58e06a67d4f4 SHA512 af0b8140b79017d0093695e48960376989aed9ff514c47d48de32d900fddebcee6bf4e9f6bcefc15af58d073280e79d51a4a56ece071c276f15d8e2b64a17d47
|
||||
DIST input-remapper-2.2.1.tar.gz 721115 BLAKE2B 65e99f3ea2d50f975c43c5fcffdbb2ce2a999919c016d33bb8224936e5530605d2e3dfe8161e4d08a4cc90fd55d33f2c544f436a0e1f7825b03df869e2df0694 SHA512 942a13971803d1c5e1806f5dc5481eb214bff0168a7bb2800399442e4c7b1786df956b385fa7ddf1e0f4ef15248272b7c001e061adc0d53492cd0791d0f05f22
|
||||
|
||||
@@ -1,107 +0,0 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Note: 2.2.0 has Python 3.14 support (https://github.com/sezanzeb/input-remapper/pull/1184)
|
||||
# however not all dependencies have ebuilds with 3.14 support yet. (dev-python/pydbus-0.6.0-r1)
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 systemd udev desktop xdg
|
||||
|
||||
DESCRIPTION="A tool to change and program the mapping of your input device buttons"
|
||||
HOMEPAGE="https://github.com/sezanzeb/input-remapper"
|
||||
SRC_URI="https://github.com/sezanzeb/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/remove-non-python-files-from-setup.patch"
|
||||
"${FILESDIR}/fix-translations.patch"
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/gtksourceview
|
||||
x11-apps/xmodmap
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
dev-python/pydbus[${PYTHON_USEDEP}]
|
||||
dev-python/pydantic[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/evdev-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pkg-resources[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/udev
|
||||
"
|
||||
|
||||
RESTRICT=test
|
||||
|
||||
src_install() {
|
||||
# Install data files
|
||||
insinto /usr/share/input-remapper/
|
||||
doins -r "${S}"/data/*
|
||||
|
||||
# Install lang files
|
||||
insinto /usr/share/input-remapper/lang
|
||||
doins -r "${S}"/mo/*
|
||||
|
||||
# Install udev rules
|
||||
udev_dorules data/99-input-remapper.rules
|
||||
|
||||
# Install systemd service
|
||||
systemd_dounit data/input-remapper.service
|
||||
|
||||
# Install desktop file
|
||||
domenu data/input-remapper-gtk.desktop
|
||||
|
||||
# Install icon file
|
||||
doicon -s scalable data/input-remapper.svg
|
||||
|
||||
# Install audoload file
|
||||
insinto /etc/xdg/autostart
|
||||
newins data/input-remapper-autoload.desktop input-remapper-autoload.desktop
|
||||
|
||||
# Install dbus config
|
||||
insinto /usr/share/dbus-1/system.d
|
||||
newins data/inputremapper.Control.conf inputremapper.Control.conf
|
||||
|
||||
# Install polkit policy
|
||||
insinto /usr/share/polkit-1/actions
|
||||
newins data/input-remapper.policy input-remapper.policy
|
||||
|
||||
# Install metainfo
|
||||
insinto /usr/share/metainfo
|
||||
newins data/io.github.sezanzeb.input_remapper.metainfo.xml io.github.sezanzeb.input_remapper.metainfo.xml
|
||||
|
||||
# Install bin files
|
||||
exeinto /usr/bin
|
||||
newexe bin/input-remapper-gtk input-remapper-gtk
|
||||
newexe bin/input-remapper-service input-remapper-service
|
||||
newexe bin/input-remapper-control input-remapper-control
|
||||
newexe bin/input-remapper-reader-service input-remapper-reader-service
|
||||
|
||||
# Install python site-packages files
|
||||
distutils-r1_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
udev_reload
|
||||
|
||||
einfo ""
|
||||
einfo "This version of input-remapper relies on reprecated dependencies (dev-python/pkg-resources) and additionally cannot support python 3.14."
|
||||
einfo ""
|
||||
einfo "It is recommended to switch to the live ebuild, where both of these issues have been fixed, until the author releases a new version."
|
||||
einfo ""
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
udev_reload
|
||||
}
|
||||
Reference in New Issue
Block a user