blob: 0c5ffef70679cb59fc6b6af4752c3bfe8f0c3f17 (
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
40
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Library for the sidplay2 fork with resid-fp"
HOMEPAGE="https://github.com/libsidplayfp/libsidplayfp"
SRC_URI="https://github.com/libsidplayfp/libsidplayfp/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/6"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-libs/libgcrypt:="
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-libs/unittest++ )"
src_prepare() {
default
# fix automagic. warning: modifying .ac triggers maintainer mode.
sed -i -e 's:doxygen:dIsAbLe&:' configure || die
}
src_configure() {
local myeconfargs=(
# Avoid automagic media-libs/resid dep, can wire up if requested
--without-exsid
$(use_enable test tests)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}
|