summaryrefslogtreecommitdiff
path: root/app-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-03 03:09:13 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-03 03:09:13 +0000
commitf80acd7c227d742fc13a5e8a85c96e59c0544d98 (patch)
treef4978d4dd601793065e3b7db1fa8f3b303d1b7b1 /app-misc
parentc107831b9ebfe892c139cdb68d747eea369d8588 (diff)
gentoo auto-resync : 03:02:2023 - 03:09:13
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/Manifest.gzbin49923 -> 49925 bytes
-rw-r--r--app-misc/openrgb-plugin-effects/Manifest6
-rw-r--r--app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch15
-rw-r--r--app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch11
-rw-r--r--app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild66
5 files changed, 98 insertions, 0 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz
index 3e486a67029d..94b704182850 100644
--- a/app-misc/Manifest.gz
+++ b/app-misc/Manifest.gz
Binary files differ
diff --git a/app-misc/openrgb-plugin-effects/Manifest b/app-misc/openrgb-plugin-effects/Manifest
index 528b9219692b..e753cb5ddebf 100644
--- a/app-misc/openrgb-plugin-effects/Manifest
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -1,4 +1,10 @@
+AUX openrgb-plugin-effects-0.8-dep.patch 730 BLAKE2B 546d4ded2b5207d168e21f3057ca3c83bc3d01c0486bbe699e50401120227115ac0d4652de154832464d6f41f382d3f1d312d8fa6d86bb68aed8b9a91fe5cd68 SHA512 8ed26dfd686b40ac54a6920725e25a80af11a4c4707d3f071e70039ba4ce7f67f8ed19d819fdae3543aa0d1117d228e43d2e51ca5c171019e81301d782a74aad
+AUX openrgb-plugin-effects-0.8-qrc.patch 285 BLAKE2B 48a9a0090927599723bee4d131f7394dd9a5d2d139e1fbce933bd39e91ec48693f595b3b75cdc1a4fd1ea3527ce679ef1f9dc4f188986c7ad2d805868c4e76b3 SHA512 e0a9b194dcd790c3e9e1b02a813611d3e338e30d49dbf315da2a0019c8ab947407befdabc29dd79f9573fa5c3b7f3e6e7961039d03d70dec1c9b9fb2d14287f0
AUX openrgb-plugin-effects-0_p20220110-dep.patch 926 BLAKE2B fb1fc3fe50bcd2bd7acc07adcf371ae388185bbd735da695b43ed734b6939c9af7cc982250d6de3441d0cc9d78e7e0556e05076b0cc744a80fa428d41926dc6d SHA512 e458254ced95844dfe5f04e5e82c2f9a02acb6fc1c5302237b32629c12319c8272a89d9d530b8fa98bca702308fb3beda3a83258272d97a6dd1b669ba6d4c731
DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 255129 BLAKE2B 8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0 SHA512 386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e
+DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4 SHA512 c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3
+DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a SHA512 4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54
+DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854 SHA512 b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd
+EBUILD openrgb-plugin-effects-0.8.ebuild 1942 BLAKE2B 37ba67245858ddaeb782a3128d20d523f6ad0430900ebe2411dc1088824d7c27238f93853173128ee81b7c8915f835f27989ceb8f03dd66930200dabf5ed6b69 SHA512 35963109a2982098336e29a060d4b9cb7fc8a1e98854e626f39c5078a690cdff3c9889e725db37d34178f3eaefeda7ad7c70453319b84e0aed87ed3971695e44
EBUILD openrgb-plugin-effects-0_p20220110.ebuild 1159 BLAKE2B 0cbccd6bdb5bcde75f53fff8bd6ee451687f125c9feb888c2bc9ebf3f90dddc4d35d64e5b8913aee79043188ebae096a5ef724865c9c3ada80eff80c6763e63e SHA512 14d56e6584a835c5b7b5544c0a25ff401ff4130632420389a3f682183017f02b8259ee4590256b865c34b62c41431ee5782175f66011dc1bcdd599cb90e5b11f
MISC metadata.xml 484 BLAKE2B fd1a7614f29a1040964e8f43b99240608d34b41b1f3904e3a2b8f33c8cae130cc46dc87e9eb51aea1be82c48dd3ba377150a3b39f2a6399c27e422521ab38e18 SHA512 5b43156294061c4ff508d206e7621e31c493b403aacd648120e240c164203fc1508410f732c24b1e9df489d07d28eb21469df6c01111da413f076530838cf778
diff --git a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch
new file mode 100644
index 000000000000..b01adb4ac7d1
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch
@@ -0,0 +1,15 @@
+Fix dependency on app-misc/openrgb
+
+--- a/OpenRGBEffectsPlugin.pro
++++ b/OpenRGBEffectsPlugin.pro
+@@ -60,10 +60,6 @@ HEADERS +=
+ OpenRGB/qt/hsv.h \
+
+
+-SOURCES += \
+- OpenRGB/RGBController/RGBController.cpp \
+- OpenRGB/dependencies/ColorWheel/ColorWheel.cpp \
+- OpenRGB/qt/hsv.cpp \
+
+
+ #-----------------------------------------------------------------------------------------------#
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/openrgb-plugin-effects-0.8.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
new file mode 100644
index 000000000000..98722bf8b3f7
--- /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
+}