commit: 08544d9afaff2107bc9ec6ee919371a3f41df44f Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Wed Apr 7 23:04:04 2021 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Wed Apr 7 23:04:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08544d9a
x11-wm/xpra: Fix udev rule installation path Although /usr/lib/udev is mentioned in udev's documentation, Gentoo typically uses /lib/udev so move the directory. Closes: https://bugs.gentoo.org/777867 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> x11-wm/xpra/xpra-4.1.2.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/x11-wm/xpra/xpra-4.1.2.ebuild b/x11-wm/xpra/xpra-4.1.2.ebuild index 65e29330271..cde55d55195 100644 --- a/x11-wm/xpra/xpra-4.1.2.ebuild +++ b/x11-wm/xpra/xpra-4.1.2.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_SINGLE_IMPL=yes DISTUTILS_USE_SETUPTOOLS=no -inherit xdg distutils-r1 tmpfiles prefix +inherit xdg distutils-r1 tmpfiles prefix udev DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" HOMEPAGE="https://xpra.org/" @@ -157,3 +157,12 @@ python_configure_all() { export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra" } + +python_install_all() { + distutils-r1_python_prepare_all + + # Move udev dir to the right place. + local dir=$(get_udevdir) + dodir "${dir%/*}" + mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die +}