diff options
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> |