blob: ed7bf2e31ea553b33f97648e4fa15a8f9caa8590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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*:=
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
}
|