diff options
Diffstat (limited to 'eclass/trinity-base-2.eclass')
-rw-r--r-- | eclass/trinity-base-2.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass index e7604a6b..5446d005 100644 --- a/eclass/trinity-base-2.eclass +++ b/eclass/trinity-base-2.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Copyright 2020 The Trinity Desktop Project # Distributed under the terms of the GNU General Public License v2 @@ -163,6 +163,13 @@ else die "Unknown BUILD_TYPE=${BUILD_TYPE}" fi +if [[ ${CATEGORY} = trinity-base ]]; then + # Set SLOT, TDEDIR, TRINITY_VER and PREFIX + set-trinityver + [[ -z ${SLOT} ]] && SLOT=${TRINITY_VER} + # Common dependencies + [[ ${PN} != tdelibs ]] && need-trinity +fi if [[ -n "${TRINITY_EXTRAGEAR_PACKAGING}" ]]; then # @ECLASS-VARIABLE: TEG_PO_DIR |