diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2022-01-11 21:49:26 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2022-01-11 14:15:52 -0800 |
commit | a2d5b681d92d9288c3631b76702c6e69f8a1c672 (patch) | |
tree | 10e1e79a5e7d2f6544851cb9664e62e3bf29df83 /app-misc | |
parent | app-misc/openrgb-plugin-skin: update to openrgb 0.7 (diff) | |
download | gentoo-a2d5b681d92d9288c3631b76702c6e69f8a1c672.tar.gz gentoo-a2d5b681d92d9288c3631b76702c6e69f8a1c672.tar.bz2 gentoo-a2d5b681d92d9288c3631b76702c6e69f8a1c672.zip |
app-misc/openrgb-plugin-visualmap: update to openrgb 0.7
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/23746
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc')
3 files changed, 47 insertions, 1 deletions
diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest index 1f301c65ac40..7f609a82812f 100644 --- a/app-misc/openrgb-plugin-visualmap/Manifest +++ b/app-misc/openrgb-plugin-visualmap/Manifest @@ -1 +1,2 @@ +DIST OpenRGBVisualMapPlugin-223c5ec67d256c5fa3bf7f3d572213114d93db6e.tar.bz2 54289 BLAKE2B b42b59fdc31f48d3e7be28051ccb02a2ba1befa1b1ed180a9313c8cbc50bad1c358ab5b4d8f249b488d5f32c801426078ef6c0c3c46dbec9695cb7b7cbf21d40 SHA512 eff52debcd027176a761fba71fb33d4a04802dd8f2441a86a825f3afecb268d2768edb8b03ec35ff2d17b5dc6f95dd0642e7d524fa7fcf93f0d215d712e75f3e 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 index f804d71c1bb8..7fac73257faa 100644 --- a/app-misc/openrgb-plugin-visualmap/metadata.xml +++ b/app-misc/openrgb-plugin-visualmap/metadata.xml @@ -10,6 +10,6 @@ <name>Alexey Sokolov</name> </maintainer> <upstream> - <remote-id type="gitlab">OpenRGBDevelopers/OpenRGBEffectsPlugin</remote-id> + <remote-id type="gitlab">OpenRGBDevelopers/OpenRGBVisualMapPlugin</remote-id> </upstream> </pkgmetadata> diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild new file mode 100644 index 000000000000..b4e8d391271f --- /dev/null +++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +MY_GIT_COMMIT="223c5ec67d256c5fa3bf7f3d572213114d93db6e" +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/OpenRGBVisualMapPlugin" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=app-misc/openrgb-0.7:= + 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 + ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die + sed -e '/^GIT_/d' -i *.pro || die + sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || die +} + +src_configure() { + eqmake5 \ + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" +} + +src_install() { + exeinto /usr/$(get_libdir)/OpenRGB/plugins + doexe libOpenRGBVisualMapPlugin.so.1.0.0 +} |