/[gentoo-x86]/dev-libs/libindicate/libindicate-12.10.0.ebuild
Gentoo

Contents of /dev-libs/libindicate/libindicate-12.10.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 21 18:28:51 2012 UTC (2 years ago) by ssuominen
Branch: MAIN
Version bump wrt #427512 by Pacho Ramos

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild,v 1.4 2012/05/04 13:12:52 johu Exp $
4
5 EAPI=4
6
7 AYATANA_VALA_VERSION=0.16
8
9 inherit autotools eutils flag-o-matic
10
11 DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize"
12 HOMEPAGE="http://launchpad.net/libindicate"
13 SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
14
15 LICENSE="LGPL-2.1 LGPL-3"
16 SLOT="3"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="gtk +introspection"
19
20 RESTRICT="test" # consequence of the -no-mono.patch
21
22 RDEPEND=">=dev-libs/dbus-glib-0.100
23 >=dev-libs/glib-2.30
24 >=dev-libs/libdbusmenu-0.6.2:3[gtk?,introspection?]
25 dev-libs/libxml2
26 gtk? ( >=x11-libs/gtk+-3.2:3 )
27 introspection? ( >=dev-libs/gobject-introspection-1 )
28 !<${CATEGORY}/${PN}-0.6.1-r201"
29 EAUTORECONF_DEPEND="dev-util/gtk-doc-am
30 gnome-base/gnome-common"
31 DEPEND="${RDEPEND}
32 ${EAUTORECONF_DEPEND}
33 app-text/gnome-doc-utils
34 dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen]
35 virtual/pkgconfig"
36
37 src_prepare() {
38 epatch "${FILESDIR}"/${PN}-0.6.1-no-mono.patch
39 sed -i -e "s:vapigen:vapigen-${AYATANA_VALA_VERSION}:" configure.ac || die
40 eautoreconf
41 }
42
43 src_configure() {
44 append-flags -Wno-error
45
46 # python bindings are only for GTK+-2.x
47 econf \
48 --docdir=/usr/share/doc/${PF} \
49 --disable-silent-rules \
50 --disable-static \
51 $(use_enable gtk) \
52 $(use_enable introspection) \
53 --disable-python \
54 --disable-scrollkeeper \
55 --with-gtk=3 \
56 --with-html-dir=/usr/share/doc/${PF}/html
57 }
58
59 src_install() {
60 emake DESTDIR="${D}" install
61 dodoc AUTHORS ChangeLog NEWS
62
63 nonfatal dosym /usr/share/doc/${PF}/html/${PN} /usr/share/gtk-doc/html/${PN}
64
65 prune_libtool_files
66 }

  ViewVC Help
Powered by ViewVC 1.1.20