commit:     44f798411970d4471c3801af723581497bca2679
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Fri May  8 21:37:56 2015 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Fri May  8 21:53:34 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=44f79841

media-libs/gsound: initial ebuild, needed by gnome-clocks

 media-libs/gsound/gsound-1.0.1.ebuild | 41 +++++++++++++++++++++++++++++++++++
 media-libs/gsound/metadata.xml        |  5 +++++
 2 files changed, 46 insertions(+)

diff --git a/media-libs/gsound/gsound-1.0.1.ebuild 
b/media-libs/gsound/gsound-1.0.1.ebuild
new file mode 100644
index 0000000..cab53cb
--- /dev/null
+++ b/media-libs/gsound/gsound-1.0.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.20"
+
+inherit gnome2 vala
+
+DESCRIPTION="thin wrapper around the libcanberra C library"
+HOMEPAGE="https://wiki.gnome.org/Projects/GSound";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+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
+"
+
+src_prepare() {
+       vala_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure () {
+       gnome2_src_configure \
+               --disable-static \
+               $(use_enable introspection)
+}

diff --git a/media-libs/gsound/metadata.xml b/media-libs/gsound/metadata.xml
new file mode 100644
index 0000000..6e0e2ec
--- /dev/null
+++ b/media-libs/gsound/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <herd>gnome</herd>
+</pkgmetadata>

Reply via email to