media-libs/gsound: bump to EAPI=6, properly control vala build
authorGilles Dartiguelongue <eva@gentoo.org>
Sun, 13 Nov 2016 11:13:54 +0000 (12:13 +0100)
committerGilles Dartiguelongue <eva@gentoo.org>
Sun, 13 Nov 2016 11:19:25 +0000 (12:19 +0100)
Package-Manager: portage-2.3.2

media-libs/gsound/gsound-1.0.2-r1.ebuild [new file with mode: 0644]
media-libs/gsound/gsound-1.0.2.ebuild

diff --git a/media-libs/gsound/gsound-1.0.2-r1.ebuild b/media-libs/gsound/gsound-1.0.2-r1.ebuild
new file mode 100644 (file)
index 0000000..fb3ed30
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 vala
+
+DESCRIPTION="Thin GObject wrapper around the libcanberra sound event library"
+HOMEPAGE="https://wiki.gnome.org/Projects/GSound"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+introspection vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+       >=dev-libs/glib-2.36:2
+       media-libs/libcanberra
+       introspection? ( >=dev-libs/gobject-introspection-1.2.9:= )
+"
+DEPEND="${RDEPEND}
+       >=dev-util/gtk-doc-am-1.20
+       virtual/pkgconfig
+       vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+       use vala && vala_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure () {
+       gnome2_src_configure \
+               --disable-static \
+               $(use_enable introspection) \
+               $(use_enable vala)
+}
index 20a0bd009efa674715bad1f678d505dd73d021cb..8e3818480d800870e845a6563e95a57bb95799a9 100644 (file)
@@ -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