Annotation of /branches/R11-stable/extras/libxfce4ui/libxfce4ui-4.10.0-r2.smage2
Parent Directory | Revision Log
Revision 13569 -
(hide annotations)
(download)
Mon Oct 15 11:24:01 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/extras/libxfce4ui/libxfce4ui-4.10.0-r2.smage2
File size: 1433 byte(s)
Mon Oct 15 11:24:01 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/extras/libxfce4ui/libxfce4ui-4.10.0-r2.smage2
File size: 1433 byte(s)
auto added: ver bump to 4.10.0-r2
1 | niro | 13569 | # $Id$ |
2 | |||
3 | PNAME="libxfce4ui" | ||
4 | PVER="4.10.0" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | DESCRIPTION="Unified widgets library for Xfce4." | ||
8 | |||
9 | DEPEND=">= x11-libs/libICE-1 | ||
10 | >= x11-libs/libSM-1 | ||
11 | >= x11-libs/libX11-1 | ||
12 | >= dev-libs/glib2-2.34 | ||
13 | >= x11-libs/gtk2+-2.24 | ||
14 | >= xfce-base/libxfce4util-4.10 | ||
15 | >= xfce-base/xfconf-4.10 | ||
16 | >= x11-libs/startup-notification-0.12" | ||
17 | |||
18 | SDEPEND=">= dev-util/pkgconfig-0.25 | ||
19 | >= sys-dev/gettext-0.18 | ||
20 | >= dev-util/intltool-0.50 | ||
21 | >= dev-lang/perl-5.14" | ||
22 | |||
23 | sminclude xfce | ||
24 | |||
25 | SRC_URI=( ${SRC_URI[*]} | ||
26 | mirror://${PNAME}/${PNAME}-4.10.0-print-screenshooter.patch | ||
27 | mirror://${PNAME}/${PNAME}-4.10.0-hotkey-taskmanager.patch | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd_xfce ${PNAME}" | ||
31 | |||
32 | src_prepare() | ||
33 | { | ||
34 | munpack ${SRCFILE} || die | ||
35 | cd ${SRCDIR} | ||
36 | |||
37 | # adds an alias for the printbutton for xfce4-screenshooter | ||
38 | mpatch ${PNAME}-4.10.0-print-screenshooter.patch || die | ||
39 | |||
40 | # start the taskmanager with strg+esc | ||
41 | mpatch ${PNAME}-4.10.0-hotkey-taskmanager.patch || die | ||
42 | } | ||
43 | |||
44 | src_compile() | ||
45 | { | ||
46 | cd ${SRCDIR} | ||
47 | |||
48 | xfce_configure \ | ||
49 | --enable-startup-notification \ | ||
50 | --disable-gladeui \ | ||
51 | --with-vendor-info='Magellan-Linux' \ | ||
52 | || die | ||
53 | |||
54 | mmake || die | ||
55 | } | ||
56 | |||
57 | preinstall() | ||
58 | { | ||
59 | if [[ ! -z $(magequery -n xfce-utils) ]] | ||
60 | then | ||
61 | echo -e ${COLRED} | ||
62 | echo -e "Error: xfce-base/xfce-utils is installed!!" | ||
63 | echo -e "xfce-utils is now provided by libxfce4ui, xfce4-session and xfce4-appfinder." | ||
64 | echo -e "Please uninstall xfce-base/xfce-utils first!" | ||
65 | echo -e ${COLDEFAULT} | ||
66 | die "xfce-base/xfce-utils found!" | ||
67 | fi | ||
68 | } |