summaryrefslogtreecommitdiff
path: root/media-gfx/arss/arss-0.2.3-r1.ebuild
blob: 7353549b93d804a5ac85315a6aa6444815034642 (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
33
34
35
36
37
38
39
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${P}-src"
inherit cmake flag-o-matic

DESCRIPTION="Analysis & Resynthesis Sound Spectrograph"
HOMEPAGE="https://arss.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
CMAKE_USE_DIR="${S}/src"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="sci-libs/fftw:3.0="
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}"/${P}-fno-common.patch
	"${FILESDIR}"/${P}-cmake4.patch
)

DOCS=( ../AUTHORS ../ChangeLog )

src_configure() {
	# -Werror=strict-aliasing
	# https://bugs.gentoo.org/859604
	# Upstream is on sourceforge, inactive since 2009. No bug filed.
	#
	# Do not trust it for LTO either.
	append-flags -fno-strict-aliasing
	filter-lto

	cmake_src_configure
}