From 68aae8f12890921af4f3e750105c66743f37c549 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 18 Mar 2025 23:51:29 +0000 Subject: [PATCH] app-misc/openrgb: 9999 supports qt6 Signed-off-by: Alexey Sokolov Bug: https://bugs.gentoo.org/942035 Part-of: https://github.com/gentoo/gentoo/pull/41163 Signed-off-by: Andreas Sturmlechner --- app-misc/openrgb/openrgb-9999.ebuild | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/app-misc/openrgb/openrgb-9999.ebuild b/app-misc/openrgb/openrgb-9999.ebuild index 8beeb9b6704e8..ee8a03e4e4669 100644 --- a/app-misc/openrgb/openrgb-9999.ebuild +++ b/app-misc/openrgb/openrgb-9999.ebuild @@ -20,14 +20,12 @@ HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/" LICENSE="GPL-2" # subslot is OPENRGB_PLUGIN_API_VERSION from # https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h -SLOT="0/3" +SLOT="0/4" RDEPEND=" dev-cpp/cpp-httplib:= dev-libs/hidapi - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 + dev-qt/qtbase:6[gui,widgets] net-libs/mbedtls:0= virtual/libusb:1 " @@ -37,7 +35,7 @@ DEPEND=" dev-libs/mdns " BDEPEND=" - dev-qt/linguist-tools:5 + dev-qt/qttools:6[linguist] virtual/pkgconfig " @@ -73,10 +71,11 @@ src_configure() { libs+=( -lcpp-httplib ) fi - eqmake5 \ + eqmake6 \ INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \ - DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\\\\\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\\\\\"\\\"" \ - LIBS+="${libs[@]}" + OPENRGB_SYSTEM_PLUGIN_DIRECTORY="${EPREFIX}/usr/$(get_libdir)/openrgb/plugins" \ + LIBS+="${libs[@]}" \ + PREFIX="${EPREFIX}/usr" } src_install() {