summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomboy64 <tomboy64@sina.cn>2017-04-20 21:08:00 +0200
committerVadim A. Misbakh-Soloviov <git@mva.name>2017-04-22 22:55:17 +0700
commit754d8bed52e9e2b59285bc8fb84c40fb89a2e7ad (patch)
treea3de25edea6aa0749bf3219db8b6e33b79276adf
parentadobe-air-sdk-bin: eapi6, fix emul pkgs (diff)
downloadgamerlay-754d8bed52e9e2b59285bc8fb84c40fb89a2e7ad.tar.gz
gamerlay-754d8bed52e9e2b59285bc8fb84c40fb89a2e7ad.tar.bz2
gamerlay-754d8bed52e9e2b59285bc8fb84c40fb89a2e7ad.zip
media-sound/oaml: new package
dependency of games-engines/wyrmgus Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r--media-sound/oaml/Manifest1
-rw-r--r--media-sound/oaml/metadata.xml16
-rw-r--r--media-sound/oaml/oaml-1.1.ebuild38
3 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/oaml/Manifest b/media-sound/oaml/Manifest
new file mode 100644
index 0000000..d767677
--- /dev/null
+++ b/media-sound/oaml/Manifest
@@ -0,0 +1 @@
+DIST oaml-1.1.tar.gz 150584 SHA256 b7d7d6dc29d4e487852220b6a45374392c0283f8e53659799d6e6a2d3b47ee8f SHA512 75b9b4dbdb3e601452f710ae8f966909d5e54fd111e268f63e895378ee1cad7d6213d52704aced7430dbe9080e0d5f79400f35546e138189355de865d071e7a5 WHIRLPOOL 7adaef18d92e215208fb46d867f5f65099f3322d796bf17d9c30b56b983c6c1e33007a8e27b819637340607b13dd5b91e210354b0b403b9ba9944ed3c3ac2687
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>tomboy64@sina.cn</email>
+ <name>tomboy64</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</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
+}