Magellan Linux

Contents of /trunk/extras/kdebase4-workspace/kdebase4-workspace-4.2.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id