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/libdbusmenu/libdbusmenu-0.6.2.ebuild (-11 / +20 lines)
Lines 1-12 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/libdbusmenu/libdbusmenu-0.6.2.ebuild,v 1.5 2012/10/30 07:22:29 ssuominen Exp $
3
# $Header: $
4
4
5
EAPI=4
5
EAPI=5
6
6
7
AYATANA_VALA_VERSION=0.16
7
AYATANA_VALA_VERSION=0.16
8
8
9
inherit eutils flag-o-matic
9
inherit eutils flag-o-matic multilib-minimal
10
10
11
DESCRIPTION="Library to pass menu structure across DBus"
11
DESCRIPTION="Library to pass menu structure across DBus"
12
HOMEPAGE="http://launchpad.net/dbusmenu"
12
HOMEPAGE="http://launchpad.net/dbusmenu"
Lines 15-26 Link Here
15
LICENSE="LGPL-2.1 LGPL-3"
15
LICENSE="LGPL-2.1 LGPL-3"
16
SLOT="3"
16
SLOT="3"
17
KEYWORDS="~amd64 ~x86"
17
KEYWORDS="~amd64 ~x86"
18
IUSE="debug gtk +introspection"
18
IUSE="debug gtk gtk3 +introspection"
19
19
20
RDEPEND=">=dev-libs/glib-2.32
20
RDEPEND=">=dev-libs/glib-2.32
21
	>=dev-libs/dbus-glib-0.100
21
	>=dev-libs/dbus-glib-0.100
22
	dev-libs/libxml2
22
	dev-libs/libxml2
23
	gtk? ( >=x11-libs/gtk+-3.2:3 )
23
	gtk3? ( >=x11-libs/gtk+-3.2:3 )
24
	!gtk3? ( gtk? ( x11-libs/gtk+:2 ) )
24
	introspection? ( >=dev-libs/gobject-introspection-1 )
25
	introspection? ( >=dev-libs/gobject-introspection-1 )
25
	!<${CATEGORY}/${PN}-0.5.1-r200"
26
	!<${CATEGORY}/${PN}-0.5.1-r200"
26
DEPEND="${RDEPEND}
27
DEPEND="${RDEPEND}
Lines 28-39 Link Here
28
	dev-util/intltool
29
	dev-util/intltool
29
	virtual/pkgconfig
30
	virtual/pkgconfig
30
	introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )"
31
	introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )"
32
REQUIRED_USE="gtk3? ( gtk )"
31
33
32
src_configure() {
34
ECONF_SOURCE=${S}
35
36
multilib_src_configure() {
33
	append-flags -Wno-error #414323
37
	append-flags -Wno-error #414323
38
	export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/share/pkgconfig/
34
39
35
	use introspection && export VALA_API_GEN="$(type -P vapigen-${AYATANA_VALA_VERSION})"
40
	use introspection && export VALA_API_GEN="$(type -P vapigen-${AYATANA_VALA_VERSION})"
36
41
	use gtk3 && GTK_SWITCH="--with-gtk=3" || GTK_SWITCH="--with-gtk=2"
42
	
37
	# dumper extra tool is only for GTK+-2.x, tests use valgrind which is stupid
43
	# dumper extra tool is only for GTK+-2.x, tests use valgrind which is stupid
38
	econf \
44
	econf \
39
		--docdir=/usr/share/doc/${PF} \
45
		--docdir=/usr/share/doc/${PF} \
Lines 47-59 Link Here
47
		$(use_enable introspection vala) \
53
		$(use_enable introspection vala) \
48
		$(use_enable debug massivedebugging) \
54
		$(use_enable debug massivedebugging) \
49
		--with-html-dir=/usr/share/doc/${PF}/html \
55
		--with-html-dir=/usr/share/doc/${PF}/html \
50
		--with-gtk=3
56
		${GTK_SWITCH}
51
}
57
}
52
58
53
src_test() { :; } #440192
59
multilib_src_test() { :; } #440192
54
60
55
src_install() {
61
multilib_src_install() {
56
	emake -j1 DESTDIR="${D}" install
62
	emake -j1 DESTDIR="${D}" install
63
}
64
65
multilib_src_install_all() {
57
	dodoc AUTHORS ChangeLog README
66
	dodoc AUTHORS ChangeLog README
58
67
59
	local a b
68
	local a b

Return to bug 462764