blob: 96c464e54ca641edaffd85938f0de1d7f44a8d47 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/sidplayfp/sidplayfp-1.1.0.ebuild,v 1.1 2013/10/01 15:14:47 ssuominen Exp $
EAPI=5
inherit eutils
DESCRIPTION="A sidplay2 fork with resid-fp"
HOMEPAGE="http://sourceforge.net/projects/sidplay-residfp/"
SRC_URI="mirror://sourceforge/sidplay-residfp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+alsa oss pulseaudio"
RDEPEND=">=media-libs/libsidplayfp-1.1.0
alsa? ( media-libs/alsa-lib )
pulseaudio? ( media-sound/pulseaudio )"
DEPEND="${RDEPEND}
virtual/pkgconfig
oss? ( virtual/os-headers )"
DOCS=( AUTHORS README TODO )
src_prepare() {
use alsa || { sed -i -e 's:alsa >= 1.0:dIsAbLe&:' configure || die; }
use pulseaudio || { sed -i -e 's:libpulse-simple >= 1.0:dIsAbLe&:' configure || die; }
}
src_configure() {
export ac_cv_header_linux_soundcard_h=$(usex oss)
econf
}
|