Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/smoke/
Date: Tue, 26 Apr 2011 10:49:27
Message-Id: 2e550023b33339daad1f1f4ffe7a6e10213a0d91.alexxy@gentoo
1 commit: 2e550023b33339daad1f1f4ffe7a6e10213a0d91
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 10:48:46 2011 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 10:48:46 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=2e550023
7
8 [kde-base/smoke] One more ebuild with eclass foo
9
10 (Portage version: 2.2.0_alpha30/git/Linux x86_64, signed Manifest commit with key F82F92E6)
11
12 ---
13 kde-base/smoke/smoke-4.6.9999.ebuild | 14 +++++++++++---
14 kde-base/smoke/smoke-9999.ebuild | 14 +++++++++++---
15 2 files changed, 22 insertions(+), 6 deletions(-)
16
17 diff --git a/kde-base/smoke/smoke-4.6.9999.ebuild b/kde-base/smoke/smoke-4.6.9999.ebuild
18 index 37c97bf..694a2f0 100644
19 --- a/kde-base/smoke/smoke-4.6.9999.ebuild
20 +++ b/kde-base/smoke/smoke-4.6.9999.ebuild
21 @@ -4,12 +4,20 @@
22
23 EAPI=4
24
25 -KMNAME="kdebindings"
26 DECLARATIVE_REQUIRED="optional"
27 MULTIMEDIA_REQUIRED="optional"
28 QTHELP_REQUIRED="optional"
29 WEBKIT_REQUIRED="optional"
30 -inherit kde4-meta
31 +
32 +KDE_SCM="git"
33 +if [[ ${PV} == *9999 ]]; then
34 + eclass=kde4-base
35 +else
36 + KMNAME="kdebindings"
37 + eclass=kde4-meta
38 +fi
39 +
40 +inherit ${eclass}
41
42 DESCRIPTION="Scripting Meta Object Kompiler Engine"
43 KEYWORDS=""
44 @@ -52,5 +60,5 @@ src_configure() {
45 $(cmake-utils_use_with semantic-desktop Soprano)
46 $(cmake-utils_use_disable webkit QtWebKit)
47 )
48 - kde4-meta_src_configure
49 + ${eclass}_src_configure
50 }
51
52 diff --git a/kde-base/smoke/smoke-9999.ebuild b/kde-base/smoke/smoke-9999.ebuild
53 index 37c97bf..694a2f0 100644
54 --- a/kde-base/smoke/smoke-9999.ebuild
55 +++ b/kde-base/smoke/smoke-9999.ebuild
56 @@ -4,12 +4,20 @@
57
58 EAPI=4
59
60 -KMNAME="kdebindings"
61 DECLARATIVE_REQUIRED="optional"
62 MULTIMEDIA_REQUIRED="optional"
63 QTHELP_REQUIRED="optional"
64 WEBKIT_REQUIRED="optional"
65 -inherit kde4-meta
66 +
67 +KDE_SCM="git"
68 +if [[ ${PV} == *9999 ]]; then
69 + eclass=kde4-base
70 +else
71 + KMNAME="kdebindings"
72 + eclass=kde4-meta
73 +fi
74 +
75 +inherit ${eclass}
76
77 DESCRIPTION="Scripting Meta Object Kompiler Engine"
78 KEYWORDS=""
79 @@ -52,5 +60,5 @@ src_configure() {
80 $(cmake-utils_use_with semantic-desktop Soprano)
81 $(cmake-utils_use_disable webkit QtWebKit)
82 )
83 - kde4-meta_src_configure
84 + ${eclass}_src_configure
85 }