Files @ 071bf3597f1d
Branch filter:

Location: ohnobinki_overlay/media-libs/libao/libao-0.8.8-r1.ebuild - annotation

071bf3597f1d 1.2 KiB application/vnd.gentoo.ebuild Show Source Show as Raw Download as Raw
binki
Make sure that eqmake4 is run by the ebuild so that doxygen's Makefiles don't get to call qmake directly. Remove old doxygen versions and patches.
(Portage version: 2.2_rc62-r4/hg/Linux x86_64)
(Unsigned Manifest commit)
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-0.8.8.ebuild,v 1.9 2009/06/01 14:31:23 ssuominen Exp $

EAPI=2
inherit eutils libtool

DESCRIPTION="the audio output library"
HOMEPAGE="http://www.xiph.org/ao"
SRC_URI="http://downloads.xiph.org/releases/ao/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="alsa doc nas mmap pulseaudio"

RDEPEND="alsa? ( media-libs/alsa-lib )
	nas? ( media-libs/nas )
	pulseaudio? ( media-sound/pulseaudio )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_prepare() {
	epatch "${FILESDIR}"/${P}-alsa09-buffertime-milliseconds.patch
	epatch "${FILESDIR}"/${P}-bigendianfix-fedora.patch

	elibtoolize
}

src_configure() {
	econf \
		--enable-shared \
		--disable-static \
		$(use_enable alsa alsa09) \
		$(use_enable mmap alsa09-mmap) \
		--disable-arts \
		--disable-esd \
		$(use_enable nas) \
		$(use_enable pulseaudio pulse)
}

src_install () {
	emake -j1 DESTDIR="${D}" install || die "emake install failed."
	rm -rf "${D}"/usr/share/doc/libao*
	dodoc AUTHORS CHANGES README TODO
	use doc && dohtml -A c doc/*.html
}