Contents of /branches/magellan-next/extras/xfce-utils/xfce-utils-4.8.3-r2.smage2
Parent Directory | Revision Log
Revision 9431 -
(show annotations)
(download)
Tue Nov 29 23:00:12 2011 UTC (12 years, 10 months ago) by niro
File size: 1266 byte(s)
Tue Nov 29 23:00:12 2011 UTC (12 years, 10 months ago) by niro
File size: 1266 byte(s)
-rev bump, added consolekit support patch
1 | # $Id$ |
2 | |
3 | PNAME="xfce-utils" |
4 | PVER="4.8.3" |
5 | PBUILD="r2" |
6 | |
7 | DESCRIPTION="Utlities for the XFCE Desktop Environment." |
8 | |
9 | DEPEND=">= dev-libs/glib2-2.28 |
10 | >= dev-libs/dbus-glib-0.92 |
11 | >= x11-libs/gtk2+-2.24 |
12 | >= x11-libs/libX11-1.4 |
13 | >= xfce-base/libxfce4util-4.8 |
14 | >= xfce-base/libxfce4ui-4.8 |
15 | >= xfce-base/xfconf-4.8 |
16 | >= x11-apps/xrdb-1 |
17 | >= x11-misc/xdg-user-dirs-0.14 |
18 | >= x11-misc/xscreensaver-5.10 |
19 | >= sys-apps/consolekit-0.4" |
20 | |
21 | sminclude xfce |
22 | |
23 | SRC_URI=( ${SRC_URI[*]} |
24 | mirror://${PNAME}/${PNAME}-4.8.2-nx-no-screensaver.patch |
25 | mirror://${PNAME}/${PNAME}-4.8.3-consolekit.patch |
26 | ) |
27 | |
28 | UP2DATE="updatecmd_xfce ${PNAME}" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # do not start any screensaver while running in a NX session |
36 | mpatch ${PNAME}-4.8.2-nx-no-screensaver.patch || die |
37 | |
38 | # initialize a consolekit session when ck-launch-session was found |
39 | mpatch ${PNAME}-4.8.3-consolekit.patch || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | xfce_configure \ |
47 | --with-vendor-info="Magellan-Linux" \ |
48 | --with-xsession-prefix=/usr \ |
49 | --disable-xfconf-migration \ |
50 | --enable-dbus \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |
55 | |
56 | src_install() |
57 | { |
58 | xfce_src_install || die |
59 | |
60 | # add vendor info |
61 | minstalldir /usr/share/xfce4 || die |
62 | echo "Magellan-Linux" > ${BINDIR}/usr/share/xfce4/Magellan-Linux || die |
63 | } |