commit b58c6e73f530bc4875e41cb7c3a96bc218770bca parent 1f68f22f894ee530e8af0a793c3baec9118ca223 Author: parazyd <parazyd@dyne.org> Date: Tue, 16 Mar 2021 14:32:39 +0100 media-libs/celt: Add 0.11.1 Diffstat:
A | media-libs/celt/Manifest | | | 1 | + |
A | media-libs/celt/celt-0.11.1-r1.ebuild | | | 34 | ++++++++++++++++++++++++++++++++++ |
A | media-libs/celt/metadata.xml | | | 10 | ++++++++++ |
3 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/media-libs/celt/Manifest b/media-libs/celt/Manifest @@ -0,0 +1 @@ +DIST celt-0.11.1.tar.gz 465853 BLAKE2B ca916d03217dfbeda4764d95bd016500cbf482a0a43099c3d3cd2f4f71182b7d12982f426bf784d022db8bde4a2a6c270f6b61a9675281bfd2be134103723747 SHA512 73d17486ae0ef544baf74f7cf7d4b82b7dcba5143f480ffefec2c16ae9aa240d207aac4aa28c6888ba26e925f6d6f5545f71ef157b95906b63d017ce7b7ce842 diff --git a/media-libs/celt/celt-0.11.1-r1.ebuild b/media-libs/celt/celt-0.11.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils multilib-minimal + +DESCRIPTION="CELT is a very low delay audio codec designed for high-quality communications" +HOMEPAGE="http://www.celt-codec.org/" +SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 arm x86" +IUSE="ogg static-libs" + +DEPEND="ogg? ( media-libs/libogg )" +RDEPEND="${DEPEND}" +DOCS=( README TODO ) + +multilib_src_configure() { + # ogg is for the binaries + local myconf="--without-ogg" + multilib_is_native_abi && myconf="$(use_with ogg ogg /usr)" + + ECONF_SOURCE="${S}" econf \ + $(use_enable static-libs static) \ + ${myconf} +} + +multilib_src_install_all() { + prune_libtool_files + einstalldocs +} diff --git a/media-libs/celt/metadata.xml b/media-libs/celt/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>menelkir@itroll.org</email> + <name>Daniel Menelkir</name> + </maintainer> + <longdescription lang="en"> + </longdescription> +</pkgmetadata>