Annotation of /trunk/extras/polkit-gnome/polkit-gnome-0.105-r5.smage2
Parent Directory | Revision Log
Revision 26439 -
(hide annotations)
(download)
Fri Jun 26 17:25:01 2015 UTC (9 years, 3 months ago) by niro
File size: 904 byte(s)
Fri Jun 26 17:25:01 2015 UTC (9 years, 3 months ago) by niro
File size: 904 byte(s)
-fixed position of includes to pull in xdg deps
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 | niro | 26438 | DEPEND=">= sys-apps/polkit-0.111 |
13 | >= x11-libs/gtk3+-3.16" | ||
14 | niro | 26437 | |
15 | SDEPEND=">= dev-util/pkgconfig-0.25 | ||
16 | >= dev-util/intltool-0.50 | ||
17 | >= dev-libs/gobject-introspection-1.44" | ||
18 | |||
19 | niro | 26439 | sminclude gnome2 xdg |
20 | |||
21 | niro | 26437 | 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 | } |