1 |
commit: 2b26584a7594b291b3e0e3a51691faa1a720afea |
2 |
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> |
3 |
AuthorDate: Tue Jan 11 21:46:46 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=2b26584a |
7 |
|
8 |
app-misc/openrgb-plugin-effects: update to openrgb 0.7 |
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-plugin-effects/Manifest | 1 + |
15 |
.../openrgb-plugin-effects-0_p20220110-dep.patch | 16 +++++++ |
16 |
.../openrgb-plugin-effects-0_p20220110.ebuild | 49 ++++++++++++++++++++++ |
17 |
3 files changed, 66 insertions(+) |
18 |
|
19 |
diff --git a/app-misc/openrgb-plugin-effects/Manifest b/app-misc/openrgb-plugin-effects/Manifest |
20 |
index b88ac276fe9e..55c32040a0ed 100644 |
21 |
--- a/app-misc/openrgb-plugin-effects/Manifest |
22 |
+++ b/app-misc/openrgb-plugin-effects/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
+DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 255129 BLAKE2B 8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0 SHA512 386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e |
25 |
DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 345726 BLAKE2B e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5 SHA512 134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f |
26 |
|
27 |
diff --git a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch |
28 |
new file mode 100644 |
29 |
index 000000000000..7ab0f2ca75f9 |
30 |
--- /dev/null |
31 |
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch |
32 |
@@ -0,0 +1,16 @@ |
33 |
+Fix dependency on app-misc/openrgb |
34 |
+ |
35 |
+--- a/OpenRGBEffectsPlugin.pro |
36 |
++++ b/OpenRGBEffectsPlugin.pro |
37 |
+@@ -64,11 +64,6 @@ HEADERS += |
38 |
+ OpenRGB/qt/hsv.h \ |
39 |
+ |
40 |
+ |
41 |
+-SOURCES += \ |
42 |
+- OpenRGB/RGBController/RGBController.cpp \ |
43 |
+- OpenRGB/dependencies/ColorWheel/ColorWheel.cpp \ |
44 |
+- OpenRGB/qt/hsv.cpp \ |
45 |
+- |
46 |
+ #-----------------------------------------------------------------------------------------------# |
47 |
+ # QCodeEditor # |
48 |
+ #-----------------------------------------------------------------------------------------------# |
49 |
|
50 |
diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild |
51 |
new file mode 100644 |
52 |
index 000000000000..0d8ec005a69c |
53 |
--- /dev/null |
54 |
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild |
55 |
@@ -0,0 +1,49 @@ |
56 |
+# Copyright 2020-2022 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=8 |
60 |
+ |
61 |
+inherit qmake-utils |
62 |
+ |
63 |
+MY_GIT_COMMIT="a7222bdbcd3c52e13d96993a33c5648f1306aeba" |
64 |
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2" |
65 |
+S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}" |
66 |
+KEYWORDS="~amd64" |
67 |
+ |
68 |
+DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices" |
69 |
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin" |
70 |
+LICENSE="GPL-2" |
71 |
+SLOT="0" |
72 |
+ |
73 |
+RDEPEND=" |
74 |
+ >=app-misc/openrgb-0.7:= |
75 |
+ dev-qt/qtcore:5 |
76 |
+ dev-qt/qtgui:5 |
77 |
+ dev-qt/qtwidgets:5 |
78 |
+ media-libs/openal |
79 |
+" |
80 |
+DEPEND=" |
81 |
+ ${RDEPEND} |
82 |
+ dev-cpp/nlohmann_json |
83 |
+" |
84 |
+ |
85 |
+PATCHES=( |
86 |
+ "${FILESDIR}/openrgb-plugin-effects-0_p20220110-dep.patch" |
87 |
+) |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ default |
91 |
+ rm -r OpenRGB || die |
92 |
+ ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die |
93 |
+ sed -e '/^GIT_/d' -i *.pro || die |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ eqmake5 \ |
98 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ exeinto /usr/$(get_libdir)/OpenRGB/plugins |
103 |
+ doexe libOpenRGBEffectsPlugin.so.1.0 |
104 |
+} |