diff --git a/app-misc/openrgb-plugin-effects/Manifest b/app-misc/openrgb-plugin-effects/Manifest new file mode 100644 index 0000000000000..b88ac276fe9e2 --- /dev/null +++ b/app-misc/openrgb-plugin-effects/Manifest @@ -0,0 +1 @@ +DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 345726 BLAKE2B e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5 SHA512 134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f diff --git a/app-misc/openrgb-plugin-effects/metadata.xml b/app-misc/openrgb-plugin-effects/metadata.xml new file mode 100644 index 0000000000000..6a2173ad18769 --- /dev/null +++ b/app-misc/openrgb-plugin-effects/metadata.xml @@ -0,0 +1,15 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + + + alexey+gentoo@asokolov.org + Alexey Sokolov + + + OpenRGBDevelopers/OpenRGBEffectsPlugin + + diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild new file mode 100644 index 0000000000000..3bf56003dd4d3 --- /dev/null +++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild @@ -0,0 +1,47 @@ +# 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-r1:= + 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 +}