leechcraft.eclass: add qtcore and qtgui deps
author0xd34df00d <0xd34df00d@gmail.com>
Sat, 4 Apr 2020 19:35:21 +0000 (15:35 -0400)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 5 Apr 2020 19:47:15 +0000 (21:47 +0200)
Every lc plugin necessarily links to both qtcore and qtgui,
otherwise it is not loadable by the lc-core. Although possibly being a
(mis)feature of the plugin API, this is unlikely to get fixed any time
soon if at all, so let's save some duplication and avoid putting these
deps in each of the ~70 ebuilds.

Signed-off-by: Georg Rudoy <0xd34df00d@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14924
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/leechcraft.eclass

index 57ccf631de01f069cd47279683ec9a424114cc4d..c53f6712d8637d71ca1a306beb0e5b390d2c752e 100644 (file)
@@ -39,6 +39,12 @@ fi
 HOMEPAGE="https://leechcraft.org/"
 LICENSE="Boost-1.0"
 
+DEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+"
+RDEPEND="${DEPEND}"
+
 # @ECLASS-VARIABLE: LEECHCRAFT_PLUGIN_CATEGORY
 # @DEFAULT_UNSET
 # @DESCRIPTION: