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 / +27 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
	amd64? (
26
		x11-proto/kbproto[abi_x86_32?]
27
		x11-proto/xproto[abi_x86_32?]
28
		)
29
	"
22
30
23
src_configure() {
31
ECONF_SOURCE=${S}
24
	append-flags -Wno-error
25
32
33
multilib_src_configure() {
34
	append-flags -Wno-error
35
	
36
	use gtk3 && GTK_SWITCH="--with-gtk=3" || GTK_SWITCH="--with-gtk=2"
37
	
26
	econf \
38
	econf \
27
		--disable-silent-rules \
39
		--disable-silent-rules \
28
		--disable-static \
40
		--disable-static \
29
		--with-gtk=3
41
		${GTK_SWITCH}
30
}
42
}
31
43
32
src_test() {
44
multilib_src_test() {
33
	Xemake check #391179
45
	Xemake check #391179
34
}
46
}
35
47
36
src_install() {
48
multilib_src_install() {
37
	emake -j1 DESTDIR="${D}" install
49
	emake -j1 DESTDIR="${D}" install
50
}
51
52
multilib_src_install_all() {
38
	dodoc AUTHORS ChangeLog NEWS
53
	dodoc AUTHORS ChangeLog NEWS
39
	prune_libtool_files --all
54
	prune_libtool_files --all
40
}
55
}

Return to bug 462764