Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/celt/
Date: Fri, 04 Nov 2016 08:59:29
Message-Id: 1478249958.abd4482ee548c0cc3326b6ffbe249fa85c25f3a3.polynomial-c@gentoo
1 commit: abd4482ee548c0cc3326b6ffbe249fa85c25f3a3
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 4 08:59:05 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 4 08:59:18 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd4482e
7
8 media-libs/celt: Bump to version 0.11.3
9
10 Package-Manager: portage-2.3.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-libs/celt/Manifest | 1 +
14 media-libs/celt/celt-0.11.3.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/media-libs/celt/Manifest b/media-libs/celt/Manifest
18 index 918a3c5..a75cf32 100644
19 --- a/media-libs/celt/Manifest
20 +++ b/media-libs/celt/Manifest
21 @@ -1,2 +1,3 @@
22 DIST celt-0.11.1.tar.gz 465853 SHA256 01c2579fba8b283c9068cb704a70a6e654aa74ced064c091cafffbe6fb1d4cbf SHA512 73d17486ae0ef544baf74f7cf7d4b82b7dcba5143f480ffefec2c16ae9aa240d207aac4aa28c6888ba26e925f6d6f5545f71ef157b95906b63d017ce7b7ce842 WHIRLPOOL 7232af7abb58ef1fccc111a3ef74d1426bb807d3039067d8af37252cac4ba95395900903bbeff93257c6a097463ec3126a2d2ec14528449a0424a7db6dc23d8a
23 +DIST celt-0.11.3.tar.gz 465020 SHA256 7e64815d4a8a009d0280ecd235ebd917da3abdcfd8f7d0812218c085f9480836 SHA512 1f7b8c9b0fcb3a31ba81c220f89fb15173f6e7a25f8fa9d6669790cf29cccb5f75fb37a9f41c76bec5e8d8b9de47d65949831d5a843dcffb2f0747801a8c9bde WHIRLPOOL d452459c29ffa74322e79834015c0ff223492821e99a20729271f355807e54a687f10f6f98c841e8e2eb54e18be17fa0b5c8ac6e795c7b0177cc0b72d31ed121
24 DIST celt-0.5.1.3.tar.gz 440772 SHA256 fc2e5b68382eb436a38c3104684a6c494df9bde133c139fbba3ddb5d7eaa6a2e SHA512 bf5621dc3ec1b0808bdd83f006fd7b88df1b6caffe07e18eb696c268b31c6c7127329ecb4c9582c44e0ecf9577bbe2f3dbe40f15b80f8681bb7f4115f1501921 WHIRLPOOL 86355696a7aaef2d1dfc51526c29c5e39cdb6ef8e19cd23f8f49fa5b8d962ced8f395684c869a77bc67e20320c28ecf5c9d8bf8eb690f84bfccad3013736c3fd
25
26 diff --git a/media-libs/celt/celt-0.11.3.ebuild b/media-libs/celt/celt-0.11.3.ebuild
27 new file mode 100644
28 index 00000000..78dfaec
29 --- /dev/null
30 +++ b/media-libs/celt/celt-0.11.3.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +inherit autotools eutils multilib-minimal
39 +
40 +DESCRIPTION="CELT is a very low delay audio codec designed for high-quality communications"
41 +HOMEPAGE="http://www.celt-codec.org/"
42 +SRC_URI="http://downloads.us.xiph.org/releases/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="BSD-2"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +IUSE="ogg static-libs test"
48 +
49 +DEPEND="ogg? ( media-libs/libogg )"
50 +RDEPEND="${DEPEND}"
51 +DOCS=( README TODO )
52 +
53 +src_prepare() {
54 + default
55 +
56 + if use test ; then
57 + # tandem tests fail:
58 + # https://thr3ads.net/opus/2012/09/2124778-CELT-0.11.3-tandem-test-fails
59 + sed '/^TESTS/s@ tandem-test@@' -i tests/Makefile.am || die
60 + eautoreconf
61 + fi
62 +}
63 +
64 +multilib_src_configure() {
65 + # ogg is for the binaries
66 + local myconf="--without-ogg"
67 + multilib_is_native_abi && myconf="$(use_with ogg ogg /usr)"
68 +
69 + ECONF_SOURCE="${S}" econf \
70 + $(use_enable static-libs static) \
71 + ${myconf}
72 +}
73 +
74 +multilib_src_install_all() {
75 + prune_libtool_files
76 + einstalldocs
77 +}