Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655402 - new ebuild: net-misc/asterisk-opus
Summary: new ebuild: net-misc/asterisk-opus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-05-10 15:55 UTC by Jaco Kroon
Modified: 2020-03-31 08:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-asterisk-opus-13.0.1.3.0-ebuild.patch (0001-asterisk-opus-13.0.1.3.0-ebuild.patch,3.77 KB, patch)
2018-05-10 15:55 UTC, Jaco Kroon
Details | Diff
0001-asterisk-opus-13.0.1.3.0-ebuild-r2.patch (0001-asterisk-opus-13.0.1.3.0-ebuild.patch,8.08 KB, patch)
2018-05-10 16:14 UTC, Jaco Kroon
Details | Diff
0001-asterisk-opus-13.0.1.3.0-ebuild-r3.patch (0001-asterisk-opus-13.0.1.3.0-ebuild.patch,3.76 KB, patch)
2018-06-19 10:34 UTC, Jaco Kroon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2018-05-10 15:55:26 UTC
Created attachment 530742 [details, diff]
0001-asterisk-opus-13.0.1.3.0-ebuild.patch

The opus codec seems to be the standard for WebRTC, and there is one available for asterisk.  There are other codecs being supported too according to webrtc.org
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-05-10 16:10:31 UTC
If this only works on amd64 and x86, then it should be:
KEYWORDS="-* ~amd64 ~x86"

The -* bit means this package and version/revision will never work on another arch
Comment 2 Jaco Kroon 2018-05-10 16:14:44 UTC
Created attachment 530744 [details, diff]
0001-asterisk-opus-13.0.1.3.0-ebuild-r2.patch

Updated as per information from Brian.
Comment 3 Andrew Savchenko gentoo-dev 2018-05-11 05:56:42 UTC
I suggest to use free solutions whenever possible. This binary codec is not just only a blob, but sends daily usage information to Digium:
https://github.com/traud/asterisk-opus

There is free solution available:
https://github.com/traud/asterisk-opus

Please try to use it instead of Digium's blob.
Comment 4 Jaco Kroon 2018-06-19 10:34:05 UTC
Created attachment 536318 [details, diff]
0001-asterisk-opus-13.0.1.3.0-ebuild-r3.patch

Fix maintainers as per offline discussion with Chainsaw.
Comment 5 Larry the Git Cow gentoo-dev 2020-03-31 08:39:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15674585042afc82921533ba1bb1734b90beae2f

commit 15674585042afc82921533ba1bb1734b90beae2f
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2020-03-21 18:30:12 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-31 08:38:59 +0000

    net-misc/asterisk-opus: initial version.
    
    This is Digium's OPUS codec implementation for asterisk.  If you're
    doing WebRTC you should use this.
    
    Closes: https://bugs.gentoo.org/655402
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/gentoo/pull/15044
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-misc/asterisk-opus/Manifest                    |  2 +
 .../asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild  | 48 ++++++++++++++++++++++
 net-misc/asterisk-opus/metadata.xml                | 16 ++++++++
 3 files changed, 66 insertions(+)