1 |
commit: d90c4128d5449d92fd016832a38120258e8a2813 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 12 15:42:24 2019 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 12 15:44:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90c4128 |
7 |
|
8 |
sci-libs/libsigrok: Install udev rules, bug #671716 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/671716 |
11 |
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
13 |
|
14 |
sci-libs/libsigrok/libsigrok-0.5.1.ebuild | 7 ++++--- |
15 |
sci-libs/libsigrok/libsigrok-9999.ebuild | 7 ++++--- |
16 |
2 files changed, 8 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/libsigrok/libsigrok-0.5.1.ebuild b/sci-libs/libsigrok/libsigrok-0.5.1.ebuild |
19 |
index 8ebbf15dc3d..5c92de1d5d3 100644 |
20 |
--- a/sci-libs/libsigrok/libsigrok-0.5.1.ebuild |
21 |
+++ b/sci-libs/libsigrok/libsigrok-0.5.1.ebuild |
22 |
@@ -1,11 +1,11 @@ |
23 |
-# Copyright 1999-2018 Gentoo Authors |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI="6" |
28 |
|
29 |
PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) |
30 |
|
31 |
-inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 xdg-utils |
32 |
+inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 udev xdg-utils |
33 |
|
34 |
if [[ ${PV} == "9999" ]]; then |
35 |
EGIT_REPO_URI="git://sigrok.org/${PN}" |
36 |
@@ -20,7 +20,7 @@ HOMEPAGE="https://sigrok.org/wiki/Libsigrok" |
37 |
|
38 |
LICENSE="GPL-3" |
39 |
SLOT="0/4" |
40 |
-IUSE="cxx ftdi java parport python serial static-libs test usb" |
41 |
+IUSE="cxx ftdi java parport python serial static-libs test +udev usb" |
42 |
REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} )" |
43 |
|
44 |
# We also support librevisa, but that isn't in the tree ... |
45 |
@@ -78,6 +78,7 @@ src_test() { |
46 |
|
47 |
src_install() { |
48 |
default |
49 |
+ use udev && udev_dorules contrib/*.rules |
50 |
prune_libtool_files |
51 |
} |
52 |
|
53 |
|
54 |
diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild |
55 |
index 694f44c3d60..4c9fa1e4807 100644 |
56 |
--- a/sci-libs/libsigrok/libsigrok-9999.ebuild |
57 |
+++ b/sci-libs/libsigrok/libsigrok-9999.ebuild |
58 |
@@ -1,11 +1,11 @@ |
59 |
-# Copyright 1999-2018 Gentoo Authors |
60 |
+# Copyright 1999-2019 Gentoo Authors |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
|
63 |
EAPI="6" |
64 |
|
65 |
PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) |
66 |
|
67 |
-inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 xdg-utils |
68 |
+inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 udev xdg-utils |
69 |
|
70 |
if [[ ${PV} == "9999" ]]; then |
71 |
EGIT_REPO_URI="git://sigrok.org/${PN}" |
72 |
@@ -20,7 +20,7 @@ HOMEPAGE="https://sigrok.org/wiki/Libsigrok" |
73 |
|
74 |
LICENSE="GPL-3" |
75 |
SLOT="0/9999" |
76 |
-IUSE="cxx ftdi java parport python serial static-libs test usb" |
77 |
+IUSE="cxx ftdi java parport python serial static-libs test +udev usb" |
78 |
REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} )" |
79 |
|
80 |
# We also support librevisa, but that isn't in the tree ... |
81 |
@@ -78,6 +78,7 @@ src_test() { |
82 |
|
83 |
src_install() { |
84 |
default |
85 |
+ use udev && udev_dorules contrib/*.rules |
86 |
prune_libtool_files |
87 |
} |