diff options
Diffstat (limited to 'app-misc/solaar/solaar-9999.ebuild')
-rw-r--r-- | app-misc/solaar/solaar-9999.ebuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/app-misc/solaar/solaar-9999.ebuild b/app-misc/solaar/solaar-9999.ebuild index 502ef240ea40..dbd439b70312 100644 --- a/app-misc/solaar/solaar-9999.ebuild +++ b/app-misc/solaar/solaar-9999.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 +DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit linux-info udev xdg distutils-r1 @@ -15,7 +16,7 @@ if [[ ${PV} =~ 9999* ]]; then EGIT_REPO_URI="https://github.com/pwr-Solaar/Solaar" else SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> ${P/_rc/rc}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" S="${WORKDIR}"/Solaar-${PV/_rc/rc} fi @@ -26,18 +27,18 @@ IUSE="doc appindicator libnotify" RDEPEND=" acct-group/plugdev $(python_gen_cond_dep ' + dev-python/evdev[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-evdev[${PYTHON_USEDEP}] dev-python/python-xlib[${PYTHON_USEDEP}] >=dev-python/pyudev-0.13[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] ') x11-libs/gtk+:3[introspection] - appindicator? ( dev-libs/libappindicator:3[introspection] ) + appindicator? ( dev-libs/libayatana-appindicator ) libnotify? ( x11-libs/libnotify[introspection] )" -# libappindicator & libnotify are entirely optional and detected at runtime +# libayatana-appindicator & libnotify are entirely optional and detected at runtime CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW" @@ -60,7 +61,7 @@ python_prepare_all() { python_install_all() { distutils-r1_python_install_all - dodoc docs/devices.md ChangeLog.md + dodoc docs/devices.md CHANGELOG.md if use doc; then dodoc -r docs/* else @@ -71,4 +72,10 @@ python_install_all() { pkg_postinst() { udev_reload + xdg_pkg_postinst +} + +pkg_postrm() { + udev_reload + xdg_pkg_postrm } |