commit: be9b37a3e64de4c6bb9121f99ec1f5ae32fc5442
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 11:13:54 2016 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 11:19:25 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9b37a3
media-libs/gsound: bump to EAPI=6, properly control vala build
Package-Manager: portage-2.3.2
.../{gsound-1.0.2.ebuild => gsound-1.0.2-r1.ebuild} | 18 +++++++++---------
media-libs/gsound/gsound-1.0.2.ebuild | 5 ++---
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/media-libs/gsound/gsound-1.0.2.ebuild
b/media-libs/gsound/gsound-1.0.2-r1.ebuild
similarity index 70%
copy from media-libs/gsound/gsound-1.0.2.ebuild
copy to media-libs/gsound/gsound-1.0.2-r1.ebuild
index 20a0bd0..fb3ed30 100644
--- a/media-libs/gsound/gsound-1.0.2.ebuild
+++ b/media-libs/gsound/gsound-1.0.2-r1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
-GCONF_DEBUG="no"
+EAPI=6
VALA_USE_DEPEND="vapigen"
inherit gnome2 vala
@@ -13,28 +12,29 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GSound"
LICENSE="LGPL-2.1+"
SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+introspection"
+KEYWORDS="~amd64 ~x86"
+IUSE="+introspection vala"
+REQUIRED_USE="vala? ( introspection )"
-# vala setup required for vapigen check
RDEPEND="
>=dev-libs/glib-2.36:2
media-libs/libcanberra
introspection? ( >=dev-libs/gobject-introspection-1.2.9:= )
"
DEPEND="${RDEPEND}
- $(vala_depend)
>=dev-util/gtk-doc-am-1.20
virtual/pkgconfig
+ vala? ( $(vala_depend) )
"
src_prepare() {
- vala_src_prepare
+ use vala && vala_src_prepare
gnome2_src_prepare
}
src_configure () {
gnome2_src_configure \
--disable-static \
- $(use_enable introspection)
+ $(use_enable introspection) \
+ $(use_enable vala)
}
diff --git a/media-libs/gsound/gsound-1.0.2.ebuild
b/media-libs/gsound/gsound-1.0.2.ebuild
index 20a0bd0..8e38184 100644
--- a/media-libs/gsound/gsound-1.0.2.ebuild
+++ b/media-libs/gsound/gsound-1.0.2.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
-GCONF_DEBUG="no"
+EAPI=6
VALA_USE_DEPEND="vapigen"
inherit gnome2 vala