diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-07-13 02:21:04 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-07-13 02:21:04 -0400 |
commit | 5ec2b8662a3c7c7066350ef33151e0ba7e1d151f (patch) | |
tree | f0a2674a3cf67815f739d05a61e1ec2db8816f28 /media-libs/opus | |
parent | media-sound/abcm2ps: version bump to 8.13.12 (diff) | |
download | gentoo-5ec2b8662a3c7c7066350ef33151e0ba7e1d151f.tar.gz gentoo-5ec2b8662a3c7c7066350ef33151e0ba7e1d151f.tar.bz2 gentoo-5ec2b8662a3c7c7066350ef33151e0ba7e1d151f.zip |
media-libs/opus: version bump to 1.2.1
Diffstat (limited to 'media-libs/opus')
-rw-r--r-- | media-libs/opus/Manifest | 1 | ||||
-rw-r--r-- | media-libs/opus/opus-1.2.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest index 0b1797ab845a..0a46b051429b 100644 --- a/media-libs/opus/Manifest +++ b/media-libs/opus/Manifest @@ -1,5 +1,6 @@ DIST opus-1.1.3.tar.gz 978848 SHA256 58b6fe802e7e30182e95d0cde890c0ace40b6f125cffc50635f0ad2eef69b633 SHA512 99fe272ade3f072e38101ec29f9125c9f4f2bacbcc002a9caca6e64a721f6c4193d7b1b81bd8370225693249c94293c4eea980e66c704424939dabbab890ab43 WHIRLPOOL 21137bae340d95ff99c45ff8014a89a104ee3557ddc366639e0badd317de072b135eec3c5292db3e47fb92da1abf3854a62d29e4d9d9fded109ddc272e86d38c DIST opus-1.1.4.tar.gz 978830 SHA256 9122b6b380081dd2665189f97bfd777f04f92dc3ab6698eea1dbb27ad59d8692 SHA512 57f14b9e8037eaa02a4d86535d3bbcceca249310fbc9ef1a452cc19dd442d4cf338d5db241d20605c236e22549df2c8266b7486c5f1666b80c532afd52cb3585 WHIRLPOOL 6331d567689bf4cf6151dcec6768a69fad455e3b92cfaca2b23bf6d1fa3fcfedb49e90762e51c96a5ec16ac5e90665849c38474d4fb55b8352f02fabb283e33d DIST opus-1.1.5.tar.gz 978844 SHA256 eb84981ca0f40a3e5d5e58d2e8582cb2fee05a022825a6dfe14d14b04eb563e4 SHA512 20a211caf3c363a77f042abb5c6da0ca186887511b467d3434e927d0e3b8850ac6ee32c671a60c549343d38617fca77cc10ca01a7e9cc864ecc2dcebed95c6bd WHIRLPOOL d3bbe160af0acb287e9676369b3210c65008306c5d59b8a5fddb6a1dc97e96c08caeaf82e380d8c1f284e7d1e010f5d0974fad3e985aa880dac5deb3ee59a90a +DIST opus-1.2.1.tar.gz 797352 SHA256 6d258ffc874070087d15c584c0c491864baad14a55873730d9af35bf72fb1ce1 SHA512 fdc64b43875dd07dc9eb1c37e9a61d1c10e3095de62ed9597d51b93445136958c9f5fee78c33ae7f90c72a20200083cdc727d8e79f2f9e580ad4e2f8c50cccb4 WHIRLPOOL 04a9864a16a60f8e374a6fe50bf5543b245381575cac9c5981737224ab75c5db6756b9c5fdb7a92db1adb4032b2791f74fccfe4aaaf26997551ededcd888d024 DIST opus-1.2.tar.gz 797111 SHA256 3e9c16fc09ae970fcb70a5c1c19c09576fd9bd22a549bc5f95fc7b316459bd17 SHA512 4fef70e3b439613f85ede30cc401b84c77f1828f56908d04cb76061b8116c083cc035b50eaec4205110481e9d8b794b9c05f6778d8428cc68f6d57bd3db721ca WHIRLPOOL 2e281d2a6abb0a9fdcb36fed5d6689c7d010260113515c9c0d2e30b7a5dab69234eb56f0865ec9611dc0d9b3b6d86cc823badd586b88181fdedd30d75e54158f DIST opus-1.2_beta.tar.gz 794113 SHA256 636d291c542b4318b82f011dcdbf61de1c449b4e346c4d7a581561446b05b8ca SHA512 b0b02ac41ee6de6a977f0a984910035b34378aae900d40608ef5ddbc6063a0938f86fca5a89df9d0de2d3d2583fdd523f649b84debe7f8350330222ea9bfc1f5 WHIRLPOOL 8f2196840fdc1889b615c55d23c19676e513dcd76fb1f5fe53b7039bdc7b3055290d20767c1b919c222b428d372da2ce6e228ac630a0e9c8abec8a20173ab20f diff --git a/media-libs/opus/opus-1.2.1.ebuild b/media-libs/opus/opus-1.2.1.ebuild new file mode 100644 index 000000000000..78ad78c3c004 --- /dev/null +++ b/media-libs/opus/opus-1.2.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools multilib-minimal + +if [[ ${PV} == *9999 ]] ; then + inherit git-2 + EGIT_REPO_URI="git://git.opus-codec.org/opus.git" +else + SRC_URI="https://github.com/xiph/opus/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" + if [[ "${PV}" != *_alpha* ]] && [[ "${PV}" != *_beta* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" + fi +fi + +DESCRIPTION="Open codec designed for internet transmission of interactive speech and audio" +HOMEPAGE="http://opus-codec.org/" + +LICENSE="BSD-2" +SLOT="0" +INTRINSIC_FLAGS="cpu_flags_x86_sse cpu_flags_arm_neon" +IUSE="ambisonics custom-modes doc static-libs ${INTRINSIC_FLAGS}" + +DEPEND="doc? ( app-doc/doxygen media-gfx/graphviz )" + +S="${WORKDIR}/${P/_/-}" + +src_prepare() { + default + + if [[ ! -f package_version ]] ; then + echo "PACKAGE_VERSION=\"${PV/_/-}\"" > package_version + fi + + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable ambisonics) + $(use_enable custom-modes) + $(use_enable doc) + $(use_enable static-libs static) + ) + for i in ${INTRINSIC_FLAGS} ; do + use ${i} && myeconfargs+=( --enable-intrinsics ) + done + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} |