mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
Adds xdg eclass to resolve the issue where icons were being installed but the icon-cache was not being regenerated. Closes: https://bugs.gentoo.org/975160 Signed-off-by: Erica Nebula <EricaNebula@Proton.me>
45 lines
880 B
Bash
45 lines
880 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
|
|
inherit distutils-r1 meson udev xdg git-r3
|
|
|
|
DESCRIPTION="Steering Wheel Manager for Linux"
|
|
HOMEPAGE="https://github.com/berarma/oversteer"
|
|
EGIT_REPO_URI="https://github.com/berarma/oversteer.git"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
|
|
RDEPEND="
|
|
dev-python/pygobject[${PYTHON_USEDEP}]
|
|
dev-python/pyudev[${PYTHON_USEDEP}]
|
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
|
dev-python/evdev[${PYTHON_USEDEP}]
|
|
sys-devel/gettext
|
|
dev-libs/appstream-glib
|
|
dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
|
|
dev-python/scipy[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
-Dpython.bytecompile=2
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
udev_reload
|
|
}
|
|
|
|
pkg_postrm() {
|
|
udev_reload
|
|
}
|