From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde-sunset:master commit in: eclass/
Date: Sat, 30 Jun 2018 08:45:18 +0000 (UTC) [thread overview]
Message-ID: <1530348302.b0c6bf7aaef17b9f7e5d2359cd0cc831b34f38a4.asturm@gentoo> (raw)
commit: b0c6bf7aaef17b9f7e5d2359cd0cc831b34f38a4
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Jun 30 08:23:04 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 30 08:45:02 2018 +0000
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=b0c6bf7a
kde4-base.eclass: Remove kdelibs conditionals, no longer inherits kde4-base
eclass/kde4-base.eclass | 46 ++++++++++++++++++++--------------------------
1 file changed, 20 insertions(+), 26 deletions(-)
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 5a9a49c..d8e922e 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -360,25 +360,23 @@ kdecommondepend="
"
unset qtcoreuse
-if [[ ${PN} != kdelibs ]]; then
- [[ -n ${kdelibsuse} ]] && kdelibsuse="[${kdelibsuse}]"
- kdecommondepend+=" kde-frameworks/kdelibs:4${kdelibsuse}"
- if [[ ${KDEBASE} = kdevelop ]]; then
- if [[ ${PN} != kdevplatform ]]; then
- # @ECLASS-VARIABLE: KDEVPLATFORM_REQUIRED
- # @DESCRIPTION:
- # Specifies whether kdevplatform is required. Possible values are 'always' (default) and 'never'.
- # Applies to KDEBASE=kdevelop only.
- KDEVPLATFORM_REQUIRED="${KDEVPLATFORM_REQUIRED:-always}"
- case ${KDEVPLATFORM_REQUIRED} in
- always)
- kdecommondepend+="
- >=dev-util/kdevplatform-${KDEVPLATFORM_VERSION}:4
- "
- ;;
- *) ;;
- esac
- fi
+[[ -n ${kdelibsuse} ]] && kdelibsuse="[${kdelibsuse}]"
+kdecommondepend+=" kde-frameworks/kdelibs:4${kdelibsuse}"
+if [[ ${KDEBASE} = kdevelop ]]; then
+ if [[ ${PN} != kdevplatform ]]; then
+ # @ECLASS-VARIABLE: KDEVPLATFORM_REQUIRED
+ # @DESCRIPTION:
+ # Specifies whether kdevplatform is required. Possible values are 'always' (default) and 'never'.
+ # Applies to KDEBASE=kdevelop only.
+ KDEVPLATFORM_REQUIRED="${KDEVPLATFORM_REQUIRED:-always}"
+ case ${KDEVPLATFORM_REQUIRED} in
+ always)
+ kdecommondepend+="
+ >=dev-util/kdevplatform-${KDEVPLATFORM_VERSION}:4
+ "
+ ;;
+ *) ;;
+ esac
fi
fi
unset kdelibsuse
@@ -421,12 +419,12 @@ kdehandbookrdepend="
case ${KDE_HANDBOOK} in
always)
kdedepend+=" ${kdehandbookdepend}"
- [[ ${PN} != kdelibs ]] && kderdepend+=" ${kdehandbookrdepend}"
+ kderdepend+=" ${kdehandbookrdepend}"
;;
optional)
IUSE+=" +handbook"
kdedepend+=" handbook? ( ${kdehandbookdepend} )"
- [[ ${PN} != kdelibs ]] && kderdepend+=" handbook? ( ${kdehandbookrdepend} )"
+ kderdepend+=" handbook? ( ${kdehandbookrdepend} )"
;;
*) ;;
esac
@@ -720,10 +718,9 @@ kde4-base_src_prepare() {
# Enable/disable handbooks for kde4-base packages
# kde4-l10n inherits kde4-base but is metapackage, so no check for doc
- # kdelibs inherits kde4-base but handle installing the handbook itself
if ! has kde4-meta ${INHERITED} && in_iuse handbook; then
if [[ ${KDEBASE} == kde-base ]]; then
- if [[ ${PN} != kde4-l10n && ${PN} != kdepim-l10n && ${PN} != kdelibs ]] && use !handbook; then
+ if [[ ${PN} != kde4-l10n && ${PN} != kdepim-l10n ]] && use !handbook; then
# documentation in kde4-functions
: ${KDE_DOC_DIRS:=doc}
local dir
@@ -786,9 +783,6 @@ kde4-base_src_configure() {
append-cppflags -DQT_NO_DEBUG
fi
- # Set distribution name
- [[ ${PN} = kdelibs ]] && cmakeargs+=(-DKDE_DISTRIBUTION_TEXT=Gentoo)
-
# Here we set the install prefix
tc-is-cross-compiler || cmakeargs+=(-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}")
next reply other threads:[~2018-06-30 8:45 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-30 8:45 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-27 15:48 [gentoo-commits] proj/kde-sunset:master commit in: eclass/ Andreas Sturmlechner
2021-04-27 15:48 Andreas Sturmlechner
2020-12-07 20:53 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-09-20 12:06 Andreas Sturmlechner
2020-08-25 14:59 Andreas Sturmlechner
2020-08-25 14:51 Andreas Sturmlechner
2020-08-23 19:46 Andreas Sturmlechner
2020-08-16 20:05 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2018-09-12 20:41 Andreas Sturmlechner
2018-06-30 8:45 Andreas Sturmlechner
2018-06-20 12:08 Andreas Sturmlechner
2018-05-31 20:31 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-03 12:30 Andreas Sturmlechner
2018-04-10 13:32 Andreas Sturmlechner
2018-04-06 0:53 Andreas Sturmlechner
2016-12-17 19:08 Johannes Huber
2016-08-03 20:18 Johannes Huber
2016-04-24 7:07 Lars Wendler
2015-04-28 19:16 Ian Stakenvicius
2013-11-13 22:24 Lars Wendler
2011-05-05 21:11 Ladislav Láska
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1530348302.b0c6bf7aaef17b9f7e5d2359cd0cc831b34f38a4.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox