blob: bc5eb62970f9c16a81a7540caf2bcecc05af38a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.102.ebuild,v 1.7 2012/03/09 15:03:42 ssuominen Exp $
# This ebuild is only for installing obsolete libpolkit-gtk-1 wrt #387663
EAPI=4
inherit gnome.org
DESCRIPTION="Separate ebuild for obsolete libpolkit-gtk-1 library"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/PolicyKit"
LICENSE="LGPL-2"
SLOT="obsolete"
KEYWORDS="alpha amd64 ~arm ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="+introspection"
RDEPEND=">=dev-libs/glib-2.28
>=x11-libs/gtk+-2.24:2[introspection?]
>=sys-auth/polkit-0.102[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.6.2 )"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext
!<gnome-extra/polkit-gnome-0.102"
src_configure() {
econf \
--disable-static \
$(use_enable introspection)
}
src_compile() {
emake -C polkitgtk libpolkit-gtk-1.la
}
src_install() {
emake DESTDIR="${D}" install
rm -rf \
"${ED}"usr/lib*/polkit-gnome-authentication-agent-1 \
"${ED}"usr/lib*/libpolkit-gtk-1.la \
"${ED}"usr/share/locale
}
|