summaryrefslogtreecommitdiff
path: root/media-sound/wavegain/wavegain-1.3.1-r1.ebuild
blob: 4af03be1334b59bcf1c646c0b6fdcae03f486e9c (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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic toolchain-funcs

DESCRIPTION="ReplayGain for WAVE audio files"
HOMEPAGE="https://www.rarewares.org/files/others/"
SRC_URI="https://www.rarewares.org/files/others/${P}srcs.zip"
S="${WORKDIR}/WaveGain-${PV}"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"

BDEPEND="app-arch/unzip"

PATCHES=(
	"${FILESDIR}"/${PN}-1.3.1-makefile.patch
	"${FILESDIR}"/${PN}-1.3.1-fno-common.patch
	"${FILESDIR}"/${PN}-1.3.1-clang16.patch
)

src_configure() {
	tc-export CC
	append-cflags -fno-strict-aliasing #860981
}

src_install() {
	dobin ${PN}
}