Magellan Linux

Annotation of /trunk/extras/kdebase4-workspace/kdebase4-workspace-4.4.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5467 - (hide annotations) (download)
Mon Jun 28 11:59:07 2010 UTC (13 years, 10 months ago) by niro
File size: 3961 byte(s)
-fixed missing x11-libs/libXxf86misc dependency
1 niro 5170 # $Id$
2    
3     PNAME="kdebase4-workspace"
4     PVER="4.4.2"
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     >= net-misc/networkmanager-0.8
20     >= 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     >= kde-base/polkit-kde-0.95
27     >= 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 niro 5467 >= x11-libs/libXxf86misc-1
50 niro 5170 >= virtual/opengl"
51    
52     # todo: media-libs/libcaptury support!!
53     # - qedje support
54    
55     SDEPEND=">= x11-apps/bdftopcf-1
56     >= x11-proto/compositeproto-1
57     >= x11-proto/damageproto-1
58     >= x11-proto/randrproto-1.3
59     >= x11-proto/scrnsaverproto-1
60     >= x11-proto/xineramaproto-1"
61    
62     sminclude kde4
63    
64     UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
65    
66     # cvs revisions
67     KDE_PAMD=kde.pamd-1.2
68     KDE_NP_PAMD=kde-np.pamd-1.3
69    
70     SRC_URI=(
71     ${SRC_URI[*]}
72     mirror://${PNAME}/kde.desktop
73     mirror://${PNAME}/${KDE_PAMD}
74     mirror://${PNAME}/${KDE_NP_PAMD}
75     mirror://${PNAME}/xdg-env.sh
76     mirror://${PNAME}/agent-startup.sh
77     mirror://${PNAME}/agent-shutdown.sh
78     mirror://${PNAME}/${PNAME}-${PVER}-kickoff.patch
79     )
80    
81     src_prepare()
82     {
83     munpack ${SRCFILE} || die
84     cd ${SRCDIR}
85    
86     # this patch will be in KDE 4.4.1
87     # see http://websvn.kde.org/?view=revision&sortby=date&revision=1087230
88     mpatch ${PNAME}-${PVER}-kickoff.patch || die
89    
90     # # setup a proper environment
91     # sed -i -e "s:@REPLACE_PREFIX@:${KDEDIR}:" \
92     # -e "s:@REPLACE_LIBS@:${KDEDIR}/$(mlibdir):" \
93     # startkde.cmake || die
94    
95     # disable libcaptury support atm
96     sed -i 's:^PKGCONFIG..libcaptury:#DONOTFIND &:' \
97     kwin/effects/CMakeLists.txt || die
98     }
99    
100     src_compile()
101     {
102     cd ${SRCDIR}
103    
104     # disable old polkitqt suppot to use the new polkit-qt4/polkit-kde framework
105     kde4_configure \
106     $(cmake_with LibXKlavier) \
107     $(cmake_with GLIB2) \
108     $(cmake_with GObject) \
109     $(cmake_with RAW1394) \
110     $(cmake_with OpenGL) \
111     $(cmake_with OpenSSL) \
112     $(cmake_with USB) \
113     $(cmake_with PAM) \
114     $(cmake_with BlueZ) \
115     $(cmake_with CkConnector) \
116     $(cmake_with NetworkManager) \
117     $(cmake_without Sensors) \
118     $(cmake_without Xmms) \
119     $(cmake_without Googlegadgets) \
120     $(cmake_without QEdje) \
121     $(cmake_without PolkitQt ) \
122     || die
123    
124     mmake || die
125     }
126    
127     src_install()
128     {
129     cd ${SRCDIR}
130    
131     # needed directories
132     minstalldir /etc/xdg/kde || die
133     minstalldir ${KDEDIR}/env || die
134     minstalldir /usr/share/xsessions || die
135     minstalldir ${KDEDIR}/share/config/kdm || die
136     minstalldir ${KDEDIR}/shutdown || die
137    
138     # generate a valid kdm configuration
139     export GENKDMCONF_FLAGS="--no-old --no-backup"
140     kde4_src_install || die
141    
142     # install gnome session
143     minstallexec -s kde.desktop /usr/share/xsessions || die
144    
145     # install pam related stuff
146     minstallpam ${KDE_PAMD} kde || die
147     minstallpam ${KDE_NP_PAMD} kde-np || die
148    
149     # fix freedesktop menus structure
150     # move them to /etc/xdg/kde to prevent broken gnome-menus
151     # mv ${BINDIR}/etc/xdg/menus ${BINDIR}/etc/xdg/kde || die
152    
153     # install a environment script to tell kde where the xdgs are now
154     minstallfile -s xdg-env.sh ${KDEDIR}/env || die
155    
156     # install global agent startup and shutdown scripts
157     minstallfile -s agent-startup.sh ${KDEDIR}/env || die
158     minstallfile -s agent-shutdown.sh ${KDEDIR}/shutdown || die
159     }

Properties

Name Value
svn:keywords Id