diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild')
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild new file mode 100644 index 000000000000..ea9e72c46ee5 --- /dev/null +++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.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="b603bb994719c765cc52c116c6f9f3983fc2a7b2" +SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2" +S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}" +KEYWORDS="~amd64" + +DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real ones" +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 +" +DEPEND=" + ${RDEPEND} + dev-cpp/nlohmann_json +" + +src_prepare() { + default + rm -r OpenRGB || die + sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || 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 libOpenRGBVisualMapPlugin.so.1.0.0 +} |