diff options
Diffstat (limited to 'app-misc/openrgb-plugin-visualmap')
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/Manifest | 4 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch | 18 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch | 17 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild (renamed from app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild) | 16 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild | 52 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild | 47 |
6 files changed, 98 insertions, 56 deletions
diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest index 7f609a82812f..3c2953eba128 100644 --- a/app-misc/openrgb-plugin-visualmap/Manifest +++ b/app-misc/openrgb-plugin-visualmap/Manifest @@ -1,2 +1,2 @@ -DIST OpenRGBVisualMapPlugin-223c5ec67d256c5fa3bf7f3d572213114d93db6e.tar.bz2 54289 BLAKE2B b42b59fdc31f48d3e7be28051ccb02a2ba1befa1b1ed180a9313c8cbc50bad1c358ab5b4d8f249b488d5f32c801426078ef6c0c3c46dbec9695cb7b7cbf21d40 SHA512 eff52debcd027176a761fba71fb33d4a04802dd8f2441a86a825f3afecb268d2768edb8b03ec35ff2d17b5dc6f95dd0642e7d524fa7fcf93f0d215d712e75f3e -DIST OpenRGBVisualMapPlugin-b603bb994719c765cc52c116c6f9f3983fc2a7b2.tar.bz2 45381 BLAKE2B e289f952a8f6553ff81a557753cbb94fb56111a6724f3141fc44a2f1abe9fa3d8e8b4eb769b54adfcb8ee6580d26378ca0b15fd83c14eb669e4682dad07729b8 SHA512 aab553dff55bc4d6990657ad9f29dbbe5ab78dfb532dba50923b32c2bb86ced8d37fc1190dca1b59f420aba7f0db81fbd0d35d49e499e19b9efa4638269a784d +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.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/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_p20211230.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild index b4e8d391271f..29925e2a50ea 100644 --- a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild +++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild @@ -1,14 +1,13 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 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" +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" @@ -16,7 +15,7 @@ LICENSE="GPL-2" SLOT="0" RDEPEND=" - >=app-misc/openrgb-0.7:= + >=app-misc/openrgb-0.8:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 @@ -26,12 +25,15 @@ DEPEND=" 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 - sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || die } src_configure() { 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..ded1d8f52689 --- /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 +} diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild deleted file mode 100644 index ea9e72c46ee5..000000000000 --- a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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*:= - 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 -} |