Magellan Linux

Contents of /branches/magellan-next/extras/xfce-utils/xfce-utils-4.6.2-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8104 - (show annotations) (download)
Tue Jul 12 16:03:33 2011 UTC (12 years, 10 months ago) by niro
File size: 1158 byte(s)
imported
1 # $Id$
2
3 PNAME="xfce-utils"
4 PVER="4.6.2"
5 PBUILD="r4"
6
7 STATE="unstable"
8 DESCRIPTION="Utlities for the XFCE Desktop Environment."
9
10 DEPEND=">= dev-libs/glib2-2.22
11 >= dev-libs/dbus-glib-0.82
12 >= x11-libs/gtk2+-2.18
13 >= x11-libs/libX11-1.3
14 >= xfce-base/libxfce4util-4.6
15 >= xfce-base/libxfcegui4-4.6
16 >= xfce-base/xfconf-4.6
17 >= x11-apps/xrdb-1
18 >= x11-misc/xscreensaver-5.10"
19
20 sminclude xfce
21
22 SRC_URI=( ${SRC_URI[*]}
23 mirror://${PNAME}/${PNAME}-${PVER}-ck-launch-session.patch
24 mirror://${PNAME}/${PNAME}-${PVER}-nx-no-screensaver.patch
25 )
26
27 UP2DATE="updatecmd_xfce ${PNAME}"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # use consolekit if present
35 mpatch ${PNAME}-${PVER}-ck-launch-session.patch || die
36
37 # do not start any screensaver while running in a NX session
38 mpatch ${PNAME}-${PVER}-nx-no-screensaver.patch || die
39 }
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44
45 xfce_configure \
46 --with-vendor-info="Magellan-Linux" \
47 --with-xsession-prefix=/usr \
48 || die
49
50 mmake || die
51 }
52
53 src_install()
54 {
55 xfce_src_install || die
56
57 # add vendor info
58 minstalldir /usr/share/xfce4 || die
59 echo "Magellan-Linux" > ${BINDIR}/usr/share/xfce4/Magellan-Linux || die
60 }