Magellan Linux

Annotation of /trunk/extras/libxfce4ui/libxfce4ui-4.12.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26448 - (hide annotations) (download)
Fri Jun 26 17:55:18 2015 UTC (8 years, 11 months ago) by niro
File size: 1459 byte(s)
auto added: ver bump to 4.12.1-r2
1 niro 26448 # $Id$
2    
3     PNAME="libxfce4ui"
4     PVER="4.12.1"
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.6
12     >= dev-libs/glib2-2.44
13     >= x11-libs/gtk2+-2.24
14     >= x11-libs/gtk3+-3.16
15     >= xfce-base/libxfce4util-4.12
16     >= xfce-base/xfconf-4.12
17     >= x11-libs/startup-notification-0.12"
18    
19     SDEPEND=">= dev-util/pkgconfig-0.25
20     >= sys-dev/gettext-0.18
21     >= dev-util/intltool-0.50
22     >= dev-lang/perl-5.22"
23    
24     sminclude xfce
25    
26     SRC_URI=( ${SRC_URI[*]}
27     mirror://${PNAME}/${PNAME}-4.10.0-print-screenshooter.patch
28     mirror://${PNAME}/${PNAME}-4.10.0-hotkey-taskmanager.patch
29     )
30    
31     UP2DATE="updatecmd_xfce ${PNAME}"
32    
33     src_prepare()
34     {
35     munpack ${SRCFILE} || die
36     cd ${SRCDIR}
37    
38     # adds an alias for the printbutton for xfce4-screenshooter
39     mpatch ${PNAME}-4.10.0-print-screenshooter.patch || die
40    
41     # start the taskmanager with strg+esc
42     mpatch ${PNAME}-4.10.0-hotkey-taskmanager.patch || die
43     }
44    
45     src_compile()
46     {
47     cd ${SRCDIR}
48    
49     xfce_configure \
50     --enable-startup-notification \
51     --disable-gladeui \
52     --with-vendor-info='Magellan-Linux' \
53     || die
54    
55     mmake || die
56     }
57    
58     preinstall()
59     {
60     if [[ ! -z $(magequery -n xfce-utils) ]]
61     then
62     echo -e ${COLRED}
63     echo -e "Error: xfce-base/xfce-utils is installed!!"
64     echo -e "xfce-utils is now provided by libxfce4ui, xfce4-session and xfce4-appfinder."
65     echo -e "Please uninstall xfce-base/xfce-utils first!"
66     echo -e ${COLDEFAULT}
67     die "xfce-base/xfce-utils found!"
68     fi
69     }