summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2024-10-17 21:45:16 +0200
committerSam James <sam@gentoo.org>2024-10-18 15:35:21 +0100
commitb49f0d76e55784f99f0a68ad287b76522a156e28 (patch)
treee17cdb5d216bede5fbf5751bd7b0e0088c88fb91 /net-misc/asterisk-opus
parentnet-misc/asterisk-g729: add 22.0.3.1.10 (diff)
downloadgentoo-b49f0d76e55784f99f0a68ad287b76522a156e28.tar.gz
gentoo-b49f0d76e55784f99f0a68ad287b76522a156e28.tar.bz2
gentoo-b49f0d76e55784f99f0a68ad287b76522a156e28.zip
net-misc/asterisk-opus: add 21.0.1.3.0
Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/asterisk-opus')
-rw-r--r--net-misc/asterisk-opus/Manifest1
-rw-r--r--net-misc/asterisk-opus/asterisk-opus-21.0.1.3.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/asterisk-opus/Manifest b/net-misc/asterisk-opus/Manifest
index 450bfd0fa831..5a44ef786a89 100644
--- a/net-misc/asterisk-opus/Manifest
+++ b/net-misc/asterisk-opus/Manifest
@@ -4,3 +4,4 @@ DIST codec_opus-18.0_1.3.0-x86_32.tar.gz 394411 BLAKE2B ecd374e7a6d0f8ee9dfffe74
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
+DIST codec_opus-21.0_1.3.0-x86_64.tar.gz 415215 BLAKE2B 9c4fad40cccf5cfea3f3d7b0c8820a75ddb29a0fca9f2f4f9badfb904efc4fd2a40a4c7afd581d5d1eb6a52f0744ec9cecce0fdf9ef058d69ba0d3f123abafda SHA512 d92198c66045c4b0ec605f077a96c2da09cab1bfcee08191af6cab15c10e1dea50e94d23e66ce96e2dd49b35b4204a8da86e3a356e519e8191ab16d84998ee48
diff --git a/net-misc/asterisk-opus/asterisk-opus-21.0.1.3.0.ebuild b/net-misc/asterisk-opus/asterisk-opus-21.0.1.3.0.ebuild
new file mode 100644
index 000000000000..feb5d9e04ddb
--- /dev/null
+++ b/net-misc/asterisk-opus/asterisk-opus-21.0.1.3.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 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="https://downloads.digium.com/pub/telephony/codec_opus/asterisk-${AST_PV}/x86-64/codec_opus-${MY_PV}-x86_64.tar.gz"
+
+S="${WORKDIR}"
+
+LICENSE="Digium"
+SLOT="0/${AST_PV}"
+KEYWORDS="-* ~amd64"
+RESTRICT="mirror strip"
+
+RDEPEND="=net-misc/asterisk-${PV%%.*}*"
+
+pkg_setup() {
+ QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_opus.so"
+ QA_PREBUILT="${QA_FLAGS_IGNORED}"
+}
+
+src_install() {
+ local arch=x86_64
+
+ 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"
+}