Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Sat, 03 May 2014 22:05:13
Message-Id: 1399154639.cce3ab4548c4cc7d1629a4d9f29ac17c0e0e9b35.johu@gentoo
1 commit: cce3ab4548c4cc7d1629a4d9f29ac17c0e0e9b35
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 3 22:03:59 2014 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sat May 3 22:03:59 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=cce3ab45
7
8 [eclass] Add subslot on cat kde-framework
9
10 ---
11 eclass/kde5.eclass | 6 +++++-
12 1 file changed, 5 insertions(+), 1 deletion(-)
13
14 diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
15 index cb34306..1b5bd47 100644
16 --- a/eclass/kde5.eclass
17 +++ b/eclass/kde5.eclass
18 @@ -83,7 +83,11 @@ fi
19 HOMEPAGE="http://www.kde.org/"
20 LICENSE="GPL-2"
21
22 -SLOT=5
23 +if [[ ${CATEGORY} = kde-frameworks ]]; then
24 + SLOT=5/$(get_version_component_range 1-2)
25 +else
26 + SLOT=5
27 +fi
28
29 case ${KDE_AUTODEPS} in
30 false) ;;