From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5DCE5138351 for ; Tue, 31 Mar 2020 08:39:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8199EE0974; Tue, 31 Mar 2020 08:39:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C58EE096A for ; Tue, 31 Mar 2020 08:39:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E775134F113 for ; Tue, 31 Mar 2020 08:39:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D34A1AF for ; Tue, 31 Mar 2020 08:39:24 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1585643939.15674585042afc82921533ba1bb1734b90beae2f.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/asterisk-opus/Manifest net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild net-misc/asterisk-opus/metadata.xml X-VCS-Directories: net-misc/asterisk-opus/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 15674585042afc82921533ba1bb1734b90beae2f X-VCS-Branch: master Date: Tue, 31 Mar 2020 08:39:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c839d98b-a952-4263-a39d-40e21b0f68ef X-Archives-Hash: 5a6aed860c2dd6aadda5036379645afb commit: 15674585042afc82921533ba1bb1734b90beae2f Author: Jaco Kroon uls co za> AuthorDate: Sat Mar 21 18:30:12 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Mar 31 08:38:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15674585 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 uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/15044 Signed-off-by: Joonas Niilola 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(+) diff --git a/net-misc/asterisk-opus/Manifest b/net-misc/asterisk-opus/Manifest new file mode 100644 index 00000000000..87a613cab20 --- /dev/null +++ b/net-misc/asterisk-opus/Manifest @@ -0,0 +1,2 @@ +DIST codec_opus-13.0_1.3.0-x86_32.tar.gz 308059 BLAKE2B ec93fe29c030f2e63dffef882326c9f362e2a81c8de26eb04e96995c00acf965ea376555c0befa90bdf0f2592d40cc2e296abba720702a6cd7f6683f9784d533 SHA512 aa4aafa4c688a328eec81daafd0589fc3a25d22d374742a0500ca71763d4191a24b055e3eb6ecd9bd3a0556ef359ab9a8482b44e9c1633568136db4997284063 +DIST codec_opus-13.0_1.3.0-x86_64.tar.gz 343694 BLAKE2B ff43085aabbfc4f4082dc22f11b12d62ddb631b46df492baef8786a1f76cbc6b2828091867d40c77f0c268ed2ba50148fd6a1394493b595342da408d6746fe20 SHA512 0932006e8537ddee8c73b598bf04b6b552e1bf9527c65abdd6f7b8ff7ef677e251bc4fff55233e5d7e715f9ff5b928347618ed0d14a1f6bc9c6c728303593213 diff --git a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild b/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild new file mode 100644 index 00000000000..43c46db99b3 --- /dev/null +++ b/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="OPUS codec and supporting files for asterisk" +HOMEPAGE="https://wiki.asterisk.org/wiki/display/AST/Codec+Opus" + +AST_PV="$(ver_cut 1-2)" +MY_PV="$(ver_rs 2 _)" + +SRC_URI="amd64? ( + https://downloads.digium.com/pub/telephony/codec_opus/asterisk-${AST_PV}/x86-64/codec_opus-${MY_PV}-x86_64.tar.gz +) +x86? ( + https://downloads.digium.com/pub/telephony/codec_opus/asterisk-${AST_PV}/x86-32/codec_opus-${MY_PV}-x86_32.tar.gz +)" + +LICENSE="Digium" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RDEPEND="=net-misc/asterisk-${PV%%.*}*" + +RESTRICT="mirror strip" + +S="${WORKDIR}" + +pkg_setup() { + QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_opus.so" +} + +src_install() { + local arch + + if use x86; then + arch=x86_32 + elif use amd64; then + arch=x86_64 + fi + + dodoc codec_opus-${MY_PV}-${arch}/README + insinto /usr/$(get_libdir)/asterisk/modules/ + doins "codec_opus-${MY_PV}-${arch}/codec_opus.so" + + insinto /var/lib/asterisk/documentation/thirdparty + doins "codec_opus-${MY_PV}-${arch}/codec_opus_config-en_US.xml" +} diff --git a/net-misc/asterisk-opus/metadata.xml b/net-misc/asterisk-opus/metadata.xml new file mode 100644 index 00000000000..e6da82c6ab9 --- /dev/null +++ b/net-misc/asterisk-opus/metadata.xml @@ -0,0 +1,16 @@ + + + + + jaco@uls.co.za + Jaco Kroon + + + proxy-maint@gentoo.org + Proxy Maintainers + + + OPUS is one of the codecs utilized for WebRTC, this one is a binary module + provided by Digium (royalty free) for use in asterisk for transcoding. + +