Magellan Linux

Annotation of /trunk/extras/polkit-gnome/polkit-gnome-0.105-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26437 - (hide annotations) (download)
Fri Jun 26 17:17:26 2015 UTC (9 years ago) by niro
File size: 880 byte(s)
auto added: ver bump to 0.105-r5
1 niro 26437 # $Id$
2    
3     PNAME="polkit-gnome"
4     PVER="0.105"
5     PBUILD="r5"
6    
7     PCAT="sys-apps"
8    
9     DESCRIPTION="PolicyKit integration for the GNOME desktop."
10     HOMEPAGE="http://www.freedesktop.org/wiki/Software/PolicyKit"
11    
12     sminclude gnome2 xdg
13    
14     DEPEND=">= sys-apps/polkit-0.111"
15    
16     SDEPEND=">= dev-util/pkgconfig-0.25
17     >= dev-util/intltool-0.50
18     >= dev-libs/gobject-introspection-1.44"
19    
20     SRC_URI=( ${SRC_URI[*]}
21     mirror://${PNAME}/polkit-gnome-authentication-agent-1.desktop
22     )
23    
24     UP2DATE="updatecmd_gnome ${PVER}"
25    
26     src_compile()
27     {
28     cd ${SRCDIR}
29    
30     gn2_configure --libexecdir=/usr/$(mlibdir)/polkit-gnome || die
31     mmake || die
32     }
33    
34     src_install()
35     {
36     cd ${SRCDIR}
37     mmake DESTDIR=${BINDIR} install || die
38    
39     minstallxdg \
40     --exec /usr/$(mlibdir)/polkit-gnome/polkit-gnome-authentication-agent-1 \
41     --destination-dir /etc/xdg/autostart \
42     --file ${SOURCEDIR}/${PNAME}/polkit-gnome-authentication-agent-1.desktop || die
43     }