Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26438 - (show annotations) (download)
Fri Jun 26 17:21:14 2015 UTC (9 years ago) by niro
File size: 904 byte(s)
-added missing gkt3+ dep
1 # $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 >= x11-libs/gtk3+-3.16"
16
17 SDEPEND=">= dev-util/pkgconfig-0.25
18 >= dev-util/intltool-0.50
19 >= dev-libs/gobject-introspection-1.44"
20
21 SRC_URI=( ${SRC_URI[*]}
22 mirror://${PNAME}/polkit-gnome-authentication-agent-1.desktop
23 )
24
25 UP2DATE="updatecmd_gnome ${PVER}"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 gn2_configure --libexecdir=/usr/$(mlibdir)/polkit-gnome || die
32 mmake || die
33 }
34
35 src_install()
36 {
37 cd ${SRCDIR}
38 mmake DESTDIR=${BINDIR} install || die
39
40 minstallxdg \
41 --exec /usr/$(mlibdir)/polkit-gnome/polkit-gnome-authentication-agent-1 \
42 --destination-dir /etc/xdg/autostart \
43 --file ${SOURCEDIR}/${PNAME}/polkit-gnome-authentication-agent-1.desktop || die
44 }