commit:     754d8bed52e9e2b59285bc8fb84c40fb89a2e7ad
Author:     tomboy64 <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Thu Apr 20 19:08:00 2017 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sat Apr 22 15:55:17 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=754d8bed

media-sound/oaml: new package

dependency of games-engines/wyrmgus

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 media-sound/oaml/metadata.xml    | 16 ++++++++++++++++
 media-sound/oaml/oaml-1.1.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/media-sound/oaml/metadata.xml b/media-sound/oaml/metadata.xml
new file mode 100644
index 0000000..943c69b
--- /dev/null
+++ b/media-sound/oaml/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+                <name>tomboy64</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Games</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/media-sound/oaml/oaml-1.1.ebuild b/media-sound/oaml/oaml-1.1.ebuild
new file mode 100644
index 0000000..c5bdf9a
--- /dev/null
+++ b/media-sound/oaml/oaml-1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Open Adaptive Music Library"
+HOMEPAGE="https://oamldev.github.io";
+SRC_URI="https://github.com/oamldev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ogg static-libs"
+
+DEPEND="
+       ogg? (
+               static-libs? (
+                       media-libs/libogg[static-libs]
+                       media-libs/libvorbis[static-libs]
+               )
+               !static-libs? (
+                       media-libs/libogg
+                       media-libs/libvorbis
+               )
+       )
+       media-libs/alsa-lib
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DENABLE_STATIC=$(usex static-libs)
+               -DENABLE_OGG=$(usex ogg)
+       )
+       cmake-utils_src_configure
+}

Reply via email to