1 |
commit: efce5c2a024c846814fcff506088ef6a43b06ee8 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Tue Jun 22 21:17:01 2021 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 22 23:00:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efce5c2a |
7 |
|
8 |
app-misc/openrgb-plugin-visualmap: new package |
9 |
|
10 |
https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin |
11 |
|
12 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
13 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
14 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
15 |
|
16 |
app-misc/openrgb-plugin-visualmap/Manifest | 1 + |
17 |
app-misc/openrgb-plugin-visualmap/metadata.xml | 15 +++++++ |
18 |
.../openrgb-plugin-visualmap-0_p20210614.ebuild | 47 ++++++++++++++++++++++ |
19 |
3 files changed, 63 insertions(+) |
20 |
|
21 |
diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..1f301c65ac4 |
24 |
--- /dev/null |
25 |
+++ b/app-misc/openrgb-plugin-visualmap/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST OpenRGBVisualMapPlugin-b603bb994719c765cc52c116c6f9f3983fc2a7b2.tar.bz2 45381 BLAKE2B e289f952a8f6553ff81a557753cbb94fb56111a6724f3141fc44a2f1abe9fa3d8e8b4eb769b54adfcb8ee6580d26378ca0b15fd83c14eb669e4682dad07729b8 SHA512 aab553dff55bc4d6990657ad9f29dbbe5ab78dfb532dba50923b32c2bb86ced8d37fc1190dca1b59f420aba7f0db81fbd0d35d49e499e19b9efa4638269a784d |
28 |
|
29 |
diff --git a/app-misc/openrgb-plugin-visualmap/metadata.xml b/app-misc/openrgb-plugin-visualmap/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..6a2173ad187 |
32 |
--- /dev/null |
33 |
+++ b/app-misc/openrgb-plugin-visualmap/metadata.xml |
34 |
@@ -0,0 +1,15 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="person"> |
39 |
+ <email>chutzpah@g.o</email> |
40 |
+ <name>Patrick McLean</name> |
41 |
+ </maintainer> |
42 |
+ <maintainer type="person" proxied="yes"> |
43 |
+ <email>alexey+gentoo@××××××××.org</email> |
44 |
+ <name>Alexey Sokolov</name> |
45 |
+ </maintainer> |
46 |
+ <upstream> |
47 |
+ <remote-id type="gitlab">OpenRGBDevelopers/OpenRGBEffectsPlugin</remote-id> |
48 |
+ </upstream> |
49 |
+</pkgmetadata> |
50 |
|
51 |
diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000000..c7569869352 |
54 |
--- /dev/null |
55 |
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild |
56 |
@@ -0,0 +1,47 @@ |
57 |
+# Copyright 2020-2021 Gentoo Authors |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=7 |
61 |
+ |
62 |
+inherit qmake-utils |
63 |
+ |
64 |
+MY_GIT_COMMIT="b603bb994719c765cc52c116c6f9f3983fc2a7b2" |
65 |
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2" |
66 |
+S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}" |
67 |
+KEYWORDS="~amd64" |
68 |
+ |
69 |
+DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real ones" |
70 |
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin" |
71 |
+LICENSE="GPL-2" |
72 |
+SLOT="0" |
73 |
+ |
74 |
+RDEPEND=" |
75 |
+ >=app-misc/openrgb-0.6-r1:= |
76 |
+ dev-qt/qtcore:5 |
77 |
+ dev-qt/qtgui:5 |
78 |
+ dev-qt/qtwidgets:5 |
79 |
+" |
80 |
+DEPEND=" |
81 |
+ ${RDEPEND} |
82 |
+ dev-cpp/nlohmann_json |
83 |
+" |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ default |
87 |
+ rm -r OpenRGB || die |
88 |
+ sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || die |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ eqmake5 \ |
93 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \ |
94 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \ |
95 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \ |
96 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \ |
97 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port" |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ exeinto /usr/$(get_libdir)/OpenRGB/plugins |
102 |
+ doexe libOpenRGBVisualMapPlugin.so.1.0.0 |
103 |
+} |