From 4b77dfb10f54d18a9e88ea3bd582e71da7941e02 Mon Sep 17 00:00:00 2001 From: ormorph Date: Mon, 15 Nov 2021 15:46:28 +0300 Subject: Added solution for circular dependencies and bugs in eclass Signed-off-by: ormorph --- eclass/trinity-base-2.eclass | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass index d077d6e3..3916a1da 100644 --- a/eclass/trinity-base-2.eclass +++ b/eclass/trinity-base-2.eclass @@ -195,7 +195,8 @@ if [[ ${BUILD_TYPE} == live ]]; then case ${CATEGORY} in trinity-base|trinity-apps) - [[ ${PN} != tdelibs ]] && [[ ${TRINITY_MODULE_TYPE} != "dependencies" ]] && + [[ ${PN} != tdelibs ]] && [[ ${TRINITY_MODULE_TYPE} != "dependencies" ]] && [[ ${PN} != "arts" ]] && + [[ ${PN} != "trinity-cmake" ]] && COMMON_DEPEND+=" ~trinity-base/tdelibs-${PV}" ;; *) ;; @@ -205,12 +206,14 @@ elif [[ ${CATEGORY} = trinity-base ]]; then set-trinityver [[ -z ${SLOT} ]] && SLOT=${TRINITY_VER} # Common dependencies - [[ ${PN} != tdelibs ]] && need-trinity + [[ ${PN} != tdelibs ]] && [[ ${PN} != "arts" ]] && [[ ${PN} != "trinity-cmake" ]] && need-trinity +elif [[ ${CATEGORY} = "trinity-apps" ]]; then + need-trinity fi # Common dependencies -[[ ${PN} == "14.0.1"[1-9] ]] || [[ "${BUILD_TYPE}" == "live" ]] && -[[ ${TRINITY_MODULE_NAME} != "tde-common-cmake" ]] && +[[ ${PV} == "14.0.1"[1-9] ]] || [[ "${BUILD_TYPE}" == "live" ]] && +[[ ${PN} != "trinity-cmake" ]] && [[ ${TRINITY_BUILD_ADMIN} != "yes" ]] && BDEPEND+=" ~trinity-base/trinity-cmake-${PV}" -- cgit v1.2.1