# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/ccaudio2/ccaudio2-2.0.5.ebuild,v 1.2 2012/06/21 18:36:57 maksbotan Exp $ EAPI=4 AUTOTOOLS_AUTORECONF="1" inherit autotools-utils DESCRIPTION="C++ class framework for manipulating audio data" HOMEPAGE="http://www.gnu.org/software/ccaudio" SRC_URI="mirror://gnu/ccaudio/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="debug static-libs +speex gsm" DEPEND="dev-libs/ucommon gsm? ( media-sound/gsm ) speex? ( media-libs/speex )" RDEPEND="${DEPEND}" PATCHES=("${FILESDIR}"/disable_gsm_automagic.patch) DOCS=(AUTHORS ChangeLog INSTALL NEWS README SUPPORT THANKS TODO) REQUIRED_USE="^^ ( gsm speex )" src_configure() { local myeconfargs=( $(use_enable speex) $(use_enable gsm) ) autotools-utils_src_configure }