blob: 61cdcc735cb5548b784acafed3312fd7b8635054 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2019 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/"
SRC_URI="https://hobbes1069.fedorapeople.org/freetel/codec2/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 ~sparc x86"
IUSE="examples"
PATCHES=( "${FILESDIR}/${P}-unused-deps.patch" )
multilib_src_configure() {
local mycmakeargs=( -DUNITTEST=OFF )
cmake_src_configure
}
src_install() {
cmake-multilib_src_install
if use examples; then
insinto /usr/share/codec2
doins -r wav raw
fi
}
|