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/opusfile/
Date: Mon, 24 Sep 2018 15:51:40
Message-Id: 1537804284.e98dac25bbb2762437d81ae76ed0d6318e1e26e9.polynomial-c@gentoo
1 commit: e98dac25bbb2762437d81ae76ed0d6318e1e26e9
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 24 15:17:19 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 24 15:51:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98dac25
7
8 media-libs/opusfile: Bump to version 0.11
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.11
11
12 media-libs/opusfile/Manifest | 1 +
13 media-libs/opusfile/opusfile-0.11.ebuild | 42 ++++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/media-libs/opusfile/Manifest b/media-libs/opusfile/Manifest
17 index cc4e1f705b9..ea0f2a61b61 100644
18 --- a/media-libs/opusfile/Manifest
19 +++ b/media-libs/opusfile/Manifest
20 @@ -1,3 +1,4 @@
21 DIST opusfile-0.10.tar.gz 467700 BLAKE2B eab1c5eadd13ad574590c5b6a4bf8cc7f82ec0d723c240a0ce8104e108772549a4c81dd244aa61d310f0f432b2426a6e74de3c7b06aa8ab7e2f33e1c3692a826 SHA512 302601c31ca28bff175cefa99ac16177122a786d043be229616e2c98b7ffaf4a96b8bb17ca16e31240325a92763f417315b54d8f1b2f4f63f445cb7ad43c4a37
22 +DIST opusfile-0.11.tar.gz 467420 BLAKE2B e3e6ee2d1d4c7030bdd5f7ec14503d46ebbfcbc4481ab4652a0be9171d45fe2e855e0f17801cf28fda66f44496ba9f9a2996af7e5aaf5b008e4c3b14263f3160 SHA512 ec3e282310cc4f25475c27b7bc8d1652dcb25d3ac6badf87bd1b4e5397fbe106a0dab81c60d88d198003a23d8a2c9bae8b661edc9b31433effeca438ce56a349
23 DIST opusfile-0.6.tar.gz 437980 BLAKE2B 13250d08f9cc9564541bbe116c5482e5b9a0de1c28a8a9e9509b1019cb75d40caefc2b8eb0ad444bb67e05cc4d0813b7b3f1783e4d136201c71200b04f7690c2 SHA512 6fee48f3da21eeffed1ee5a3852234032aa559335225b07383c1104f5efba2f88aebe41c453ab2de472a69766e0fa9b48bec2f97d2a096b27afa96901802ba02
24 DIST opusfile-0.9.tar.gz 467683 BLAKE2B 7737e471fdd40bdf77883974569782dc7fcd12dac43ce3738529b0bb3e7e882a55f9db1180a89b64e8634f5f9af01e1fa8af7e5dea2762f8e4c83ed0c77006ce SHA512 9167b100ad4ea79af8bbe60ce710409b0cfd41b09d640a203a83a751c30eed0bd91b28cbf4d5fe3fcf41269881eb579300c5568fdd6f30208c6b84b429ad6632
25
26 diff --git a/media-libs/opusfile/opusfile-0.11.ebuild b/media-libs/opusfile/opusfile-0.11.ebuild
27 new file mode 100644
28 index 00000000000..1c16b94fd61
29 --- /dev/null
30 +++ b/media-libs/opusfile/opusfile-0.11.ebuild
31 @@ -0,0 +1,42 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="A high-level decoding and seeking API for .opus files"
38 +HOMEPAGE="https://www.opus-codec.org/"
39 +SRC_URI="https://downloads.xiph.org/releases/opus/${P}.tar.gz"
40 +
41 +LICENSE="BSD"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
44 +IUSE="doc fixed-point +float +http libressl static-libs"
45 +
46 +RDEPEND="media-libs/libogg
47 + media-libs/opus
48 + http? (
49 + !libressl? ( dev-libs/openssl:0= )
50 + libressl? ( dev-libs/libressl:= )
51 + )"
52 +
53 +DEPEND="${RDEPEND}
54 + doc? ( app-doc/doxygen )"
55 +
56 +REQUIRED_USE="^^ ( fixed-point float )"
57 +
58 +src_configure() {
59 + local myeconfargs=(
60 + --docdir=/usr/share/doc/${PF}
61 + $(use_enable doc)
62 + $(use_enable fixed-point)\
63 + $(use_enable float)
64 + $(use_enable http)
65 + $(use_enable static-libs static)
66 + )
67 + econf "${myeconfargs[@]}"
68 +}
69 +
70 +src_install() {
71 + default
72 + find "${ED}" -name "*.la" -delete || die
73 +}