mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
sys-apps/rogdrv: treeclean
Closes: https://bugs.gentoo.org/860543 Closes: https://bugs.gentoo.org/897658 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
a26a96f9cc
commit
27127a4e88
@ -22,7 +22,6 @@ sys-cluster/pcs
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-05-01)
|
||||
# No supported Pythom implementations set in ebuild.
|
||||
# Masked for removal in 30 days.
|
||||
sys-apps/rogdrv
|
||||
www-apps/twint
|
||||
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-05-01)
|
||||
|
@ -1 +0,0 @@
|
||||
DIST rogdrv-0.0.5_p20210208.tar.gz 69578 BLAKE2B e163542b023423c4379b596b44b73a5c37d3c1502b0f65865bdc8dfcef2f7eb49aec9f1ca456a8bda7ad369e6bc638bc85d7f054610ce52059dbab198b9b4f36 SHA512 66a00a99409a9bf5f2a1ea887ade0408180989f671d5b4b16c40b382776cae8ad4980ca4831d7a9ade229ffa30ad0f92b56c535164a61ea6110c3e8fc889487d
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">kyokenn/rogdrv</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>ahvenas@gmail.com</email>
|
||||
<name>Henrik Pihl</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,49 +0,0 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1 linux-info udev
|
||||
|
||||
COMMIT="ebf9965192196feaae6828bc41bf3dac1d9a1e5e"
|
||||
DESCRIPTION="ASUS ROG userspace mouse driver for Linux."
|
||||
HOMEPAGE="https://github.com/kyokenn/rogdrv"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
SRC_URI="https://github.com/kyokenn/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-python/python-evdev[${PYTHON_USEDEP}]
|
||||
dev-python/cffi[${PYTHON_USEDEP}]
|
||||
dev-python/hidapi[${PYTHON_USEDEP}]
|
||||
dev-libs/libappindicator
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}"
|
||||
CONFIG_CHECK="~INPUT_UINPUT"
|
||||
|
||||
python_prepare_all() {
|
||||
# duplicate text, commited to upstream
|
||||
sed -i -e '/Comment=ASUS/d' rogdrv.desktop rogdrv/gtk3.py || die
|
||||
# udev rules are placed outside /usr
|
||||
sed -i -e '/etc[\/]udev/d' setup.py || die
|
||||
# clear setup_requires, for some reason this package
|
||||
# triggers something in setuptools that calls pip
|
||||
sed -i -e '/setup_requires/,+2d' setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
udev_dorules udev/50-rogdrv.rules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Reconnect your mouse to get your mouse working with the new rules."
|
||||
elog "See the README file for usage instructions."
|
||||
udev_reload
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user