summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-11-15 11:10:48 +0000
committerPatrick McLean <chutzpah@gentoo.org>2020-11-19 15:50:12 -0800
commit4ff5a4e5f610593f587bab913ef161528ea4c955 (patch)
tree9a1f26e56c6edd26689bff353086e4d21460d9d5
parentapp-misc/OpenRGB: drop 0.3-r3 (diff)
downloadgentoo-4ff5a4e5f610593f587bab913ef161528ea4c955.tar.gz
gentoo-4ff5a4e5f610593f587bab913ef161528ea4c955.tar.bz2
gentoo-4ff5a4e5f610593f587bab913ef161528ea4c955.zip
app-misc/OpenRGB: 9999: add dep on dev-cpp/nlohmann_json
Qt is used without its private parts, so remove subslot dep Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/17960 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
-rw-r--r--app-misc/OpenRGB/OpenRGB-9999.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/app-misc/OpenRGB/OpenRGB-9999.ebuild b/app-misc/OpenRGB/OpenRGB-9999.ebuild
index f8119c80c919..1499b76f7273 100644
--- a/app-misc/OpenRGB/OpenRGB-9999.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-9999.ebuild
@@ -20,28 +20,31 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="udev"
-DEPEND="
+RDEPEND="
dev-libs/hidapi:=
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtwidgets:5=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
virtual/libusb:1
"
-RDEPEND="${DEPEND}"
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/nlohmann_json
+"
BDEPEND="
virtual/pkgconfig
"
src_prepare() {
default
- rm -rf dependencies/{hidapi,libusb}* || die
+ rm -r dependencies/{hidapi,libusb,json}* || die
if [[ ${PV} != *9999* ]]; then
eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
fi
}
src_configure() {
- eqmake5
+ eqmake5 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
}
src_install() {