1 |
commit: 8cad25395e919a3905450e081e6c3e0f900c6858 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Tue Jun 22 21:16:04 2021 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 22 23:00:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cad2539 |
7 |
|
8 |
app-misc/openrgb-plugin-skin: new package |
9 |
|
10 |
https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin |
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-skin/Manifest | 1 + |
17 |
app-misc/openrgb-plugin-skin/metadata.xml | 15 +++++++ |
18 |
.../openrgb-plugin-skin-0_p20210601.ebuild | 46 ++++++++++++++++++++++ |
19 |
3 files changed, 62 insertions(+) |
20 |
|
21 |
diff --git a/app-misc/openrgb-plugin-skin/Manifest b/app-misc/openrgb-plugin-skin/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..7e97f83b58c |
24 |
--- /dev/null |
25 |
+++ b/app-misc/openrgb-plugin-skin/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST openrgbskinplugin-3d937cf5112a98052f98a106dc0f5de1eafc20ea.tar.bz2 14673 BLAKE2B e9ba7e072882a995d9d37274e612f0ad404c369bafb4e59db379f43242873f08f36adc5521277c2bac4e730c35cde561e535e30e5a37155bfe0fa408d5ba3b45 SHA512 1a23b843230da6778079873949e72280efe46c6c015eb27456283bae5d88b539d8a5f69e6f1580400e1cfa746bcd36b6a1ae597f510b0c331d16f56b6ae28670 |
28 |
|
29 |
diff --git a/app-misc/openrgb-plugin-skin/metadata.xml b/app-misc/openrgb-plugin-skin/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..33a23a62059 |
32 |
--- /dev/null |
33 |
+++ b/app-misc/openrgb-plugin-skin/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/openrgbskinplugin</remote-id> |
48 |
+ </upstream> |
49 |
+</pkgmetadata> |
50 |
|
51 |
diff --git a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000000..82292356f05 |
54 |
--- /dev/null |
55 |
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild |
56 |
@@ -0,0 +1,46 @@ |
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="3d937cf5112a98052f98a106dc0f5de1eafc20ea" |
65 |
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin/-/archive/${MY_GIT_COMMIT}/openrgbskinplugin-${MY_GIT_COMMIT}.tar.bz2" |
66 |
+S="${WORKDIR}/openrgbskinplugin-${MY_GIT_COMMIT}" |
67 |
+KEYWORDS="~amd64" |
68 |
+ |
69 |
+DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel of OpenRGB" |
70 |
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin" |
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 |
+} |
89 |
+ |
90 |
+src_configure() { |
91 |
+ eqmake5 \ |
92 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \ |
93 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \ |
94 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \ |
95 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \ |
96 |
+ INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port" |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ exeinto /usr/$(get_libdir)/OpenRGB/plugins |
101 |
+ doexe libOpenRGBSkinPlugin.so.1.0.0 |
102 |
+} |