diff options
author | Matthew Brewer <tomboy64@sina.cn> | 2017-06-01 14:57:41 +0200 |
---|---|---|
committer | Matthew Brewer <tomboy64@sina.cn> | 2017-06-01 14:57:41 +0200 |
commit | dc90c40757a725e456c7461e308e49d5726edd81 (patch) | |
tree | f35c8451eaa47ab94a737d3900c6311c2f0835e9 | |
parent | games-strategy/wyrmsun: new package (diff) | |
download | tbc-dc90c40757a725e456c7461e308e49d5726edd81.tar.gz tbc-dc90c40757a725e456c7461e308e49d5726edd81.tar.bz2 tbc-dc90c40757a725e456c7461e308e49d5726edd81.zip |
media-sound/oaml: new package
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r-- | media-sound/oaml/Manifest | 1 | ||||
-rw-r--r-- | media-sound/oaml/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/oaml/oaml-1.1.ebuild | 38 |
3 files changed, 47 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..ce1c67b --- /dev/null +++ b/media-sound/oaml/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</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 +} |