Contents of /trunk/extras/xfce-utils/xfce-utils-4.6.2-r3.smage2
Parent Directory | Revision Log
Revision 5757 -
(show annotations)
(download)
Mon Aug 9 13:13:33 2010 UTC (13 years, 9 months ago) by niro
File size: 979 byte(s)
Mon Aug 9 13:13:33 2010 UTC (13 years, 9 months ago) by niro
File size: 979 byte(s)
-use consolekit if present
1 | # $Id$ |
2 | |
3 | PNAME="xfce-utils" |
4 | PVER="4.6.2" |
5 | PBUILD="r3" |
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 | ) |
25 | |
26 | UP2DATE="updatecmd_xfce ${PNAME}" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # use consolekit if present |
34 | mpatch ${PNAME}-${PVER}-ck-launch-session.patch || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | xfce_configure \ |
42 | --with-vendor-info="Magellan-Linux" \ |
43 | --with-xsession-prefix=/usr \ |
44 | || die |
45 | |
46 | mmake || die |
47 | } |
48 | |
49 | src_install() |
50 | { |
51 | xfce_src_install || die |
52 | |
53 | # add vendor info |
54 | minstalldir /usr/share/xfce4 || die |
55 | echo "Magellan-Linux" > ${BINDIR}/usr/share/xfce4/Magellan-Linux || die |
56 | } |