Annotation of /trunk/extras/kdebase4-workspace/kdebase4-workspace-4.4.0-r1.smage2
Parent Directory | Revision Log
Revision 4894 -
(hide annotations)
(download)
Sat Feb 13 11:57:00 2010 UTC (14 years, 7 months ago) by niro
File size: 3933 byte(s)
Sat Feb 13 11:57:00 2010 UTC (14 years, 7 months ago) by niro
File size: 3933 byte(s)
-enabled new polkit-kde support
1 | niro | 4882 | # $Id$ |
2 | |||
3 | PNAME="kdebase4-workspace" | ||
4 | PVER="4.4.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="kde-base" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="The KDE4 workspace." | ||
11 | |||
12 | DEPEND=">= dev-libs/glib2-2.22 | ||
13 | >= dev-libs/libusb-0.1.12 | ||
14 | >= dev-libs/openssl-0.9.8 | ||
15 | >= media-libs/fontconfig-2.7 | ||
16 | >= media-libs/freetype-2.3.9 | ||
17 | >= media-libs/libpng-1.2.40 | ||
18 | >= net-wlan/bluez-4.56 | ||
19 | niro | 4893 | >= net-misc/networkmanager-0.7 |
20 | niro | 4882 | >= sys-apps/eject-2.1.5 |
21 | >= sys-apps/hal-0.5.13 | ||
22 | >= sys-apps/usbutils-0.86 | ||
23 | >= sys-apps/consolekit-0.4.1 | ||
24 | >= sys-libs/libraw1394-2.0 | ||
25 | >= sys-libs/pam-1.1 | ||
26 | niro | 4894 | >= kde-base/polkit-kde-0.95 |
27 | niro | 4882 | >= x11-apps/mkfontdir-1 |
28 | >= x11-apps/setxkbmap-1 | ||
29 | >= x11-apps/xinit-1 | ||
30 | >= x11-apps/xmessage-1 | ||
31 | >= x11-apps/xprop-1 | ||
32 | >= x11-apps/xrandr-1.3 | ||
33 | >= x11-apps/xset-1 | ||
34 | >= x11-apps/xsetroot-1 | ||
35 | >= x11-misc/xkeyboard-config-1.7 | ||
36 | >= x11-libs/libxklavier-4.0 | ||
37 | >= x11-libs/libXau-1 | ||
38 | >= x11-libs/libXcomposite-1 | ||
39 | >= x11-libs/libXdamage-1 | ||
40 | >= x11-libs/libXdmcp-1 | ||
41 | >= x11-libs/libXext-1 | ||
42 | >= x11-libs/libXfixes-1 | ||
43 | >= x11-libs/libXinerama-1 | ||
44 | >= x11-libs/libXScrnSaver-1 | ||
45 | >= x11-libs/libXrender-0.9 | ||
46 | >= x11-libs/libXres-1 | ||
47 | >= x11-libs/libXrandr-1.3 | ||
48 | >= x11-libs/libXtst-1 | ||
49 | >= virtual/opengl" | ||
50 | |||
51 | # todo: media-libs/libcaptury support!! | ||
52 | # - qedje support | ||
53 | |||
54 | SDEPEND=">= x11-apps/bdftopcf-1 | ||
55 | >= x11-proto/compositeproto-1 | ||
56 | >= x11-proto/damageproto-1 | ||
57 | >= x11-proto/randrproto-1.3 | ||
58 | >= x11-proto/scrnsaverproto-1 | ||
59 | >= x11-proto/xineramaproto-1" | ||
60 | |||
61 | sminclude kde4 | ||
62 | |||
63 | UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'" | ||
64 | |||
65 | # cvs revisions | ||
66 | KDE_PAMD=kde.pamd-1.2 | ||
67 | KDE_NP_PAMD=kde-np.pamd-1.3 | ||
68 | |||
69 | SRC_URI=( | ||
70 | ${SRC_URI[*]} | ||
71 | mirror://${PNAME}/kde.desktop | ||
72 | mirror://${PNAME}/${KDE_PAMD} | ||
73 | mirror://${PNAME}/${KDE_NP_PAMD} | ||
74 | mirror://${PNAME}/xdg-env.sh | ||
75 | mirror://${PNAME}/agent-startup.sh | ||
76 | mirror://${PNAME}/agent-shutdown.sh | ||
77 | niro | 4893 | mirror://${PNAME}/${PNAME}-${PVER}-kickoff.patch |
78 | niro | 4882 | ) |
79 | |||
80 | src_prepare() | ||
81 | { | ||
82 | munpack ${SRCFILE} || die | ||
83 | cd ${SRCDIR} | ||
84 | |||
85 | niro | 4893 | # this patch will be in KDE 4.4.1 |
86 | # see http://websvn.kde.org/?view=revision&sortby=date&revision=1087230 | ||
87 | mpatch ${PNAME}-${PVER}-kickoff.patch || die | ||
88 | |||
89 | niro | 4882 | # # setup a proper environment |
90 | # sed -i -e "s:@REPLACE_PREFIX@:${KDEDIR}:" \ | ||
91 | # -e "s:@REPLACE_LIBS@:${KDEDIR}/$(mlibdir):" \ | ||
92 | # startkde.cmake || die | ||
93 | |||
94 | # disable libcaptury support atm | ||
95 | sed -i 's:^PKGCONFIG..libcaptury:#DONOTFIND &:' \ | ||
96 | kwin/effects/CMakeLists.txt || die | ||
97 | } | ||
98 | |||
99 | src_compile() | ||
100 | { | ||
101 | cd ${SRCDIR} | ||
102 | |||
103 | niro | 4894 | # disable old polkitqt suppot to use the new polkit-qt4/polkit-kde framework |
104 | niro | 4882 | kde4_configure \ |
105 | $(cmake_with LibXKlavier) \ | ||
106 | $(cmake_with GLIB2) \ | ||
107 | $(cmake_with GObject) \ | ||
108 | $(cmake_with RAW1394) \ | ||
109 | $(cmake_with OpenGL) \ | ||
110 | $(cmake_with OpenSSL) \ | ||
111 | $(cmake_with USB) \ | ||
112 | $(cmake_with PAM) \ | ||
113 | $(cmake_with BlueZ) \ | ||
114 | $(cmake_with CkConnector) \ | ||
115 | niro | 4893 | $(cmake_with NetworkManager) \ |
116 | niro | 4882 | $(cmake_without Sensors) \ |
117 | $(cmake_without Xmms) \ | ||
118 | $(cmake_without Googlegadgets) \ | ||
119 | $(cmake_without QEdje) \ | ||
120 | niro | 4894 | $(cmake_without PolkitQt ) \ |
121 | niro | 4882 | || die |
122 | |||
123 | mmake || die | ||
124 | } | ||
125 | |||
126 | src_install() | ||
127 | { | ||
128 | cd ${SRCDIR} | ||
129 | |||
130 | # needed directories | ||
131 | minstalldir /etc/xdg/kde || die | ||
132 | minstalldir ${KDEDIR}/env || die | ||
133 | minstalldir /usr/share/xsessions || die | ||
134 | minstalldir ${KDEDIR}/share/config/kdm || die | ||
135 | minstalldir ${KDEDIR}/shutdown || die | ||
136 | |||
137 | # generate a valid kdm configuration | ||
138 | export GENKDMCONF_FLAGS="--no-old --no-backup" | ||
139 | kde4_src_install || die | ||
140 | |||
141 | # install gnome session | ||
142 | minstallexec -s kde.desktop /usr/share/xsessions || die | ||
143 | |||
144 | # install pam related stuff | ||
145 | minstallpam ${KDE_PAMD} kde || die | ||
146 | minstallpam ${KDE_NP_PAMD} kde-np || die | ||
147 | |||
148 | # fix freedesktop menus structure | ||
149 | # move them to /etc/xdg/kde to prevent broken gnome-menus | ||
150 | # mv ${BINDIR}/etc/xdg/menus ${BINDIR}/etc/xdg/kde || die | ||
151 | |||
152 | # install a environment script to tell kde where the xdgs are now | ||
153 | minstallfile -s xdg-env.sh ${KDEDIR}/env || die | ||
154 | |||
155 | # install global agent startup and shutdown scripts | ||
156 | minstallfile -s agent-startup.sh ${KDEDIR}/env || die | ||
157 | minstallfile -s agent-shutdown.sh ${KDEDIR}/shutdown || die | ||
158 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |