commit:     efce5c2a024c846814fcff506088ef6a43b06ee8
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Tue Jun 22 21:17:01 2021 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 23:00:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efce5c2a

app-misc/openrgb-plugin-visualmap: new package

https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest         |  1 +
 app-misc/openrgb-plugin-visualmap/metadata.xml     | 15 +++++++
 .../openrgb-plugin-visualmap-0_p20210614.ebuild    | 47 ++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest 
b/app-misc/openrgb-plugin-visualmap/Manifest
new file mode 100644
index 00000000000..1f301c65ac4
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -0,0 +1 @@
+DIST OpenRGBVisualMapPlugin-b603bb994719c765cc52c116c6f9f3983fc2a7b2.tar.bz2 
45381 BLAKE2B 
e289f952a8f6553ff81a557753cbb94fb56111a6724f3141fc44a2f1abe9fa3d8e8b4eb769b54adfcb8ee6580d26378ca0b15fd83c14eb669e4682dad07729b8
 SHA512 
aab553dff55bc4d6990657ad9f29dbbe5ab78dfb532dba50923b32c2bb86ced8d37fc1190dca1b59f420aba7f0db81fbd0d35d49e499e19b9efa4638269a784d

diff --git a/app-misc/openrgb-plugin-visualmap/metadata.xml 
b/app-misc/openrgb-plugin-visualmap/metadata.xml
new file mode 100644
index 00000000000..6a2173ad187
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Patrick McLean</name>
+       </maintainer>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>Alexey Sokolov</name>
+       </maintainer>
+       <upstream>
+               <remote-id 
type="gitlab">OpenRGBDevelopers/OpenRGBEffectsPlugin</remote-id>
+       </upstream>
+</pkgmetadata>

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
new file mode 100644
index 00000000000..c7569869352
--- /dev/null
+++ 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils
+
+MY_GIT_COMMIT="b603bb994719c765cc52c116c6f9f3983fc2a7b2"
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2";
+S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin";
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+       >=app-misc/openrgb-0.6-r1:=
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+"
+DEPEND="
+       ${RDEPEND}
+       dev-cpp/nlohmann_json
+"
+
+src_prepare() {
+       default
+       rm -r OpenRGB || die
+       sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || die
+}
+
+src_configure() {
+       eqmake5 \
+               INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
+               INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \
+               INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \
+               INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \
+               INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port"
+}
+
+src_install() {
+       exeinto /usr/$(get_libdir)/OpenRGB/plugins
+       doexe libOpenRGBVisualMapPlugin.so.1.0.0
+}

Reply via email to