summaryrefslogtreecommitdiffstats
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/trinity-base-2.eclass9
-rw-r--r--eclass/trinity-meta-2.eclass9
2 files changed, 9 insertions, 9 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
diff --git a/eclass/trinity-meta-2.eclass b/eclass/trinity-meta-2.eclass
index d8f32ebe..13997a20 100644
--- a/eclass/trinity-meta-2.eclass
+++ b/eclass/trinity-meta-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
@@ -13,13 +13,6 @@ inherit trinity-base-2
LICENSE="|| ( GPL-2 GPL-3 )"
HOMEPAGE="http://www.trinitydesktop.org/"
-# Set slot, TDEDIR, TRINITY_VER and PREFIX
-set-trinityver
-[[ -z "${SLOT}" ]] && SLOT="${TRINITY_VER}"
-
-# Common dependencies
-need-trinity
-
# @FUNCTION: trinity-meta-2_set_trinity_submodule
# @DESCRIPTION:
# Sets the TRINITY_SUBMODULE variable to