# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils cmake-utils subversion ESVN_REPO_URI="https://aften.svn.sourceforge.net/svnroot/aften" ESVN_PROJECT="aften" DESCRIPTION="An A/52 (AC-3) audio encoder" HOMEPAGE="http://aften.sourceforge.net/" SRC_URI="" LICENSE="LGPL-2.1 BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="cxx csharp" DEPEND="${RDEPEND} csharp? ( dev-lang/mono )" src_compile() { local mycmakeargs="-DSHARED=1" use cxx && mycmakeargs="${mycmakeargs} -DBINDINGS_CXX=1" use csharp && mycmakeargs="${mycmakeargs} -DBINDINGS_CS=1" cmake-utils_src_compile } src_install() { cmake-utils_src_install dodoc README Changelog API.txt API\ C#.txt # File collision with media-sound/wavbreaker, upstream informed mv "${D}/usr/bin/wavinfo" "${D}/usr/bin/wavinfo-aften" }