# $Header: /magellan-cvs/smage/libao/libao-0.8.8-r1.smage2,v 1.1 2008/02/13 21:19:32 niro Exp $ PNAME="libao" PVER="0.8.8" PBUILD="r1" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms." HOMEPAGE="http://www.xiph.org/ao/" DEPEND=">= virtual/glibc >= media-libs/alsa-lib-1.0.16 >= media-libs/nas-1.9" SDEPEND=">= media-sound/esound-0.2" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://downloads.xiph.org/releases/ao/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_compile() { cd ${SRCDIR} # no arts support anymore -> using kde4-branch local myconf="${myconf} --disable-arts" mconfigure \ --enable-alsa09 \ --enable-alsa09-mmap \ --enable-esd \ --enable-nas \ --enable-shared \ --disable-static \ ${myconf} \ || die # does not like optimations > -j1 mmake -j1 || die }