[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2022-11-05 Thread Joonas Niilola
commit: d57e0cd7e11aab7448f01afa0749859968d01520
Author: Jaco Kroon  uls  co  za>
AuthorDate: Sat Oct 22 10:49:31 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Nov  5 13:36:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d57e0cd7

net-misc/asterisk-opus: add 20.0.1.3.0

Signed-off-by: Jaco Kroon  uls.co.za>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/asterisk-opus/Manifest|  2 +
 .../asterisk-opus/asterisk-opus-20.0.1.3.0.ebuild  | 49 ++
 2 files changed, 51 insertions(+)

diff --git a/net-misc/asterisk-opus/Manifest b/net-misc/asterisk-opus/Manifest
index 4809a15fa119..450bfd0fa831 100644
--- a/net-misc/asterisk-opus/Manifest
+++ b/net-misc/asterisk-opus/Manifest
@@ -2,3 +2,5 @@ DIST codec_opus-16.0_1.3.0-x86_32.tar.gz 394187 BLAKE2B 
0b187360ae65fe4cfd56f90c
 DIST codec_opus-16.0_1.3.0-x86_64.tar.gz 388551 BLAKE2B 
d36f4ce8e9414e0887232afe6fd15098e48eb5ccaf690f340d4a62eaac432342a61e43801260f0198bd68af58217ef2a9aacd6d46af99b192444fa59994ff590
 SHA512 
601d04de2bd4e67cd3d111c8a6c383ea3885180f8ab82c8943e0d09f8203cff3e6d45b6048843946d53b4002d01d31d92592107053e512b5347568050aba5ac7
 DIST codec_opus-18.0_1.3.0-x86_32.tar.gz 394411 BLAKE2B 
ecd374e7a6d0f8ee9dfffe7437276fabbcdbc334c0d3791874fcc22b41f150bb0ea2918920018bfb28b27538be9cb4fa4fe430d05e3c117041b33890e9d72ee5
 SHA512 
5d7b6651b8097a017ccbddd82811558d1b3e6f82871c4b761212f3695baa9207899fbce35cb9185a4543ad8fc8b11557c73bb21f3fc57e7d4b45f9e75a8189cf
 DIST codec_opus-18.0_1.3.0-x86_64.tar.gz 388492 BLAKE2B 
acf993c9d82921ec72307e1237ec0a88df2e10321423672e6d3d6377b61d44ed8bb7ec5e9109e3d5d17ba8dae54b03fb245ca59e90d896897536b1f629c213ab
 SHA512 
5155703af8e9d1b68b3f0469d3e77f266d8b1d4bbb5bb5761e4f775d3ea117902d9a50ffc390db2d367c8a9dc5682f61c199e18450b6567c5518163e0e04605f
+DIST codec_opus-20.0_1.3.0-x86_32.tar.gz 394431 BLAKE2B 
438fd122718e6efe45eaba0b81e774ddd02cef9d81983f9c5369acd4a8654429bcb0992d2918ccd4088f189221763bf4caf040bdd8a885b59ef3582bac5590a6
 SHA512 
6edb98a4b440c94c03c5623751b384b6595a1195dce3f62b3fbcafa9e1136bb8dd0c105a37f56369804e486095acb5d150e998e55a8f8a6b03988d8219e8883f
+DIST codec_opus-20.0_1.3.0-x86_64.tar.gz 388429 BLAKE2B 
535438df19edbf5e639e2427e46c05c4537b9955f3b02f94b21d674061e831f6097018fb1861b3f27081cdac4ae42a1dc9f8659e717a91be76c244cf9effaec3
 SHA512 
d98402be9cb12a9fefee427b4641e4e11873e04fe275d060ef8c272d4830a4c2227cac94963bb1bf19450487e5c6c381171328383192309c4f05250d6d759da2

diff --git a/net-misc/asterisk-opus/asterisk-opus-20.0.1.3.0.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-20.0.1.3.0.ebuild
new file mode 100644
index ..8388e1beb69b
--- /dev/null
+++ b/net-misc/asterisk-opus/asterisk-opus-20.0.1.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 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/${AST_PV}"
+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"
+   QA_PREBUILT="${QA_FLAGS_IGNORED}"
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2022-08-23 Thread Matthew Smith
commit: 70610128f407d2ec3435062ced92c3d85b1336dc
Author: Jaco Kroon  uls  co  za>
AuthorDate: Tue Aug 23 07:54:54 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Tue Aug 23 08:49:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70610128

net-misc/asterisk-opus: Remove :13

net-misc/asterisk:13 is going away due to security concerns.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jaco Kroon  uls.co.za>
Signed-off-by: Matthew Smith  gentoo.org>

 net-misc/asterisk-opus/Manifest|  2 -
 .../asterisk-opus-13.0.1.3.0-r1.ebuild | 49 --
 2 files changed, 51 deletions(-)

diff --git a/net-misc/asterisk-opus/Manifest b/net-misc/asterisk-opus/Manifest
index 9cb523f867a8..4809a15fa119 100644
--- a/net-misc/asterisk-opus/Manifest
+++ b/net-misc/asterisk-opus/Manifest
@@ -1,5 +1,3 @@
-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
 DIST codec_opus-16.0_1.3.0-x86_32.tar.gz 394187 BLAKE2B 
0b187360ae65fe4cfd56f90c2f617da916ec4ee9046a6ab9af3764c9182fce22bdaccf79eb1917ff4535201a96adda84761b7bb829aa062751d6836c539caa58
 SHA512 
851c94f327ed8823069d1a83ca750a607780753d3ea37f52e8ca5ad4c14a419be1b86c47adb965722f27de0cca2a829a3454d3f2c44925c676d040e78d440ad1
 DIST codec_opus-16.0_1.3.0-x86_64.tar.gz 388551 BLAKE2B 
d36f4ce8e9414e0887232afe6fd15098e48eb5ccaf690f340d4a62eaac432342a61e43801260f0198bd68af58217ef2a9aacd6d46af99b192444fa59994ff590
 SHA512 
601d04de2bd4e67cd3d111c8a6c383ea3885180f8ab82c8943e0d09f8203cff3e6d45b6048843946d53b4002d01d31d92592107053e512b5347568050aba5ac7
 DIST codec_opus-18.0_1.3.0-x86_32.tar.gz 394411 BLAKE2B 
ecd374e7a6d0f8ee9dfffe7437276fabbcdbc334c0d3791874fcc22b41f150bb0ea2918920018bfb28b27538be9cb4fa4fe430d05e3c117041b33890e9d72ee5
 SHA512 
5d7b6651b8097a017ccbddd82811558d1b3e6f82871c4b761212f3695baa9207899fbce35cb9185a4543ad8fc8b11557c73bb21f3fc57e7d4b45f9e75a8189cf

diff --git a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
deleted file mode 100644
index 9d7059690599..
--- a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2022 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/${AST_PV}"
-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"
-   QA_PREBUILT="${QA_FLAGS_IGNORED}"
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2022-07-15 Thread Agostino Sarubbo
commit: e16c20aa418b632d95db6fb36146b6c9f1b0f40b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 15 07:25:29 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 15 07:25:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e16c20aa

net-misc/asterisk-opus: x86 stable wrt bug #857744

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild | 2 +-
 net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild | 2 +-
 net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
index 3c9ee9569d18..9d7059690599 100644
--- a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
+++ b/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
@@ -18,7 +18,7 @@ x86? (
 
 LICENSE="Digium"
 SLOT="0/${AST_PV}"
-KEYWORDS="-* amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
 

diff --git a/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
index 3c9ee9569d18..9d7059690599 100644
--- a/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
+++ b/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
@@ -18,7 +18,7 @@ x86? (
 
 LICENSE="Digium"
 SLOT="0/${AST_PV}"
-KEYWORDS="-* amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
 

diff --git a/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
index 3c9ee9569d18..9d7059690599 100644
--- a/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
+++ b/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
@@ -18,7 +18,7 @@ x86? (
 
 LICENSE="Digium"
 SLOT="0/${AST_PV}"
-KEYWORDS="-* amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2022-07-15 Thread Agostino Sarubbo
commit: b313fec0eb3da9d567af1576c0a384fd84ac3c41
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 15 07:20:44 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 15 07:21:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b313fec0

net-misc/asterisk-opus: amd64 stable wrt bug #857744

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild | 4 ++--
 net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild | 4 ++--
 net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
index e21609589199..3c9ee9569d18 100644
--- a/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
+++ b/net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -18,7 +18,7 @@ x86? (
 
 LICENSE="Digium"
 SLOT="0/${AST_PV}"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 ~x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
 

diff --git a/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
index e21609589199..3c9ee9569d18 100644
--- a/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
+++ b/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -18,7 +18,7 @@ x86? (
 
 LICENSE="Digium"
 SLOT="0/${AST_PV}"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 ~x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
 

diff --git a/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
index e21609589199..3c9ee9569d18 100644
--- a/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
+++ b/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -18,7 +18,7 @@ x86? (
 
 LICENSE="Digium"
 SLOT="0/${AST_PV}"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 ~x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2021-05-26 Thread Sam James
commit: 2f30820c7882c0684faa1983d0da250e730ed967
Author: Jaco Kroon  uls  co  za>
AuthorDate: Wed May 26 11:58:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 26 12:34:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f30820c

net-misc/asterisk-opus: QA issues + sub slots.

sub slots as per asterisk versions.

Add QA variable exclusions.

Closes: https://bugs.gentoo.org/792186
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jaco Kroon  uls.co.za>
Signed-off-by: Sam James  gentoo.org>

 ...isk-opus-13.0.1.3.0.ebuild => asterisk-opus-13.0.1.3.0-r1.ebuild} | 5 +++--
 ...isk-opus-16.0.1.3.0.ebuild => asterisk-opus-16.0.1.3.0-r1.ebuild} | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

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-r1.ebuild
similarity index 92%
rename from net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild
rename to net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild
index 43c46db99b3..e2160958919 100644
--- 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-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -17,7 +17,7 @@ x86? (
 )"
 
 LICENSE="Digium"
-SLOT="0"
+SLOT="0/${AST_PV}"
 KEYWORDS="-* ~amd64 ~x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
@@ -28,6 +28,7 @@ S="${WORKDIR}"
 
 pkg_setup() {
QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_opus.so"
+   QA_PREBUILT="${QA_FLAGS_IGNORED}"
 }
 
 src_install() {

diff --git a/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
similarity index 92%
rename from net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0.ebuild
rename to net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
index 43c46db99b3..e2160958919 100644
--- a/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0.ebuild
+++ b/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -17,7 +17,7 @@ x86? (
 )"
 
 LICENSE="Digium"
-SLOT="0"
+SLOT="0/${AST_PV}"
 KEYWORDS="-* ~amd64 ~x86"
 
 RDEPEND="=net-misc/asterisk-${PV%%.*}*"
@@ -28,6 +28,7 @@ S="${WORKDIR}"
 
 pkg_setup() {
QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_opus.so"
+   QA_PREBUILT="${QA_FLAGS_IGNORED}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2021-05-26 Thread Sam James
commit: da2a988cc7d5fce3581cdfa2a34b1ecbf07dc960
Author: Jaco Kroon  uls  co  za>
AuthorDate: Wed May 26 11:59:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 26 12:34:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2a988c

net-misc/asterisk-opus: New version for net-misc/asterisk-18.*

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jaco Kroon  uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/20997
Signed-off-by: Sam James  gentoo.org>

 net-misc/asterisk-opus/Manifest|  2 +
 .../asterisk-opus-18.0.1.3.0-r1.ebuild | 49 ++
 2 files changed, 51 insertions(+)

diff --git a/net-misc/asterisk-opus/Manifest b/net-misc/asterisk-opus/Manifest
index cebc60a2b12..9cb523f867a 100644
--- a/net-misc/asterisk-opus/Manifest
+++ b/net-misc/asterisk-opus/Manifest
@@ -2,3 +2,5 @@ DIST codec_opus-13.0_1.3.0-x86_32.tar.gz 308059 BLAKE2B 
ec93fe29c030f2e63dffef88
 DIST codec_opus-13.0_1.3.0-x86_64.tar.gz 343694 BLAKE2B 
ff43085aabbfc4f4082dc22f11b12d62ddb631b46df492baef8786a1f76cbc6b2828091867d40c77f0c268ed2ba50148fd6a1394493b595342da408d6746fe20
 SHA512 
0932006e8537ddee8c73b598bf04b6b552e1bf9527c65abdd6f7b8ff7ef677e251bc4fff55233e5d7e715f9ff5b928347618ed0d14a1f6bc9c6c728303593213
 DIST codec_opus-16.0_1.3.0-x86_32.tar.gz 394187 BLAKE2B 
0b187360ae65fe4cfd56f90c2f617da916ec4ee9046a6ab9af3764c9182fce22bdaccf79eb1917ff4535201a96adda84761b7bb829aa062751d6836c539caa58
 SHA512 
851c94f327ed8823069d1a83ca750a607780753d3ea37f52e8ca5ad4c14a419be1b86c47adb965722f27de0cca2a829a3454d3f2c44925c676d040e78d440ad1
 DIST codec_opus-16.0_1.3.0-x86_64.tar.gz 388551 BLAKE2B 
d36f4ce8e9414e0887232afe6fd15098e48eb5ccaf690f340d4a62eaac432342a61e43801260f0198bd68af58217ef2a9aacd6d46af99b192444fa59994ff590
 SHA512 
601d04de2bd4e67cd3d111c8a6c383ea3885180f8ab82c8943e0d09f8203cff3e6d45b6048843946d53b4002d01d31d92592107053e512b5347568050aba5ac7
+DIST codec_opus-18.0_1.3.0-x86_32.tar.gz 394411 BLAKE2B 
ecd374e7a6d0f8ee9dfffe7437276fabbcdbc334c0d3791874fcc22b41f150bb0ea2918920018bfb28b27538be9cb4fa4fe430d05e3c117041b33890e9d72ee5
 SHA512 
5d7b6651b8097a017ccbddd82811558d1b3e6f82871c4b761212f3695baa9207899fbce35cb9185a4543ad8fc8b11557c73bb21f3fc57e7d4b45f9e75a8189cf
+DIST codec_opus-18.0_1.3.0-x86_64.tar.gz 388492 BLAKE2B 
acf993c9d82921ec72307e1237ec0a88df2e10321423672e6d3d6377b61d44ed8bb7ec5e9109e3d5d17ba8dae54b03fb245ca59e90d896897536b1f629c213ab
 SHA512 
5155703af8e9d1b68b3f0469d3e77f266d8b1d4bbb5bb5761e4f775d3ea117902d9a50ffc390db2d367c8a9dc5682f61c199e18450b6567c5518163e0e04605f

diff --git a/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
new file mode 100644
index 000..e2160958919
--- /dev/null
+++ b/net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 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/${AST_PV}"
+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"
+   QA_PREBUILT="${QA_FLAGS_IGNORED}"
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2020-04-13 Thread Joonas Niilola
commit: 46efb4476075643dc57161ef2503e270fb3e1e58
Author: Jaco Kroon  uls  co  za>
AuthorDate: Wed Apr  8 06:31:12 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 13 07:41:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46efb447

net-misc/asterisk-opus: version bump post asterisk-16

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/15266
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/asterisk-opus/Manifest|  2 +
 .../asterisk-opus/asterisk-opus-16.0.1.3.0.ebuild  | 48 ++
 2 files changed, 50 insertions(+)

diff --git a/net-misc/asterisk-opus/Manifest b/net-misc/asterisk-opus/Manifest
index 87a613cab20..cebc60a2b12 100644
--- a/net-misc/asterisk-opus/Manifest
+++ b/net-misc/asterisk-opus/Manifest
@@ -1,2 +1,4 @@
 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
+DIST codec_opus-16.0_1.3.0-x86_32.tar.gz 394187 BLAKE2B 
0b187360ae65fe4cfd56f90c2f617da916ec4ee9046a6ab9af3764c9182fce22bdaccf79eb1917ff4535201a96adda84761b7bb829aa062751d6836c539caa58
 SHA512 
851c94f327ed8823069d1a83ca750a607780753d3ea37f52e8ca5ad4c14a419be1b86c47adb965722f27de0cca2a829a3454d3f2c44925c676d040e78d440ad1
+DIST codec_opus-16.0_1.3.0-x86_64.tar.gz 388551 BLAKE2B 
d36f4ce8e9414e0887232afe6fd15098e48eb5ccaf690f340d4a62eaac432342a61e43801260f0198bd68af58217ef2a9aacd6d46af99b192444fa59994ff590
 SHA512 
601d04de2bd4e67cd3d111c8a6c383ea3885180f8ab82c8943e0d09f8203cff3e6d45b6048843946d53b4002d01d31d92592107053e512b5347568050aba5ac7

diff --git a/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0.ebuild 
b/net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0.ebuild
new file mode 100644
index 000..43c46db99b3
--- /dev/null
+++ b/net-misc/asterisk-opus/asterisk-opus-16.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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-opus/

2020-03-31 Thread Joonas Niilola
commit: 15674585042afc82921533ba1bb1734b90beae2f
Author: Jaco Kroon  uls  co  za>
AuthorDate: Sat Mar 21 18:30:12 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Mar 31 08:38:59 2020 +
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 000..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 000..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 000..e6da82c6ab9
--- /dev/null
+++ b/net-misc/asterisk-opus/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   j...@uls.co.za
+   Jaco Kroon
+   
+   
+   proxy-ma...@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.
+   
+