Magellan Linux

Annotation of /branches/magellan-next/extras/kdebase4-workspace/kdebase4-workspace-4.6.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8560 - (hide annotations) (download)
Fri Jul 22 07:56:33 2011 UTC (12 years, 10 months ago) by niro
File size: 3035 byte(s)
auto added: ver bump to 4.6.5-r1
1 niro 8560 # $Id$
2    
3     PNAME="kdebase4-workspace"
4     PVER="4.6.5"
5     PBUILD="r1"
6    
7     PCATEGORIE="kde-base"
8    
9     DESCRIPTION="The KDE4 workspace."
10    
11     DEPEND=">= kde-base/qimageblitz-0.0.6
12     >= net-misc/networkmanager-0.8.5
13     >= sys-apps/consolekit-0.4.5
14     >= sys-libs/libraw1394-2.0
15     >= sys-libs/pam-1.1
16     >= kde-base/polkit-qt-0.99
17     >= kde-base/polkit-kde-kcmodules-0.98_pre20101127
18     >= kde-base/polkit-kde-agent-0.99
19     >= sci-libs/libqalculate-0.9.7
20     >= x11-apps/xprop-1.2
21     >= x11-apps/xrandr-1.3
22     >= x11-apps/xset-1.2
23     >= x11-apps/xsetroot-1.1
24     >= x11-libs/libxkbfile-1.0.7
25     >= x11-libs/libXcomposite-0.4
26     >= x11-libs/libXdamage-1.1
27     >= x11-libs/libXfixes-5
28     >= x11-libs/libXinerama-1.1
29     >= x11-libs/libXrender-0.9
30     >= x11-libs/libXres-1
31     >= x11-libs/libXrandr-1.3"
32    
33     # todo: - media-libs/libcaptury support!!
34     # - qedje support
35     # - lm_sensors support
36    
37     SDEPEND=">= dev-libs/boost-1.47
38     >= x11-proto/compositeproto-1
39     >= x11-proto/damageproto-1
40     >= x11-proto/fixesproto-5
41     >= x11-proto/randrproto-1.3
42     >= x11-proto/renderproto-0.11
43     >= x11-proto/xineramaproto-1"
44    
45     sminclude kde4
46    
47     UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
48    
49     # cvs revisions
50     KDE_PAMD=kde.pamd-1.2
51     KDE_NP_PAMD=kde-np.pamd-1.3
52    
53     SRC_URI=(
54     ${SRC_URI[*]}
55     mirror://${PNAME}/kde.desktop
56     mirror://${PNAME}/${KDE_PAMD}
57     mirror://${PNAME}/${KDE_NP_PAMD}
58     mirror://${PNAME}/xdg-env.sh
59     mirror://${PNAME}/agent-startup.sh
60     mirror://${PNAME}/agent-shutdown.sh
61     )
62    
63     src_compile()
64     {
65     cd ${SRCDIR}
66    
67     # disable old polkitqt support to use the new polkit-qt4/polkit-kde framework
68     kde4_configure \
69     $(cmake_with LibXKlavier) \
70     $(cmake_with GLIB2) \
71     $(cmake_with GObject) \
72     $(cmake_with RAW1394) \
73     $(cmake_with OpenGL) \
74     $(cmake_with OpenSSL) \
75     $(cmake_with USB) \
76     $(cmake_with PAM) \
77     $(cmake_with BlueZ) \
78     $(cmake_with CkConnector) \
79     $(cmake_with NetworkManager) \
80     $(cmake_without Sensors) \
81     $(cmake_without Xmms) \
82     $(cmake_without Googlegadgets) \
83     $(cmake_without QEdje) \
84     $(cmake_without PolkitQt ) \
85     || die
86    
87     mmake || die
88     }
89    
90     src_install()
91     {
92     cd ${SRCDIR}
93    
94     # needed directories
95     minstalldir /etc/xdg/kde || die
96     minstalldir ${KDEDIR}/env || die
97     minstalldir /usr/share/xsessions || die
98     minstalldir ${KDEDIR}/share/config/kdm || die
99     minstalldir ${KDEDIR}/shutdown || die
100    
101     # generate a valid kdm configuration
102     export GENKDMCONF_FLAGS="--no-old --no-backup"
103     kde4_src_install || die
104    
105     # install gnome session
106     minstallexec -s kde.desktop /usr/share/xsessions || die
107    
108     # install pam related stuff
109     minstallpam ${KDE_PAMD} kde || die
110     minstallpam ${KDE_NP_PAMD} kde-np || die
111    
112     # fix freedesktop menus structure
113     # move them to /etc/xdg/kde to prevent broken gnome-menus
114     # mv ${BINDIR}/etc/xdg/menus ${BINDIR}/etc/xdg/kde || die
115    
116     # install a environment script to tell kde where the xdgs are now
117     minstallfile -s xdg-env.sh ${KDEDIR}/env || die
118    
119     # install global agent startup and shutdown scripts
120     minstallfile -s agent-startup.sh ${KDEDIR}/env || die
121     minstallfile -s agent-shutdown.sh ${KDEDIR}/shutdown || die
122     }