Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 462764 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-libs/libindicator/libindicator-12.10.0-r300.ebuild (-12 / +25 lines)
Lines 1-9 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicator/libindicator-12.10.0-r300.ebuild,v 1.2 2012/07/30 20:51:21 ssuominen Exp $
3
# $Header: $
4
4
5
EAPI=4
5
EAPI=5
6
inherit eutils flag-o-matic virtualx
6
7
inherit eutils flag-o-matic virtualx multilib-minimal
7
8
8
DESCRIPTION="A set of symbols and convience functions that all indicators would like to use"
9
DESCRIPTION="A set of symbols and convience functions that all indicators would like to use"
9
HOMEPAGE="http://launchpad.net/libindicator"
10
HOMEPAGE="http://launchpad.net/libindicator"
Lines 12-40 Link Here
12
LICENSE="GPL-3"
13
LICENSE="GPL-3"
13
SLOT="3"
14
SLOT="3"
14
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
15
IUSE="test"
16
IUSE="test gtk3"
16
17
17
RDEPEND=">=dev-libs/glib-2.22
18
RDEPEND=">=dev-libs/glib-2.22
18
	>=x11-libs/gtk+-3.2:3"
19
	gtk3? ( >=x11-libs/gtk+-3.2:3 )
20
	!gtk3? ( x11-libs/gtk+:2 )
21
	"
19
DEPEND="${RDEPEND}
22
DEPEND="${RDEPEND}
20
	virtual/pkgconfig
23
	virtual/pkgconfig
21
	test? ( dev-util/dbus-test-runner )"
24
	test? ( dev-util/dbus-test-runner )
25
	x11-proto/kbproto[abi_x86_32?]
26
	x11-proto/xproto[abi_x86_32?]
27
	"
22
28
23
src_configure() {
29
ECONF_SOURCE=${S}
24
	append-flags -Wno-error
25
30
31
multilib_src_configure() {
32
	append-flags -Wno-error
33
	
34
	use gtk3 && GTK_SWITCH="--with-gtk=3" || GTK_SWITCH="--with-gtk=2"
35
	
26
	econf \
36
	econf \
27
		--disable-silent-rules \
37
		--disable-silent-rules \
28
		--disable-static \
38
		--disable-static \
29
		--with-gtk=3
39
		${GTK_SWITCH}
30
}
40
}
31
41
32
src_test() {
42
multilib_src_test() {
33
	Xemake check #391179
43
	Xemake check #391179
34
}
44
}
35
45
36
src_install() {
46
multilib_src_install() {
37
	emake -j1 DESTDIR="${D}" install
47
	emake -j1 DESTDIR="${D}" install
48
}
49
50
multilib_src_install_all() {
38
	dodoc AUTHORS ChangeLog NEWS
51
	dodoc AUTHORS ChangeLog NEWS
39
	prune_libtool_files --all
52
	prune_libtool_files --all
40
}
53
}

Return to bug 462764