diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-06-21 13:17:25 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-06-21 13:17:25 +0200 |
commit | 87f50c27db9c89feb1e55c1ee250778fcc8ca642 (patch) | |
tree | 1029fd0868e4a3bf440ac365134976e7f78f395e /media-libs/opus | |
parent | media-sound/timidity++: keyword ~arm64 (diff) | |
download | gentoo-87f50c27db9c89feb1e55c1ee250778fcc8ca642.tar.gz gentoo-87f50c27db9c89feb1e55c1ee250778fcc8ca642.tar.bz2 gentoo-87f50c27db9c89feb1e55c1ee250778fcc8ca642.zip |
media-libs/opus: bump to 1.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-libs/opus')
-rw-r--r-- | media-libs/opus/Manifest | 1 | ||||
-rw-r--r-- | media-libs/opus/opus-1.2.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest index fe897e353003..0b1797ab845a 100644 --- a/media-libs/opus/Manifest +++ b/media-libs/opus/Manifest @@ -1,4 +1,5 @@ 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.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.ebuild b/media-libs/opus/opus-1.2.ebuild new file mode 100644 index 000000000000..5bdefc4b9120 --- /dev/null +++ b/media-libs/opus/opus-1.2.ebuild @@ -0,0 +1,50 @@ +# 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 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) + ) + for i in ${INTRINSIC_FLAGS} ; do + use ${i} && myeconfargs+=( --enable-intrinsics ) + done + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} |