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