diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-18 00:58:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-18 00:58:25 +0100 |
commit | 5e0a5ca921524f8859808527a57655eec16efa52 (patch) | |
tree | 7c58411b1e81478df4e20082a6adec2553c24c5c /app-misc/openrgb-plugin-effects | |
parent | 4c16e0a214824f15f09396e359db4f1f5c086fec (diff) |
gentoo auto-resync : 18:07:2023 - 00:58:24
Diffstat (limited to 'app-misc/openrgb-plugin-effects')
3 files changed, 85 insertions, 0 deletions
diff --git a/app-misc/openrgb-plugin-effects/Manifest b/app-misc/openrgb-plugin-effects/Manifest index 3346466eb3e3..56b619b0a521 100644 --- a/app-misc/openrgb-plugin-effects/Manifest +++ b/app-misc/openrgb-plugin-effects/Manifest @@ -1,7 +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.9-dep.patch 926 BLAKE2B 1592a6cd1a7d43ad21a4e3b1794ca73d524cfab38e0c37afcddc286bb5d31bb25df8c9f3cdcb619b1146c1db323f68c5925d643aaf1851f11fb908d8704b0436 SHA512 47dce3ff605ecb666cdcc0aa643d972b6bb0fc14fedbd3ba7456df64b8bf4efc14faa1918df3fd5254ea74ef0a1754f9bc083878b2ece7f7c5fc14a86a5f6d2e 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 EBUILD openrgb-plugin-effects-0.8.ebuild 1941 BLAKE2B 0d0d1e0691c8ecfc64f67468a1f777e20f35d62b4c1d201eef19f8e31fb0871f26eee5c5c4f779de34137a9f4b0700a90e7b67c38addf44dc69763c9d1d51fe5 SHA512 501728fa832e97c8dea52eda05bfb6609e610603fbe3f530fc671bc4a1447671cc3882c321b8324d574705ad6892838362623ab56f5d165c813cfd8eb3311bbf +EBUILD openrgb-plugin-effects-0.9.ebuild 1966 BLAKE2B fb606bb1ef9c193f73bf474beb689735ff77f1cabc261a12d58bb5ef6348bff616222475386d20a65213e0e770a8d04591e98ea03ad87d060ab8d0550adf16de SHA512 ac81958e6d68a943a6487db6fb7e23a0074e7f4aa3626aca31e33009665fcdc33b8ee864893e921e0b16ef7c5e555bcad8ed8af4d5644a074203f7a5c3f2e040 MISC metadata.xml 484 BLAKE2B fd1a7614f29a1040964e8f43b99240608d34b41b1f3904e3a2b8f33c8cae130cc46dc87e9eb51aea1be82c48dd3ba377150a3b39f2a6399c27e422521ab38e18 SHA512 5b43156294061c4ff508d206e7621e31c493b403aacd648120e240c164203fc1508410f732c24b1e9df489d07d28eb21469df6c01111da413f076530838cf778 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.9.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild new file mode 100644 index 000000000000..07fbaa9b65c8 --- /dev/null +++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.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.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 + 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 +} |