Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/
Date: Tue, 22 Jun 2021 23:00:13
Message-Id: 1624402802.70a9cf0e2898f8690132155a8bfe34bdef564231.chutzpah@gentoo
1 commit: 70a9cf0e2898f8690132155a8bfe34bdef564231
2 Author: Alexey Sokolov <sokolov <AT> google <DOT> com>
3 AuthorDate: Tue Jun 22 21:17:41 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=70a9cf0e
7
8 app-misc/openrgb-plugin-effects: new package
9
10 https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin
11
12 Package-Manager: Portage-3.0.20, Repoman-3.0.2
13 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
14 Closes: https://github.com/gentoo/gentoo/pull/21379
15 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
16
17 app-misc/openrgb-plugin-effects/Manifest | 1 +
18 app-misc/openrgb-plugin-effects/metadata.xml | 15 +++++++
19 .../openrgb-plugin-effects-0_p20210619.ebuild | 47 ++++++++++++++++++++++
20 3 files changed, 63 insertions(+)
21
22 diff --git a/app-misc/openrgb-plugin-effects/Manifest b/app-misc/openrgb-plugin-effects/Manifest
23 new file mode 100644
24 index 00000000000..b88ac276fe9
25 --- /dev/null
26 +++ b/app-misc/openrgb-plugin-effects/Manifest
27 @@ -0,0 +1 @@
28 +DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 345726 BLAKE2B e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5 SHA512 134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f
29
30 diff --git a/app-misc/openrgb-plugin-effects/metadata.xml b/app-misc/openrgb-plugin-effects/metadata.xml
31 new file mode 100644
32 index 00000000000..6a2173ad187
33 --- /dev/null
34 +++ b/app-misc/openrgb-plugin-effects/metadata.xml
35 @@ -0,0 +1,15 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <maintainer type="person">
40 + <email>chutzpah@g.o</email>
41 + <name>Patrick McLean</name>
42 + </maintainer>
43 + <maintainer type="person" proxied="yes">
44 + <email>alexey+gentoo@××××××××.org</email>
45 + <name>Alexey Sokolov</name>
46 + </maintainer>
47 + <upstream>
48 + <remote-id type="gitlab">OpenRGBDevelopers/OpenRGBEffectsPlugin</remote-id>
49 + </upstream>
50 +</pkgmetadata>
51
52 diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild
53 new file mode 100644
54 index 00000000000..3bf56003dd4
55 --- /dev/null
56 +++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild
57 @@ -0,0 +1,47 @@
58 +# Copyright 2020-2021 Gentoo Authors
59 +# Distributed under the terms of the GNU General Public License v2
60 +
61 +EAPI=7
62 +
63 +inherit qmake-utils
64 +
65 +MY_GIT_COMMIT="a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504"
66 +SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2"
67 +S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
68 +KEYWORDS="~amd64"
69 +
70 +DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
71 +HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
72 +LICENSE="GPL-2"
73 +SLOT="0"
74 +
75 +RDEPEND="
76 + >=app-misc/openrgb-0.6-r1:=
77 + dev-qt/qtcore:5
78 + dev-qt/qtgui:5
79 + dev-qt/qtwidgets:5
80 + media-libs/openal
81 +"
82 +DEPEND="
83 + ${RDEPEND}
84 + dev-cpp/nlohmann_json
85 +"
86 +
87 +src_prepare() {
88 + default
89 + rm -r OpenRGB || die
90 +}
91 +
92 +src_configure() {
93 + eqmake5 \
94 + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
95 + INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \
96 + INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \
97 + INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \
98 + INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port"
99 +}
100 +
101 +src_install() {
102 + exeinto /usr/$(get_libdir)/OpenRGB/plugins
103 + doexe libOpenRGBEffectsPlugin.so.1.0
104 +}