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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 27 16:34:15 2012 UTC (2 years ago) by ssuominen
Branch: MAIN
Changes since 1.1: +5 -1 lines
Trick ./configure and pkg-config into believing APPINDICATOR_PYTHON_ dependencies are met wrt #409133 by Piotr Szymaniak

(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/libappindicator/libappindicator-12.10.0.ebuild,v 1.1 2012/07/26 16:23:36 ssuominen Exp $
4
5 EAPI=4
6 inherit eutils
7
8 AYATANA_VALA_VERSION=0.16
9
10 DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar"
11 HOMEPAGE="http://launchpad.net/libappindicator"
12 SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
13
14 LICENSE="LGPL-2.1 LGPL-3"
15 SLOT="3"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="+introspection"
18
19 RDEPEND=">=dev-libs/dbus-glib-0.98
20 >=dev-libs/glib-2.26
21 >=dev-libs/libdbusmenu-0.6.2:3[gtk]
22 >=dev-libs/libindicator-12.10.0:3
23 >=x11-libs/gtk+-3.2:3
24 introspection? ( >=dev-libs/gobject-introspection-1 )"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig
27 introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )"
28
29 src_prepare() {
30 # Disable MONO for now because of http://bugs.gentoo.org/382491
31 sed -i -e '/^MONO_REQUIRED_VERSION/s:=.*:=9999:' configure || die
32 }
33
34 src_configure() {
35 # http://bugs.gentoo.org/409133
36 export APPINDICATOR_PYTHON_CFLAGS=' '
37 export APPINDICATOR_PYTHON_LIBS=' '
38
39 use introspection && export VALAC="$(type -P valac-${AYATANA_VALA_VERSION})"
40
41 econf \
42 --disable-silent-rules \
43 --disable-static \
44 --with-html-dir=/usr/share/doc/${PF}/html \
45 --with-gtk=3
46 }
47
48 src_install() {
49 emake -j1 DESTDIR="${D}" install
50 dodoc AUTHORS ChangeLog
51
52 prune_libtool_files
53 }

  ViewVC Help
Powered by ViewVC 1.1.20