1 |
commit: 967ac35dbd88e5b4c55c3d3e104e1f78c2fc8150 |
2 |
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> |
3 |
AuthorDate: Tue Jan 11 21:43:54 2022 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 11 22:15:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967ac35d |
7 |
|
8 |
app-misc/openrgb: sync live |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
app-misc/openrgb/openrgb-9999.ebuild | 18 +++++++----------- |
15 |
1 file changed, 7 insertions(+), 11 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/openrgb/openrgb-9999.ebuild b/app-misc/openrgb/openrgb-9999.ebuild |
18 |
index a3d6ddefcc41..f9e079015112 100644 |
19 |
--- a/app-misc/openrgb/openrgb-9999.ebuild |
20 |
+++ b/app-misc/openrgb/openrgb-9999.ebuild |
21 |
@@ -1,7 +1,7 @@ |
22 |
-# Copyright 2020-2021 Gentoo Authors |
23 |
+# Copyright 2020-2022 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=7 |
27 |
+EAPI=8 |
28 |
|
29 |
inherit flag-o-matic qmake-utils |
30 |
|
31 |
@@ -20,10 +20,11 @@ fi |
32 |
DESCRIPTION="Open source RGB lighting control that doesn't depend on manufacturer software" |
33 |
HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/" |
34 |
LICENSE="GPL-2" |
35 |
-SLOT="0/1" |
36 |
+# subslot is OPENRGB_PLUGIN_API_VERSION from https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h |
37 |
+SLOT="0/2" |
38 |
|
39 |
RDEPEND=" |
40 |
- dev-libs/hidapi:= |
41 |
+ dev-libs/hidapi |
42 |
dev-qt/qtcore:5 |
43 |
dev-qt/qtgui:5 |
44 |
dev-qt/qtwidgets:5 |
45 |
@@ -40,6 +41,7 @@ BDEPEND=" |
46 |
|
47 |
PATCHES+=( |
48 |
"${FILESDIR}"/OpenRGB-0.7-plugins.patch |
49 |
+ "${FILESDIR}"/OpenRGB-0.7-udev.patch |
50 |
) |
51 |
|
52 |
src_prepare() { |
53 |
@@ -65,11 +67,5 @@ src_install() { |
54 |
|
55 |
# This is for plugins. Upstream doesn't install any headers at all. |
56 |
insinto /usr/include/OpenRGB |
57 |
- doins *.h |
58 |
- insinto /usr/include/OpenRGB/RGBController |
59 |
- doins RGBController/*.h |
60 |
- insinto /usr/include/OpenRGB/i2c_smbus |
61 |
- doins i2c_smbus/*.h |
62 |
- insinto /usr/include/OpenRGB/net_port |
63 |
- doins net_port/*.h |
64 |
+ find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" ';' || die |
65 |
} |