public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/files/, app-misc/openrgb-plugin-visualmap/
@ 2023-01-05 14:31 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2023-01-05 14:31 UTC (permalink / raw
  To: gentoo-commits

commit:     1a5f44d0989d0302a638a12268dff404d6caa8ee
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sun Dec 25 18:07:59 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 14:31:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5f44d0

app-misc/openrgb-plugin-visualmap: add 0.8

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/28800
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest         |  1 +
 .../files/openrgb-plugin-visualmap-0.8-dep.patch   | 18 +++++++++
 .../openrgb-plugin-visualmap-0.8.ebuild            | 47 ++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest
index de0c1e193754..007d9b9a17b0 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-release_0.8.tar.bz2 51680 BLAKE2B c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b SHA512 7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61

diff --git a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch
new file mode 100644
index 000000000000..b2023fa1df3a
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch
@@ -0,0 +1,18 @@
+--- a/OpenRGBVisualMapPlugin.pro
++++ b/OpenRGBVisualMapPlugin.pro
+@@ -96,7 +96,6 @@ HEADERS +=
+     OpenRGB/qt/hsv.h                                                                            \
+ 
+ SOURCES +=                                                                                      \
+-    OpenRGB/RGBController/RGBController.cpp                                                     \
+     OpenRGBVisualMapPlugin.cpp                                                                  \
+     VirtualController.cpp                                                                       \
+     VisualMapSettingsManager.cpp                                                                \
+@@ -120,7 +119,6 @@ SOURCES +=
+     ui/widget-editor/EditorGrid.cpp                                                             \
+     ui/widget-editor/LedItem.cpp                                                                \
+     ui/widget-editor/WidgetEditor.cpp                                                           \
+-    OpenRGB/qt/hsv.cpp                                                                          \
+ 
+ FORMS +=                                                                                        \
+     ui/BackgroundApplier.ui                                                                     \

diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild
new file mode 100644
index 000000000000..d6abfbf2af1c
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2"
+S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}"
+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.8:=
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="
+	${RDEPEND}
+	dev-cpp/nlohmann_json
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-dep.patch"
+)
+
+src_prepare() {
+	default
+	rm -r OpenRGB || die
+	ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
+	sed -e '/^GIT_/d' -i *.pro || die
+}
+
+src_configure() {
+	eqmake5 \
+		INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+	exeinto /usr/$(get_libdir)/OpenRGB/plugins
+	doexe libOpenRGBVisualMapPlugin.so.1.0.0
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/files/, app-misc/openrgb-plugin-visualmap/
@ 2023-07-17 12:33 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2023-07-17 12:33 UTC (permalink / raw
  To: gentoo-commits

commit:     223abfca364d28b23253b713f87aba06c9838477
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sun Jul 16 11:15:12 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 12:33:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223abfca

app-misc/openrgb-plugin-visualmap: add 0.9

Bug: https://bugs.gentoo.org/910405
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/31909
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest         |  1 +
 .../files/openrgb-plugin-visualmap-0.9-dep.patch   | 17 +++++++
 .../openrgb-plugin-visualmap-0.9.ebuild            | 52 ++++++++++++++++++++++
 3 files changed, 70 insertions(+)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest
index b9109dd7156a..3c2953eba128 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1 +1,2 @@
 DIST OpenRGBVisualMapPlugin-release_0.8.tar.bz2 51680 BLAKE2B c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b SHA512 7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61
+DIST OpenRGBVisualMapPlugin-release_0.9.tar.bz2 69646 BLAKE2B 2ae3c190c7b7347fadf62b4a133626da09e9ad90c1dc5c99decf960b115bff587e5d14d8e45ab65781171ebefdd29825422b9b709795d3d2cc735e8d0e061a69 SHA512 ef99263cbed900c1f541982e7349bda03212dfbb8873eb52db00f81cbe5823b7c4e2193de664dd7930da73e11a601b1b595b214629a813e1efda6e7184599521

diff --git a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
new file mode 100644
index 000000000000..ce7b3824f950
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
@@ -0,0 +1,17 @@
+--- a/OpenRGBVisualMapPlugin.pro
++++ b/OpenRGBVisualMapPlugin.pro
+@@ -99,6 +99,5 @@ HEADERS +=
+     OpenRGB/qt/hsv.h                                                                            \
+ 
+ SOURCES +=                                                                                      \
+-    OpenRGB/RGBController/RGBController.cpp                                                     \
+     OpenRGBPluginsFont.cpp                                                                      \
+     OpenRGBVisualMapPlugin.cpp                                                                  \
+@@ -124,7 +121,6 @@ SOURCES +=
+     ui/widget-editor/EditorGrid.cpp                                                             \
+     ui/widget-editor/LedItem.cpp                                                                \
+     ui/widget-editor/WidgetEditor.cpp                                                           \
+-    OpenRGB/qt/hsv.cpp                                                                          \
+ 
+ FORMS +=                                                                                        \
+     ui/BackgroundApplier.ui                                                                     \

diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild
new file mode 100644
index 000000000000..7dfb3ace0001
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2"
+S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}"
+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.9:=
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="
+	${RDEPEND}
+	dev-cpp/nlohmann_json
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-dep.patch"
+)
+
+src_prepare() {
+	default
+	rm -r OpenRGB || die
+	ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
+	sed -e '/^GIT_/d' -i *.pro || die
+
+	# Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
+	# conflicts with the openrgb's one. So rename it.
+	sed -e 's/resources.qrc/resources_visualmap_plugin.qrc/' -i *.pro || die
+	mv --no-clobber resources.qrc resources_visualmap_plugin.qrc || die
+}
+
+src_configure() {
+	eqmake5 \
+		INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+	exeinto /usr/$(get_libdir)/OpenRGB/plugins
+	doexe libOpenRGBVisualMapPlugin.so.1.0.0
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/files/, app-misc/openrgb-plugin-visualmap/
@ 2025-08-17  7:54 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-08-17  7:54 UTC (permalink / raw
  To: gentoo-commits

commit:     3dc6c2ec14fbb54e12e8f5923b9618793e7f6440
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Wed Mar 19 16:34:27 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 07:54:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc6c2ec

app-misc/openrgb-plugin-visualmap: add snapshot with qt6 support

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Bug: https://bugs.gentoo.org/942035
Part-of: https://github.com/gentoo/gentoo/pull/41163
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest         |  1 +
 .../files/openrgb-plugin-visualmap-0.9-dep.patch   |  2 +
 ...ugin-visualmap-0.9_p20250723-build-system.patch | 15 +++++++
 ...penrgb-plugin-visualmap-0.9_p20250723-dep.patch | 20 +++++++++
 .../openrgb-plugin-visualmap-0.9_p20250723.ebuild  | 52 ++++++++++++++++++++++
 5 files changed, 90 insertions(+)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest
index 0346585038d9..02b519489ddc 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1 +1,2 @@
 DIST OpenRGBVisualMapPlugin-release_0.9.tar.bz2 69646 BLAKE2B 2ae3c190c7b7347fadf62b4a133626da09e9ad90c1dc5c99decf960b115bff587e5d14d8e45ab65781171ebefdd29825422b9b709795d3d2cc735e8d0e061a69 SHA512 ef99263cbed900c1f541982e7349bda03212dfbb8873eb52db00f81cbe5823b7c4e2193de664dd7930da73e11a601b1b595b214629a813e1efda6e7184599521
+DIST openrgb-plugin-visualmap-0.9_p20250723.tar.bz2 142388 BLAKE2B 34012e03b2929f90b954036743245bb6c0c9af3d65b06bb4296388441df0100878c93a2e68b270f289ead73d594e665387d41c72560933fc20cea0a554c91ba6 SHA512 7f583f5ddfa20f8ad9420d5761d00e1cc9991f8dea8f1cde2b9b8733eb00a4d98eff94f1e78feafea74da9c7896a37571392d10e75f391809705a71d5c95c4d7

diff --git a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
index ce7b3824f950..82e72a27817a 100644
--- a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
+++ b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
@@ -1,3 +1,5 @@
+Fix dependency on app-misc/openrgb
+
 --- a/OpenRGBVisualMapPlugin.pro
 +++ b/OpenRGBVisualMapPlugin.pro
 @@ -99,6 +99,5 @@ HEADERS +=

diff --git a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9_p20250723-build-system.patch b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9_p20250723-build-system.patch
new file mode 100644
index 000000000000..56cc6f13f9df
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9_p20250723-build-system.patch
@@ -0,0 +1,15 @@
+Avoid running `git`
+
+--- a/OpenRGBVisualMapPlugin.pro
++++ b/OpenRGBVisualMapPlugin.pro
+@@ -27,10 +27,7 @@ MAJOR       = 0
+ MINOR       = 9
+ SUFFIX      = git
+ 
+-SHORTHASH   = $$system("git rev-parse --short=7 HEAD")
+ LASTTAG     = "release_"$$MAJOR"."$$MINOR
+-COMMAND     = "git rev-list --count "$$LASTTAG"..HEAD"
+-COMMITS     = $$system($$COMMAND)
+ 
+ VERSION_NUM = $$MAJOR"."$$MINOR"."$$COMMITS
+ VERSION_STR = $$MAJOR"."$$MINOR

diff --git a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9_p20250723-dep.patch b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9_p20250723-dep.patch
new file mode 100644
index 000000000000..93f35be25df9
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9_p20250723-dep.patch
@@ -0,0 +1,20 @@
+Fix dependency on app-misc/openrgb
+
+--- a/OpenRGBVisualMapPlugin.pro
++++ b/OpenRGBVisualMapPlugin.pro
+@@ -100,15 +100,6 @@ HEADERS +=
+     OpenRGB/OpenRGBPluginInterface.h                                                            \
+     OpenRGB/ResourceManagerInterface.h                                                          \
+ 
+-SOURCES +=                                                                                      \
+-    OpenRGB/RGBController/RGBController.cpp                                                     \
+-    OpenRGB/RGBController/RGBController_Network.cpp                                             \
+-    OpenRGB/NetworkServer.cpp                                                                   \
+-    OpenRGB/NetworkClient.cpp                                                                   \
+-    OpenRGB/NetworkProtocol.cpp                                                                 \
+-    OpenRGB/LogManager.cpp                                                                      \
+-    OpenRGB/net_port/net_port.cpp                                                               \
+-    OpenRGB/qt/hsv.cpp
+ 
+ #-------------------------------------------------------------------#
+ # Includes                                                          #

diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9_p20250723.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9_p20250723.ebuild
new file mode 100644
index 000000000000..e26153cd7b3e
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9_p20250723.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real ones"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin"
+
+MY_COMMIT="14cfa5aa28e708b7419de249b672122b3239aa72"
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_COMMIT}/OpenRGBVisualMapPlugin-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
+S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=app-misc/openrgb-0.9_p20250802:=
+	dev-qt/qtbase:6[gui,widgets]
+"
+DEPEND="
+	${RDEPEND}
+	dev-cpp/nlohmann_json
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-dep.patch"
+	"${FILESDIR}/${P}-build-system.patch"
+)
+
+src_prepare() {
+	default
+	rm -r OpenRGB || die
+	ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
+	sed -e '/^GIT_/d' -i *.pro || die
+
+	# Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
+	# conflicts with the openrgb's one. So rename it.
+	sed -e 's/resources.qrc/resources_visualmap_plugin.qrc/' -i *.pro || die
+	mv --no-clobber resources.qrc resources_visualmap_plugin.qrc || die
+}
+
+src_configure() {
+	eqmake6 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+	exeinto /usr/$(get_libdir)/openrgb/plugins
+	doexe libOpenRGBVisualMapPlugin.so
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-17  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-17  7:54 [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/files/, app-misc/openrgb-plugin-visualmap/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2023-07-17 12:33 Maciej Barć
2023-01-05 14:31 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox