diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-07-25 08:21:02 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-07-25 08:21:02 +0200 |
commit | 684c2709eb2b2324e978c73c5518043e2d2d2a34 (patch) | |
tree | 48904291d72ba06528f7dae70d2f933bd47fc220 /media-libs/codec2 | |
parent | media-sound/orpheus: dropped obsolete 1.6-r3 (diff) | |
download | gentoo-684c2709eb2b2324e978c73c5518043e2d2d2a34.tar.gz gentoo-684c2709eb2b2324e978c73c5518043e2d2d2a34.tar.bz2 gentoo-684c2709eb2b2324e978c73c5518043e2d2d2a34.zip |
media-libs/codec2: bump to 1.2.0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/codec2')
-rw-r--r-- | media-libs/codec2/Manifest | 1 | ||||
-rw-r--r-- | media-libs/codec2/codec2-1.2.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/media-libs/codec2/Manifest b/media-libs/codec2/Manifest index 281b7af740a6..f7d08dda96d7 100644 --- a/media-libs/codec2/Manifest +++ b/media-libs/codec2/Manifest @@ -1,2 +1,3 @@ DIST codec2-1.1.0.tar.gz 14925316 BLAKE2B 7f99dfa5704c5b7df3efbb0cf5aeafe8d66e294f622dfa639ffe6ebe8b32b347a1632113763d6a3693a1f04451c3a5ff54592bda8cffa2d281847b775c62a561 SHA512 efc0f31b1a265c7acf38ab1c6c856f7a3cce58acec6c214d94cf9cd560efdca08859b317b396efb286176b0e235b2256080c8a2f83695424454b744275d1c661 DIST codec2-1.1.1.tar.gz 14925322 BLAKE2B 4d9d712c54c13e544b33b3f68f7863dbca9aa8dd19b241a0b1ba2b0ea8aae1f6477d24b33bee20dff537e4ea6743dae3f251691964f6dd7866ccd57718b2a5ac SHA512 d59c644018f16d99e0c5a7e163a2888cb1250f822dd00df419ee454552c61774ff6cdb5b1cf0a9bc09f0395bd78cf1b1b39217b8d314d238d65dc4c922bcbec2 +DIST codec2-1.2.0.tar.gz 7688549 BLAKE2B a30ab8ff5ad6a1b52cdf9d1ab5ca7e7ca7c95151dbebcb482d7eba12a0ecabd8cd7d9c75d3f46f4a387e0fd03561e5b36cad23eb004fa183cf8115db8bfff08c SHA512 a44e6eb3ec60b81e4dfefaa733c4f8a40c5e2e90454e964b14fbce896edd0877e32d917ce878a619d7e7e544c670231d7d0c9cd35659be6989fd18d474443489 diff --git a/media-libs/codec2/codec2-1.2.0.ebuild b/media-libs/codec2/codec2-1.2.0.ebuild new file mode 100644 index 000000000000..2cb792e740c8 --- /dev/null +++ b/media-libs/codec2/codec2-1.2.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +DESCRIPTION="Low bit rate speech codec" +HOMEPAGE="https://freedv.org/ https://www.rowetel.com/?page_id=452 https://github.com/drowe67/codec2" +SRC_URI="https://github.com/drowe67/codec2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples test" + +# Not yet passing, but infrastructure added to run +# Needs Octave dependencies like "signal"? +# https://github.com/drowe67/codec2/commit/9a129f1b3ad12ecbf3df7f4460f496ee11e49c08#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R155 +RESTRICT="test" + +#BDEPEND="test? ( sci-mathematics/octave )" + +multilib_src_configure() { + local mycmakeargs=( + # tries to look for octave during configure phase if unit + # tests are turned on and bails out during configure if it + # cannot find it. since we have test dependency disabled + # for now, don't flip this configure flag + # -DUNITTEST=$(usex test) # reenable once tests wired up + -DUNITTEST=OFF + -DINSTALL_EXAMPLES=$(usex examples) + ) + + cmake_src_configure +} |