diff options
author | Jaco Kroon <jaco@uls.co.za> | 2022-10-22 12:49:31 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-11-05 15:36:48 +0200 |
commit | d57e0cd7e11aab7448f01afa0749859968d01520 (patch) | |
tree | ecfc5d5a92b0cdab69119139cad40e44aa72e2a7 /net-misc/asterisk-opus | |
parent | net-misc/asterisk: add 20.0.0 (diff) | |
download | gentoo-d57e0cd7e11aab7448f01afa0749859968d01520.tar.gz gentoo-d57e0cd7e11aab7448f01afa0749859968d01520.tar.bz2 gentoo-d57e0cd7e11aab7448f01afa0749859968d01520.zip |
net-misc/asterisk-opus: add 20.0.1.3.0
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/asterisk-opus')
-rw-r--r-- | net-misc/asterisk-opus/Manifest | 2 | ||||
-rw-r--r-- | net-misc/asterisk-opus/asterisk-opus-20.0.1.3.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
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 000000000000..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" +} |