summaryrefslogtreecommitdiff
path: root/net-misc/asterisk-opus
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /net-misc/asterisk-opus
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'net-misc/asterisk-opus')
-rw-r--r--net-misc/asterisk-opus/Manifest7
-rw-r--r--net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0-r1.ebuild (renamed from net-misc/asterisk-opus/asterisk-opus-13.0.1.3.0.ebuild)5
-rw-r--r--net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0-r1.ebuild (renamed from net-misc/asterisk-opus/asterisk-opus-16.0.1.3.0.ebuild)5
-rw-r--r--net-misc/asterisk-opus/asterisk-opus-18.0.1.3.0-r1.ebuild49
4 files changed, 60 insertions, 6 deletions
diff --git a/net-misc/asterisk-opus/Manifest b/net-misc/asterisk-opus/Manifest
index 4347cca53eac..41f3317e1784 100644
--- a/net-misc/asterisk-opus/Manifest
+++ b/net-misc/asterisk-opus/Manifest
@@ -2,6 +2,9 @@ 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
-EBUILD asterisk-opus-13.0.1.3.0.ebuild 1131 BLAKE2B 82feadbc475d8fccdaa388e69665dcaa9f006747c94e9a09ecce1c0fd7a09e8740774d93468969fd994ed83b71888a782c9f3a2a9d8957e976e92d86353410dd SHA512 2d039f6b907f7f27998bb3020fbecaa323c04ab34fd09cd1e7c093955949049f38098f8998475f92a8b47f367290710762c150fb52a4022288df71fc10f9bda0
-EBUILD asterisk-opus-16.0.1.3.0.ebuild 1131 BLAKE2B 82feadbc475d8fccdaa388e69665dcaa9f006747c94e9a09ecce1c0fd7a09e8740774d93468969fd994ed83b71888a782c9f3a2a9d8957e976e92d86353410dd SHA512 2d039f6b907f7f27998bb3020fbecaa323c04ab34fd09cd1e7c093955949049f38098f8998475f92a8b47f367290710762c150fb52a4022288df71fc10f9bda0
+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
+EBUILD asterisk-opus-13.0.1.3.0-r1.ebuild 1176 BLAKE2B b0df7de74f692ae3386aae6013b053ac52f9063df56ee0f37af616b0873e7dd725094aa431a0f7b4e875765db5c2e49205c242c87328cbb1b5ac4e66110776e0 SHA512 e6333fd18bae0750d967edd483b9bfbf7d19ed4239285389386ef9d06a86eaee992c8cbdba8da5400f8d271599192518658615cc1a3bfb3178d98c11c6ea6963
+EBUILD asterisk-opus-16.0.1.3.0-r1.ebuild 1176 BLAKE2B b0df7de74f692ae3386aae6013b053ac52f9063df56ee0f37af616b0873e7dd725094aa431a0f7b4e875765db5c2e49205c242c87328cbb1b5ac4e66110776e0 SHA512 e6333fd18bae0750d967edd483b9bfbf7d19ed4239285389386ef9d06a86eaee992c8cbdba8da5400f8d271599192518658615cc1a3bfb3178d98c11c6ea6963
+EBUILD asterisk-opus-18.0.1.3.0-r1.ebuild 1176 BLAKE2B b0df7de74f692ae3386aae6013b053ac52f9063df56ee0f37af616b0873e7dd725094aa431a0f7b4e875765db5c2e49205c242c87328cbb1b5ac4e66110776e0 SHA512 e6333fd18bae0750d967edd483b9bfbf7d19ed4239285389386ef9d06a86eaee992c8cbdba8da5400f8d271599192518658615cc1a3bfb3178d98c11c6ea6963
MISC metadata.xml 586 BLAKE2B 1a57ae9569c9e563efd47abb9b82f64636640dd5e0afd216a72d2be568112badd74ed0b578cf5b9a934979252fe156e0115eece065357b369aceabb5ab476c5c SHA512 e42c760a72a8b3ac002cf43d0ec32bd86bac7583ff1f74ce20d73fdaf2c5748a8e22646a2fe93a17ea275e8939ce727cc598b6ac3fc3a6b0af0b42d2c636ca80
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
index 43c46db99b3b..e21609589199 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
index 43c46db99b3b..e21609589199 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() {
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 000000000000..e21609589199
--- /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"
+}