summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/openrgb-plugin-effects')
-rw-r--r--app-misc/openrgb-plugin-effects/Manifest6
-rw-r--r--app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch (renamed from app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch)7
-rw-r--r--app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch11
-rw-r--r--app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch16
-rw-r--r--app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild66
-rw-r--r--app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild69
-rw-r--r--app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild47
-rw-r--r--app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild49
8 files changed, 169 insertions, 102 deletions
diff --git a/app-misc/openrgb-plugin-effects/Manifest b/app-misc/openrgb-plugin-effects/Manifest
index 55c32040a0ed..46446811aea3 100644
--- a/app-misc/openrgb-plugin-effects/Manifest
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -1,2 +1,4 @@
-DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 255129 BLAKE2B 8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0 SHA512 386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e
-DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 345726 BLAKE2B e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5 SHA512 134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f
+DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4 SHA512 c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3
+DIST OpenRGBEffectsPlugin-release_0.9.tar.bz2 254816 BLAKE2B e406cb70c1a64f2572d075b5d6ca6fa3499060ec33b49264b63d4f43c989adb8f2022b3b7d79a59bd5c82187b29331555385712a6fbcb25b01e5341c23cbd922 SHA512 d20f4890889768857219b79db245804b720b1710483c3ea3f1f6b462c4a172f521c727ad1fd3127fed9724be56dc45232c3a6d23772ec8c9d7e203bb6a6ad8c8
+DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a SHA512 4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54
+DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854 SHA512 b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd
diff --git a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch
index 7ab0f2ca75f9..b01adb4ac7d1 100644
--- a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch
@@ -2,7 +2,7 @@ Fix dependency on app-misc/openrgb
--- a/OpenRGBEffectsPlugin.pro
+++ b/OpenRGBEffectsPlugin.pro
-@@ -64,11 +64,6 @@ HEADERS +=
+@@ -60,10 +60,6 @@ HEADERS +=
OpenRGB/qt/hsv.h \
@@ -10,7 +10,6 @@ Fix dependency on app-misc/openrgb
- OpenRGB/RGBController/RGBController.cpp \
- OpenRGB/dependencies/ColorWheel/ColorWheel.cpp \
- OpenRGB/qt/hsv.cpp \
--
- #-----------------------------------------------------------------------------------------------#
- # QCodeEditor #
+
+
#-----------------------------------------------------------------------------------------------#
diff --git a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch
new file mode 100644
index 000000000000..87919c542d7f
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch
@@ -0,0 +1,11 @@
+Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
+conflicts with the openrgb's one. So rename it.
+
+--- a/OpenRGBEffectsPlugin.pro
++++ b/OpenRGBEffectsPlugin.pro
+@@ -472,4 +472,4 @@ macx: {
+ }
+
+ RESOURCES += \
+- resources.qrc
++ resources_effects_plugin.qrc
diff --git a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch
new file mode 100644
index 000000000000..165828d693ef
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch
@@ -0,0 +1,16 @@
+Fix dependency on app-misc/openrgb
+
+--- a/OpenRGBEffectsPlugin.pro
++++ b/OpenRGBEffectsPlugin.pro
+@@ -64,11 +64,6 @@ HEADERS +=
+ OpenRGB/qt/hsv.h \
+ OpenRGB/hidapi_wrapper/hidapi_wrapper.h \
+
+-SOURCES += \
+- OpenRGB/RGBController/RGBController.cpp \
+- OpenRGB/LogManager.cpp \
+- OpenRGB/NetworkServer.cpp \
+- OpenRGB/qt/hsv.cpp \
+
+
+ #-----------------------------------------------------------------------------------------------#
diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
new file mode 100644
index 000000000000..6b51e61c8507
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
+
+MY_NOISE_COMMIT="97e62c5b5e26c8edabdc29a6b0a277192be3746c"
+MY_QCODEEDITOR_COMMIT="a9aab24c7970a38d14bc79939306d9d3ba78cf61"
+SRC_URI="
+ https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/release_${PV}/OpenRGBEffectsPlugin-release_${PV}.tar.bz2
+ https://github.com/SRombauts/SimplexNoise/archive/${MY_NOISE_COMMIT}.tar.gz -> SimplexNoise-2019-12-03.tar.gz
+ https://github.com/justxi/QCodeEditor/archive/${MY_QCODEEDITOR_COMMIT}.tar.gz -> QCodeEditor-2021-08-17.tar.gz
+"
+S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="amd64"
+
+RDEPEND="
+ >=app-misc/openrgb-0.7:=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[-gles2-only]
+ dev-qt/qtwidgets:5[-gles2-only]
+ media-libs/openal
+"
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/nlohmann_json
+"
+
+PATCHES=(
+ "${FILESDIR}/openrgb-plugin-effects-0.8-dep.patch"
+ "${FILESDIR}/openrgb-plugin-effects-0.8-qrc.patch"
+)
+
+src_prepare() {
+ default
+ rm -r OpenRGB || die
+ ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
+ sed -e '/^GIT_/d' -i *.pro || die
+
+ rmdir Dependencies/SimplexNoise || die
+ ln -s "${WORKDIR}/SimplexNoise-${MY_NOISE_COMMIT}" Dependencies/SimplexNoise || die
+
+ rmdir Dependencies/QCodeEditor || die
+ ln -s "${WORKDIR}/QCodeEditor-${MY_QCODEEDITOR_COMMIT}" Dependencies/QCodeEditor || die
+
+ # Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
+ # conflicts with the openrgb's one. So rename it.
+ mv --no-clobber resources.qrc resources_effects_plugin.qrc || die
+}
+
+src_configure() {
+ eqmake5 \
+ INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+ exeinto /usr/$(get_libdir)/OpenRGB/plugins
+ doexe libOpenRGBEffectsPlugin.so.1.0
+}
diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
new file mode 100644
index 000000000000..099f9d14d9a4
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic qmake-utils
+
+DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
+
+MY_NOISE_COMMIT="97e62c5b5e26c8edabdc29a6b0a277192be3746c"
+MY_QCODEEDITOR_COMMIT="a9aab24c7970a38d14bc79939306d9d3ba78cf61"
+SRC_URI="
+ https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/release_${PV}/OpenRGBEffectsPlugin-release_${PV}.tar.bz2
+ https://github.com/SRombauts/SimplexNoise/archive/${MY_NOISE_COMMIT}.tar.gz -> SimplexNoise-2019-12-03.tar.gz
+ https://github.com/justxi/QCodeEditor/archive/${MY_QCODEEDITOR_COMMIT}.tar.gz -> QCodeEditor-2021-08-17.tar.gz
+"
+S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="amd64"
+
+RDEPEND="
+ >=app-misc/openrgb-0.9:=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[-gles2-only]
+ dev-qt/qtwidgets:5[-gles2-only]
+ media-libs/openal
+"
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/nlohmann_json
+"
+
+PATCHES=(
+ "${FILESDIR}/openrgb-plugin-effects-0.9-dep.patch"
+)
+
+src_prepare() {
+ default
+
+ filter-lto # Bug 927749
+
+ rm -r OpenRGB || die
+ ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
+ sed -e '/^GIT_/d' -i *.pro || die
+
+ rmdir Dependencies/SimplexNoise || die
+ ln -s "${WORKDIR}/SimplexNoise-${MY_NOISE_COMMIT}" Dependencies/SimplexNoise || die
+
+ rmdir Dependencies/QCodeEditor || die
+ ln -s "${WORKDIR}/QCodeEditor-${MY_QCODEEDITOR_COMMIT}" Dependencies/QCodeEditor || 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_effects_plugin.qrc/' -i *.pro || die
+ mv --no-clobber resources.qrc resources_effects_plugin.qrc || die
+}
+
+src_configure() {
+ eqmake5 \
+ INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+ exeinto /usr/$(get_libdir)/OpenRGB/plugins
+ doexe libOpenRGBEffectsPlugin.so.1.0.0
+}
diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild
deleted file mode 100644
index ed7bf2e31ea5..000000000000
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-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="a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504"
-SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2"
-S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
-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
- media-libs/openal
-"
-DEPEND="
- ${RDEPEND}
- dev-cpp/nlohmann_json
-"
-
-src_prepare() {
- default
- rm -r OpenRGB || 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 libOpenRGBEffectsPlugin.so.1.0
-}
diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
deleted file mode 100644
index 5694a120a94d..000000000000
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit qmake-utils
-
-MY_GIT_COMMIT="a7222bdbcd3c52e13d96993a33c5648f1306aeba"
-SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2"
-S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
-HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
-LICENSE="GPL-2"
-SLOT="0"
-
-RDEPEND="
- >=app-misc/openrgb-0.7:=
- dev-qt/qtcore:5
- dev-qt/qtgui:5[-gles2-only]
- dev-qt/qtwidgets:5[-gles2-only]
- media-libs/openal
-"
-DEPEND="
- ${RDEPEND}
- dev-cpp/nlohmann_json
-"
-
-PATCHES=(
- "${FILESDIR}/openrgb-plugin-effects-0_p20220110-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 libOpenRGBEffectsPlugin.so.1.0
-}