diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2022-01-11 21:43:54 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2022-01-11 14:15:52 -0800 |
commit | 967ac35dbd88e5b4c55c3d3e104e1f78c2fc8150 (patch) | |
tree | 3792c1f2fae933abafb700edd6d877f2dbf25d7f /app-misc/openrgb | |
parent | app-misc/openrgb: version 0.7 (diff) | |
download | gentoo-967ac35dbd88e5b4c55c3d3e104e1f78c2fc8150.tar.gz gentoo-967ac35dbd88e5b4c55c3d3e104e1f78c2fc8150.tar.bz2 gentoo-967ac35dbd88e5b4c55c3d3e104e1f78c2fc8150.zip |
app-misc/openrgb: sync live
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc/openrgb')
-rw-r--r-- | app-misc/openrgb/openrgb-9999.ebuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/app-misc/openrgb/openrgb-9999.ebuild b/app-misc/openrgb/openrgb-9999.ebuild index a3d6ddefcc41..f9e079015112 100644 --- a/app-misc/openrgb/openrgb-9999.ebuild +++ b/app-misc/openrgb/openrgb-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2020-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit flag-o-matic qmake-utils @@ -20,10 +20,11 @@ fi DESCRIPTION="Open source RGB lighting control that doesn't depend on manufacturer software" HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/" LICENSE="GPL-2" -SLOT="0/1" +# subslot is OPENRGB_PLUGIN_API_VERSION from https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h +SLOT="0/2" RDEPEND=" - dev-libs/hidapi:= + dev-libs/hidapi dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 @@ -40,6 +41,7 @@ BDEPEND=" PATCHES+=( "${FILESDIR}"/OpenRGB-0.7-plugins.patch + "${FILESDIR}"/OpenRGB-0.7-udev.patch ) src_prepare() { @@ -65,11 +67,5 @@ src_install() { # This is for plugins. Upstream doesn't install any headers at all. insinto /usr/include/OpenRGB - doins *.h - insinto /usr/include/OpenRGB/RGBController - doins RGBController/*.h - insinto /usr/include/OpenRGB/i2c_smbus - doins i2c_smbus/*.h - insinto /usr/include/OpenRGB/net_port - doins net_port/*.h + find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" ';' || die } |