commit:     67d323a0320574d816942f4b5903c5934dba1aa4
Author:     0xd34df00d <0xd34df00d <AT> gmail <DOT> com>
AuthorDate: Sat Apr  4 19:35:21 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr  5 19:47:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d323a0

leechcraft.eclass: add qtcore and qtgui deps

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 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14924
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/leechcraft.eclass | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass
index 57ccf631de0..c53f6712d86 100644
--- a/eclass/leechcraft.eclass
+++ b/eclass/leechcraft.eclass
@@ -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:

Reply via email to