blob: 93296cb979e6741b0a46207572b917960cc4b5ee (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils flag-o-matic versionator
DESCRIPTION="A library for the sidplay2 fork with resid-fp"
HOMEPAGE="https://sourceforge.net/projects/sidplay-residfp/"
SRC_URI="mirror://sourceforge/sidplay-residfp/${PN}/$(get_version_component_range 1-2)/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"
IUSE="cpu_flags_x86_mmx static-libs"
src_prepare() {
# fix automagic. warning: modifying .ac triggers maintainer mode.
sed -i -e 's:doxygen:dIsAbLe&:' configure || die
}
src_configure() {
# relies on undocumented "uint" type in libstdc++
# bug 649832
append-cxxflags -std=c++14
econf \
$(use_enable static-libs static) \
$(use_enable cpu_flags_x86_mmx mmx)
}
src_install() {
default
prune_libtool_files
}
|