Magellan Linux

Annotation of /branches/R11-unstable/extras/libxfce4ui/libxfce4ui-4.12.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25601 - (hide annotations) (download)
Tue Nov 25 04:00:33 2014 UTC (9 years, 5 months ago) by niro
File size: 1435 byte(s)
-release branches/R11-unstable
1 niro 24752 # $Id$
2    
3     PNAME="libxfce4ui"
4     PVER="4.12.1"
5     PBUILD="r1"
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.6
12     >= dev-libs/glib2-2.42
13     >= x11-libs/gtk2+-2.24
14     >= xfce-base/libxfce4util-4.12
15     >= xfce-base/xfconf-4.12
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.20"
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     }