Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/plasma-workspace: ChangeLog plasma-workspace-4.7.1-r1.ebuild
Date: Tue, 27 Sep 2011 21:46:03
Message-Id: 20110927214552.A247820036@flycatcher.gentoo.org
1 abcd 11/09/27 21:45:52
2
3 Modified: ChangeLog
4 Added: plasma-workspace-4.7.1-r1.ebuild
5 Log:
6 Depend on new kactivities (kactivities blocks older versions of plasma-workspace to ensure upgrades work properly)
7
8 (Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.125 kde-base/plasma-workspace/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/plasma-workspace/ChangeLog?rev=1.125&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/plasma-workspace/ChangeLog?rev=1.125&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/plasma-workspace/ChangeLog?r1=1.124&r2=1.125
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/ChangeLog,v
20 retrieving revision 1.124
21 retrieving revision 1.125
22 diff -u -r1.124 -r1.125
23 --- ChangeLog 7 Sep 2011 20:13:54 -0000 1.124
24 +++ ChangeLog 27 Sep 2011 21:45:52 -0000 1.125
25 @@ -1,6 +1,13 @@
26 # ChangeLog for kde-base/plasma-workspace
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/ChangeLog,v 1.124 2011/09/07 20:13:54 alexxy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/ChangeLog,v 1.125 2011/09/27 21:45:52 abcd Exp $
30 +
31 +*plasma-workspace-4.7.1-r1 (27 Sep 2011)
32 +
33 + 27 Sep 2011; Jonathan Callen <abcd@g.o>
34 + +plasma-workspace-4.7.1-r1.ebuild:
35 + Depend on new kactivities (kactivities blocks older versions of
36 + plasma-workspace to ensure upgrades work properly)
37
38 *plasma-workspace-4.7.1 (07 Sep 2011)
39
40
41
42
43 1.1 kde-base/plasma-workspace/plasma-workspace-4.7.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/plasma-workspace/plasma-workspace-4.7.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/plasma-workspace/plasma-workspace-4.7.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: plasma-workspace-4.7.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/plasma-workspace-4.7.1-r1.ebuild,v 1.1 2011/09/27 21:45:52 abcd Exp $
53
54 EAPI=3
55
56 KDE_HANDBOOK="optional"
57 KMNAME="kde-workspace"
58 KMMODULE="plasma"
59 PYTHON_DEPEND="python? 2"
60 inherit python kde4-meta
61
62 DESCRIPTION="Plasma: KDE desktop framework"
63 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
64 IUSE="debug google-gadgets gps python qalculate +rss semantic-desktop xinerama"
65
66 COMMONDEPEND="
67 $(add_kdebase_dep kactivities)
68 $(add_kdebase_dep kdelibs 'semantic-desktop=')
69 $(add_kdebase_dep kephal)
70 $(add_kdebase_dep ksysguard)
71 $(add_kdebase_dep libkworkspace)
72 $(add_kdebase_dep libplasmagenericshell)
73 $(add_kdebase_dep libtaskmanager)
74 $(add_kdebase_dep solid)
75 x11-libs/libXcomposite
76 x11-libs/libXdamage
77 x11-libs/libXfixes
78 x11-libs/libXrender
79 google-gadgets? ( >=x11-misc/google-gadgets-0.11.0[qt4] )
80 gps? ( >=sci-geosciences/gpsd-2.37 )
81 python? (
82 >=dev-python/PyQt4-4.4.0[X]
83 >=dev-python/sip-4.7.1
84 $(add_kdebase_dep pykde4)
85 )
86 qalculate? ( sci-libs/libqalculate )
87 rss? (
88 $(add_kdebase_dep kdepimlibs 'semantic-desktop=')
89 $(add_kdebase_dep libplasmaclock 'holidays')
90 )
91 !rss? ( $(add_kdebase_dep libplasmaclock '-holidays') )
92 xinerama? ( x11-libs/libXinerama )
93 "
94 DEPEND="${COMMONDEPEND}
95 rss? ( dev-libs/boost )
96 x11-proto/compositeproto
97 x11-proto/damageproto
98 x11-proto/fixesproto
99 x11-proto/renderproto
100 xinerama? ( x11-proto/xineramaproto )
101 "
102 RDEPEND="${COMMONDEPEND}
103 $(add_kdebase_dep activitymanager)
104 $(add_kdebase_dep plasma-runtime)
105 "
106
107 KMEXTRA="
108 statusnotifierwatcher/
109 "
110 KMEXTRACTONLY="
111 krunner/dbus/org.freedesktop.ScreenSaver.xml
112 krunner/dbus/org.kde.krunner.App.xml
113 ksmserver/org.kde.KSMServerInterface.xml
114 libs/kephal/
115 libs/kworkspace/
116 libs/taskmanager/
117 libs/plasmagenericshell/
118 libs/ksysguard/
119 ksysguard/
120 "
121
122 KMLOADLIBS="libkworkspace libplasmaclock libplasmagenericshell libtaskmanager"
123
124 PATCHES=(
125 "${FILESDIR}/${PN}-4.4.2-xinerama_cmake_automagic.patch"
126 )
127
128 pkg_setup() {
129 python_set_active_version 2
130 kde4-meta_pkg_setup
131 }
132
133 src_unpack() {
134 if use handbook; then
135 KMEXTRA+=" doc/plasma-desktop"
136 fi
137
138 kde4-meta_src_unpack
139 }
140
141 src_prepare() {
142 sed -i -e '1ifind_package(KdepimLibs)' plasma/CMakeLists.txt || die
143
144 kde4-meta_src_prepare
145 }
146
147 src_configure() {
148 mycmakeargs=(
149 $(cmake-utils_use_with google-gadgets Googlegadgets)
150 $(cmake-utils_use_with gps libgps)
151 $(cmake-utils_use_with python SIP)
152 $(cmake-utils_use_with python PyQt4)
153 $(cmake-utils_use_with python PyKDE4)
154 $(cmake-utils_use_with qalculate)
155 $(cmake-utils_use_with rss KdepimLibs)
156 $(cmake-utils_use_with semantic-desktop Akonadi)
157 $(cmake-utils_use_with semantic-desktop Nepomuk)
158 $(cmake-utils_use_with semantic-desktop Soprano)
159 $(cmake-utils_use_with xinerama X11_Xinerama)
160 -DWITH_Xmms=OFF
161 )
162
163 kde4-meta_src_configure
164 }
165
166 src_install() {
167 kde4-meta_src_install
168
169 rm -f \
170 "${ED}$(python_get_sitedir)"/PyKDE4/*.py[co] \
171 "${ED}"/usr/share/apps/plasma_scriptengine_python/*.py[co]
172 }
173
174 pkg_postinst() {
175 kde4-meta_pkg_postinst
176
177 if use python; then
178 python_mod_optimize \
179 PyKDE4 \
180 /usr/share/apps/plasma_scriptengine_python
181 fi
182 }
183
184 pkg_postrm() {
185 kde4-meta_pkg_postrm
186
187 if [[ -d ${EPREFIX}/usr/share/apps/plasma_scriptengine_python ]]; then
188 python_mod_cleanup \
189 PyKDE4 \
190 /usr/share/apps/plasma_scriptengine_python
191 fi
192 }