Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 655402 | Differences between
and this patch

Collapse All | Expand All

(-)a/net-misc/asterisk-opus/Manifest (+2 lines)
Line 0 Link Here
1
DIST codec_opus-13.0_1.3.0-x86_32.tar.gz 308059 BLAKE2B ec93fe29c030f2e63dffef882326c9f362e2a81c8de26eb04e96995c00acf965ea376555c0befa90bdf0f2592d40cc2e296abba720702a6cd7f6683f9784d533 SHA512 aa4aafa4c688a328eec81daafd0589fc3a25d22d374742a0500ca71763d4191a24b055e3eb6ecd9bd3a0556ef359ab9a8482b44e9c1633568136db4997284063
2
DIST codec_opus-13.0_1.3.0-x86_64.tar.gz 343694 BLAKE2B ff43085aabbfc4f4082dc22f11b12d62ddb631b46df492baef8786a1f76cbc6b2828091867d40c77f0c268ed2ba50148fd6a1394493b595342da408d6746fe20 SHA512 0932006e8537ddee8c73b598bf04b6b552e1bf9527c65abdd6f7b8ff7ef677e251bc4fff55233e5d7e715f9ff5b928347618ed0d14a1f6bc9c6c728303593213
(-)a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild (+47 lines)
Line 0 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI="6"
5
6
inherit versionator multilib
7
8
DESCRIPTION="OPUS codec and supporting files for asterisk"
9
HOMEPAGE="https://wiki.asterisk.org/wiki/display/AST/Codec+Opus"
10
11
MY_PV=$(replace_version_separator 2 _)
12
AST_PV=${MY_PV%%_*}
13
14
SRC_URI="x86? ( http://downloads.digium.com/pub/telephony/codec_opus/asterisk-${AST_PV}/x86-32/codec_opus-${MY_PV}-x86_32.tar.gz )
15
amd64? ( http://downloads.digium.com/pub/telephony/codec_opus/asterisk-${AST_PV}/x86-64/codec_opus-${MY_PV}-x86_64.tar.gz )"
16
17
LICENSE="Digium"
18
SLOT="0"
19
KEYWORDS="~amd64 ~x86"
20
IUSE=""
21
22
DEPEND=""
23
RDEPEND="${DEPEND} =net-misc/asterisk-${PV%%.*}*"
24
25
RESTRICT="mirror strip"
26
27
S="${WORKDIR}"
28
29
src_install() {
30
	local arch
31
32
	if use x86; then
33
		arch=x86_32
34
	elif use amd64; then
35
		arch=x86_64
36
	else
37
		die "Ebuild only functions for x86 and amd64."
38
	fi
39
40
	dodoc codec_opus-${MY_PV}-${arch}/LICENSE
41
	dodoc codec_opus-${MY_PV}-${arch}/README
42
	insinto /usr/$(get_libdir)/asterisk/modules/
43
	doins "codec_opus-${MY_PV}-${arch}/codec_opus.so"
44
45
	insinto /var/lib/asterisk/documentation/thirdparty
46
	doins "codec_opus-${MY_PV}-${arch}/codec_opus_config-en_US.xml"
47
}
(-)a/net-misc/asterisk-opus/metadata.xml (-1 / +16 lines)
Line 0 Link Here
0
- 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
<pkgmetadata>
4
	<maintainer type="person">
5
		<email>jaco@uls.co.za</email>
6
		<name>Jaco Kroon</name>
7
	</maintainer>
8
	<maintainer type="project">
9
		<email>proxy-maint@gentoo.org</email>
10
		<name>Proxy Maintainers</name>
11
	</maintainer>
12
	<longdescription lang="en">
13
		OPUS is one of the codecs utilized for WebRTC, this one is a binary module
14
		provided by Digium (royalty free) for use in asterisk for transcoding.
15
	</longdescription>
16
</pkgmetadata>

Return to bug 655402