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

Collapse All | Expand All

(-)libdbusmenu-0.3.16-r2.ebuild (-7 / +6 lines)
Lines 30-36 Link Here
30
		dev-libs/json-glib[introspection=]
30
		dev-libs/json-glib[introspection=]
31
		dev-util/dbus-test-runner
31
		dev-util/dbus-test-runner
32
	)
32
	)
33
	vala? ( dev-lang/vala:0 )
33
	vala? ( dev-lang/vala:0.10 )
34
	dev-util/intltool
34
	dev-util/intltool
35
	dev-util/pkgconfig"
35
	dev-util/pkgconfig"
36
36
Lines 43-68 Link Here
43
43
44
src_prepare() {
44
src_prepare() {
45
	# Make Vala bindings optional, launchpad-bug #713685
45
	# Make Vala bindings optional, launchpad-bug #713685
46
	epatch "${FILESDIR}/${P}-optional-vala.patch"
46
	epatch "${FILESDIR}/${PN}-0.3.16-optional-vala.patch"
47
	# Make tests optional, launchpad-bug #552526
47
	# Make tests optional, launchpad-bug #552526
48
	epatch "${FILESDIR}/${P}-optional-tests.patch"
48
	epatch "${FILESDIR}/${PN}-0.3.16-optional-tests.patch"
49
	# Make libdbusmenu-gtk library optional, launchpad-bug #552530
49
	# Make libdbusmenu-gtk library optional, launchpad-bug #552530
50
	epatch "${FILESDIR}/${P}-optional-gtk.patch"
50
	epatch "${FILESDIR}/${P}-optional-gtk.patch"
51
	# Decouple testapp from libdbusmenu-gtk, launchpad-bug #709761
51
	# Decouple testapp from libdbusmenu-gtk, launchpad-bug #709761
52
	epatch "${FILESDIR}/${P}-decouple-testapp.patch"
52
	epatch "${FILESDIR}/${PN}-0.3.94-decouple-testapp.patch"
53
	# Make dbusmenudumper optional, launchpad-bug #643871
53
	# Make dbusmenudumper optional, launchpad-bug #643871
54
	epatch "${FILESDIR}/${PN}-0.3.14-optional-dumper.patch"
54
	epatch "${FILESDIR}/${PN}-0.3.14-optional-dumper.patch"
55
	# Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552538
55
	# Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552538
56
	epatch "${FILESDIR}/${PN}-0.3.14-fix-aclocal.patch"
56
	epatch "${FILESDIR}/${PN}-0.3.14-fix-aclocal.patch"
57
	# Fix introspection generation, launchpad-bug #713690
58
	epatch "${FILESDIR}/${P}-fix-introspection.patch"
59
	# Drop -Werror in a release
57
	# Drop -Werror in a release
60
	sed -e 's:-Werror::g' -i libdbusmenu-glib/Makefile.am libdbusmenu-gtk/Makefile.am || die "sed failed"
58
	sed -e 's:-Werror::g' -i libdbusmenu-glib/Makefile.am libdbusmenu-gtk/Makefile.am || die "sed failed"
61
	eautoreconf
59
	eautoreconf
62
}
60
}
63
61
64
src_configure() {
62
src_configure() {
65
	econf \
63
	VALA_API_GEN=$(type -p vapigen-0.10) \
64
		econf \
66
		$(use_enable gtk) \
65
		$(use_enable gtk) \
67
		$(use_enable gtk dumper) \
66
		$(use_enable gtk dumper) \
68
		$(use_enable introspection) \
67
		$(use_enable introspection) \

Return to bug 367285