You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/sidplayfp/sidplayfp-1.4.0.ebuild

35 lines
900 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils versionator
DESCRIPTION="A sidplay2 fork with resid-fp"
HOMEPAGE="http://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 ~x86"
IUSE="+alsa oss pulseaudio"
RDEPEND=">=media-libs/libsidplayfp-1.8.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
}