# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" inherit eutils libtool flag-o-matic autotools PATCHLEVEL="5" DESCRIPTION="AAC audio decoding library" HOMEPAGE="http://www.audiocoding.com/" SRC_URI="mirror://sourceforge/faac/${PN}-${PV/_/-}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="xmms" RDEPEND="xmms? ( >=media-sound/xmms-1.2.7 media-libs/id3lib ) media-libs/libmp4v2" DEPEND="${RDEPEND}" S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}/faad2-${PV}-bmp-bad.patch" eautoreconf } src_compile() { # see #34392 filter-flags -mfpmath=sse filter-flags -g append-flags -fno-strict-aliasing # mp4v2 needed for rhythmbox # drm needed for nothing but doesn't hurt econf \ --with-drm \ $(use_with xmms) \ emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog NEWS README README.linux TODO }