diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-04-26 20:48:14 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-04-26 20:48:14 +0000 |
commit | 8f0d4e9a48f308b58abce4ffd9ff86d964270ec4 (patch) | |
tree | be01ca61d146af90e0c6ed811f9908d9a4cc563d /dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild | |
parent | Sign the Manifest. (diff) | |
download | gentoo-2-8f0d4e9a48f308b58abce4ffd9ff86d964270ec4.tar.gz gentoo-2-8f0d4e9a48f308b58abce4ffd9ff86d964270ec4.tar.bz2 gentoo-2-8f0d4e9a48f308b58abce4ffd9ff86d964270ec4.zip |
Migrate to vala.eclass, bug #467390
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild')
-rw-r--r-- | dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild b/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild index a98c965e54d4..bd631c343eef 100644 --- a/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild +++ b/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild,v 1.5 2012/10/30 07:22:29 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild,v 1.6 2013/04/26 20:48:14 pacho Exp $ EAPI=4 +VALA_MIN_API_VERSION=0.16 +VALA_USE_DEPEND=vapigen -AYATANA_VALA_VERSION=0.16 - -inherit eutils flag-o-matic +inherit eutils flag-o-matic vala DESCRIPTION="Library to pass menu structure across DBus" HOMEPAGE="http://launchpad.net/dbusmenu" @@ -27,13 +27,18 @@ DEPEND="${RDEPEND} app-text/gnome-doc-utils dev-util/intltool virtual/pkgconfig - introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )" + introspection? ( $(vala_depend) )" + +src_prepare() { + if use introspection; then + vala_src_prepare + export VALA_API_GEN="${VAPIGEN}" + fi +} src_configure() { append-flags -Wno-error #414323 - use introspection && export VALA_API_GEN="$(type -P vapigen-${AYATANA_VALA_VERSION})" - # dumper extra tool is only for GTK+-2.x, tests use valgrind which is stupid econf \ --docdir=/usr/share/doc/${PF} \ |