diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-24 17:38:20 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-24 17:51:27 +0200 |
commit | 83d8ef2b04f45dc825d2ede5fce8a6f1e4dd62f7 (patch) | |
tree | 2f11bdfcd6a5130a9c362dbe23c2896daa57b72d /media-libs/libopusenc | |
parent | media-libs/opusfile: Removed old. (diff) | |
download | gentoo-83d8ef2b04f45dc825d2ede5fce8a6f1e4dd62f7.tar.gz gentoo-83d8ef2b04f45dc825d2ede5fce8a6f1e4dd62f7.tar.bz2 gentoo-83d8ef2b04f45dc825d2ede5fce8a6f1e4dd62f7.zip |
media-libs/libopusenc: Initial commit
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'media-libs/libopusenc')
-rw-r--r-- | media-libs/libopusenc/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libopusenc/libopusenc-0.2.ebuild | 36 | ||||
-rw-r--r-- | media-libs/libopusenc/metadata.xml | 8 |
3 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/libopusenc/Manifest b/media-libs/libopusenc/Manifest new file mode 100644 index 000000000000..292742288e5f --- /dev/null +++ b/media-libs/libopusenc/Manifest @@ -0,0 +1 @@ +DIST libopusenc-0.2.tar.gz 388027 BLAKE2B 5822d09ec56ce9dc0182241e7182b71c9c21def5645a2ef3472af380b25af1b1f8a08311c2cfb8bacdfde845dff81ee426401f1ab098b6598e41e664ccaf9c34 SHA512 82b9a60bf6fa0c8bc485b221bc633456245f8909875fb9e86876076bc37857d53a366bbc66f2e1e331adddcf12c4d5a29f0047e21d0fae2f8bd8a3199bd6f78f diff --git a/media-libs/libopusenc/libopusenc-0.2.ebuild b/media-libs/libopusenc/libopusenc-0.2.ebuild new file mode 100644 index 000000000000..473b64aa39d0 --- /dev/null +++ b/media-libs/libopusenc/libopusenc-0.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="High-level API for encoding .opus files" +HOMEPAGE="https://www.opus-codec.org/" +SRC_URI="https://archive.mozilla.org/pub/opus/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + doc? ( app-doc/doxygen[dot] ) +" +RDEPEND=" + >=media-libs/opus-1.1 +" + +src_configure() { + local myeconfargs=( + $(use_enable doc) + ) + + econf "${myeconfsargs[@]}" +} + +src_install() { + default + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/media-libs/libopusenc/metadata.xml b/media-libs/libopusenc/metadata.xml new file mode 100644 index 000000000000..39626a990be5 --- /dev/null +++ b/media-libs/libopusenc/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="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> +</pkgmetadata> |