From 616579b5d773c50af31ee56f00105d96ce641ca2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Aug 2021 10:30:13 +0100 Subject: gentoo resync : 14.08.2021 --- media-libs/codec2/codec2-1.0.0.ebuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 media-libs/codec2/codec2-1.0.0.ebuild (limited to 'media-libs/codec2/codec2-1.0.0.ebuild') diff --git a/media-libs/codec2/codec2-1.0.0.ebuild b/media-libs/codec2/codec2-1.0.0.ebuild new file mode 100644 index 000000000000..b90705d61a95 --- /dev/null +++ b/media-libs/codec2/codec2-1.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +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/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples test" +# Not yet passing, but infrastructure added to run +RESTRICT="test" + +multilib_src_configure() { + local mycmakeargs=( + -DUNITTEST=$(usex test) + -DINSTALL_EXAMPLES=$(usex examples) + ) + cmake_src_configure +} -- cgit v1.2.3