summaryrefslogtreecommitdiff
path: root/media-libs/libresidfp/libresidfp-1.1.1.ebuild
blob: 9772811e70c45c7d2cf4af422d9a4c2144905f20 (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 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Library to software emulation of the MOS 6581/8580 SID chip"
HOMEPAGE="https://github.com/libsidplayfp/libresidfp"
SRC_URI="https://github.com/libsidplayfp/libresidfp/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"

PATCHES=(
	# PR merged
	"${FILESDIR}"/${P}-fix_typo.patch
)

src_configure() {
	local myeconfargs=(
		$(use_enable test tests)
	)

	econf "${myeconfargs[@]}"
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}