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