29 lines
646 B
Bash
29 lines
646 B
Bash
# Copyright 1999-2020 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/ http://www.rowetel.com/?page_id=452"
|
|
SRC_URI="https://github.com/drowe67/codec2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
|
IUSE="examples"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/install_freedv_trx.patch"
|
|
)
|
|
|
|
multilib_src_configure() {
|
|
local mycmakeargs=(
|
|
-DUNITTEST=OFF
|
|
-DINSTALL_EXAMPLES=$(usex examples)
|
|
)
|
|
cmake_src_configure
|
|
}
|