summaryrefslogtreecommitdiff
path: root/app-misc/openrgb-plugin-visualmap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-05 18:09:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-05 18:09:32 +0000
commit8973f70e9a2ae4ea8a324e607ea1e8b96c7ff384 (patch)
treebbe587aee6b255e6cc44d4fd753d1cb9dbd1cfce /app-misc/openrgb-plugin-visualmap
parentf29a41111b3a606f5d95049b1ba92daabbc68cc0 (diff)
gentoo auto-resync : 05:01:2023 - 18:09:32
Diffstat (limited to 'app-misc/openrgb-plugin-visualmap')
-rw-r--r--app-misc/openrgb-plugin-visualmap/Manifest3
-rw-r--r--app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch18
-rw-r--r--app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild47
3 files changed, 68 insertions, 0 deletions
diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest
index 922f00b81d10..6b13356069bc 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1,3 +1,6 @@
+AUX openrgb-plugin-visualmap-0.8-dep.patch 1318 BLAKE2B 88cc045e917dbc1224bbb7cf105890750e4161ad60acc2466ae2c575e1515a4a836d2b63b6baac9770cbd32e59af9d9ea73f0351778f1091c06e1e5e7dbefd07 SHA512 47f2dab3a0c706eeb5411e762016a19d01e04fd870902fe5fd13fc8cd6000bb5bbe723475ad71555daeb76f62b67ed42389beb2602efba5ea8824c31d90d6bf1
DIST OpenRGBVisualMapPlugin-223c5ec67d256c5fa3bf7f3d572213114d93db6e.tar.bz2 54289 BLAKE2B b42b59fdc31f48d3e7be28051ccb02a2ba1befa1b1ed180a9313c8cbc50bad1c358ab5b4d8f249b488d5f32c801426078ef6c0c3c46dbec9695cb7b7cbf21d40 SHA512 eff52debcd027176a761fba71fb33d4a04802dd8f2441a86a825f3afecb268d2768edb8b03ec35ff2d17b5dc6f95dd0642e7d524fa7fcf93f0d215d712e75f3e
+DIST OpenRGBVisualMapPlugin-release_0.8.tar.bz2 51680 BLAKE2B c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b SHA512 7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61
+EBUILD openrgb-plugin-visualmap-0.8.ebuild 1028 BLAKE2B 593e22aa931547307e01a4dd4231b126ac8a665db57f216146702f8c93286e291851f3c4d6ee25cab4a9896fbee0fad25baa0b8bfa8ad957372fc34d370b131d SHA512 ae4afb280e8e7ca5eb095437ebbacc03859afd93bf08128c6fd9cdf38f99c26ac2cdb8adc595e5837b39a79544ad5049d769ef8e591a220e05204ebcd3360f9f
EBUILD openrgb-plugin-visualmap-0_p20211230.ebuild 1118 BLAKE2B 8f54089c739a6fb147b306cc3e420604104c5978b3e49e5e4779beadfd46ff0ec681687076cd0252d6f041736f27068d91e9b2f18b0b245a0dae41e92312d701 SHA512 32e7c6e85bb1eed5bb93ae7e68052318f6995627ee648de9f188e0f1455e01d44e3dc7aec2912d7952faa76aa87915f7c764bab9d01901faeef278458f5aa780
MISC metadata.xml 486 BLAKE2B 01cbd7cbe4d88068db283a3eb33d0a23dc100e6effa5d8eea9970c96d75073053ecc161953c0d1ae08b4400c497fc8668004c217b3dde0a3d066f24f9a8f6e7e SHA512 41e51c4089d9e9648656339df9a4ccf52b8907b22da654331b1bd804fb150e0148c1c325e1e15a1f8e2d282f9568f91a31243e9cc9e4aa688d2dfdb75259c5f8
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
+}