summaryrefslogtreecommitdiffstats
path: root/eclass/trinity-base-2.eclass
diff options
context:
space:
mode:
authorChris <[email protected]>2020-01-07 20:14:28 +0100
committerTDE Gitea <[email protected]>2020-01-18 16:13:26 +0000
commit084b0b62ec405a29a0b09db92551cf973637478f (patch)
tree2acdd262785ea261f389b45c53a68fcbfa7ceaf9 /eclass/trinity-base-2.eclass
parent355b84074a0e6e5fa5fcd666917c6799b0805af4 (diff)
downloadtde-packaging-gentoo-084b0b62ec405a29a0b09db92551cf973637478f.tar.gz
tde-packaging-gentoo-084b0b62ec405a29a0b09db92551cf973637478f.zip
Trinity-*-2.eclass: Fix some typos and cleanup.
Signed-off-by: Chris <[email protected]>
Diffstat (limited to 'eclass/trinity-base-2.eclass')
-rw-r--r--eclass/trinity-base-2.eclass14
1 files changed, 8 insertions, 6 deletions
diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass
index 1d8141f6..d79889f7 100644
--- a/eclass/trinity-base-2.eclass
+++ b/eclass/trinity-base-2.eclass
@@ -1,9 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
+# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#
# Original Author: fat-zer
+# Ported to git-r3 eclass and EAPI7 by E. Liddell
# Purpose: support ebuilds for the trinity project (a kde3 fork).
#
@@ -61,8 +63,7 @@ echo "${TRINITY_MODULE_NAME:=${PN}}" >/dev/null
# This is a whitespace-separated list of translations this ebuild supports.
# These translations are automatically added to IUSE. Therefore ebuilds must set
# this variable before inheriting any eclasses. To enable only selected
-# translations, ebuilds must call enable_selected_linguas(). kde4-{base,meta}.eclass does
-# this for you.
+# translations, ebuilds must call enable_selected_linguas().
# @ECLASS-VARIABLE: TRINITY_HANDBOOK
# @DESCRIPTION:
@@ -177,10 +178,11 @@ fi
# @FUNCTION: trinity-base-2_src_unpack
# @DESCRIPTION:
-# A default src unpack function to be call git-v3_src_unpack either
+# A default src unpack function to either call
+# git-r3_src_unpack or base_src_unpack.
trinity-base-2_src_unpack() {
if [[ ${BUILD_TYPE} = live ]]; then
- git-v3_src_unpack
+ git-r3_src_unpack
else
base_src_unpack
fi
@@ -260,7 +262,7 @@ trinity-base-2_src_configure() {
fi
if [[ "${TRINITY_HANDBOOK}" == optional ]]; then
eg_cmakeargs=(
- $(cmake-utils_use_with handbook DOC)
+ -DWITH_DOC="$(usex handbook)"
"${eg_cmakeargs[@]}" )
fi
fi
@@ -272,7 +274,7 @@ trinity-base-2_src_configure() {
"${mycmakeargs[@]}"
)
-# $([[ "${TRINITY_NEED_ARTS}" == "optional" ]] && (cmake-utils_use_with arts ARTS))
+# $([[ "${TRINITY_NEED_ARTS}" == "optional" ]] && (-DWITH_ARTS="$(usex arts)"))
cmake-utils_src_configure
}