From 913291ea5e876b5d9c23009515e90658e307b91f Mon Sep 17 00:00:00 2001 From: ormorph Date: Fri, 11 Jun 2021 12:50:14 +0300 Subject: Improved dependencies with trinity-cmake package. Signed-off-by: ormorph --- eclass/trinity-base-2.eclass | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass index ebd529f2..7af8ed8a 100644 --- a/eclass/trinity-base-2.eclass +++ b/eclass/trinity-base-2.eclass @@ -197,10 +197,6 @@ if [[ ${BUILD_TYPE} == live ]]; then trinity-base|trinity-apps) [[ ${PN} != tdelibs ]] && [[ ${TRINITY_MODULE_TYPE} != "dependencies" ]] && COMMON_DEPEND+=" ~trinity-base/tdelibs-${PV}" - [[ ${PN} == "14.0.1"[1-9] ]] || [[ "${BUILD_TYPE}" == "live" ]] && - [[ ${TRINITY_MODULE_NAME} != "tde-common-cmake" ]] && - [[ ${TRINITY_BUILD_ADMIN} != "yes" ]] && - COMMON_DEPEND+=" ~trinity-base/trinity-cmake-${PV}" ;; *) ;; esac @@ -212,6 +208,12 @@ elif [[ ${CATEGORY} = trinity-base ]]; then [[ ${PN} != tdelibs ]] && need-trinity fi +# Common dependencies +[[ ${PN} == "14.0.1"[1-9] ]] || [[ "${BUILD_TYPE}" == "live" ]] && +[[ ${TRINITY_MODULE_NAME} != "tde-common-cmake" ]] && +[[ ${TRINITY_BUILD_ADMIN} != "yes" ]] && +BDEPEND+=" ~trinity-base/trinity-cmake-${PV}" + if [[ -n "${TRINITY_EXTRAGEAR_PACKAGING}" ]]; then # @ECLASS-VARIABLE: TEG_PO_DIR # @DESCRIPTION: -- cgit v1.2.3