summaryrefslogtreecommitdiff
path: root/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild
blob: ca9a6e3c2b853b4bf75c08b45184bcf7926e18ea (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="True Audio Compressor Software"
HOMEPAGE="https://tta.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/tta/${P}-src.tgz"
S="${WORKDIR}/${P}-src"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"

PATCHES=(
	"${FILESDIR}"/${P}-fix-build-system.patch
	"${FILESDIR}"/${P}-fix-hybrid-filter.patch
	"${FILESDIR}"/${P}-fix-musl.patch
)

src_configure() {
	tc-export CC
}

src_install() {
	dobin ttaenc
	dodoc ChangeLog-${PV} README
}