diff options
Diffstat (limited to 'eclass/leechcraft.eclass')
-rw-r--r-- | eclass/leechcraft.eclass | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass index 16b4f8d4c93e..c53f6712d863 100644 --- a/eclass/leechcraft.eclass +++ b/eclass/leechcraft.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # # @ECLASS: leechcraft.eclass @@ -22,18 +22,16 @@ # Only EAPI >=6 is supported case ${EAPI:-0} in - 6|7) ;; + 6) inherit cmake-utils ;; + 7) inherit cmake ;; *) die "EAPI not supported, bug ebuild mantainer" ;; esac -inherit cmake-utils - if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git" inherit git-r3 else - DEPEND="app-arch/xz-utils" SRC_URI="https://dist.leechcraft.org/LeechCraft/${PV}/leechcraft-${PV}.tar.xz" S="${WORKDIR}/leechcraft-${PV}" fi @@ -41,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: |