/[gentoo-x86]/media-libs/libao/libao-1.1.0-r1.ebuild
Gentoo

Contents of /media-libs/libao/libao-1.1.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jun 24 10:55:08 2012 UTC (2 years ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for amd64, wrt bug #423243

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-1.1.0-r1.ebuild,v 1.3 2012/06/24 04:00:20 radhermit Exp $
4
5 EAPI=4
6
7 inherit libtool multilib eutils
8
9 DESCRIPTION="The Audio Output library"
10 HOMEPAGE="http://www.xiph.org/ao/"
11 SRC_URI="http://downloads.xiph.org/releases/ao/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
16 IUSE="alsa nas mmap pulseaudio static-libs"
17
18 RDEPEND="alsa? ( media-libs/alsa-lib )
19 nas? ( media-libs/nas )
20 pulseaudio? ( media-sound/pulseaudio )"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig"
23
24 src_prepare() {
25 sed -i -e 's:-O20::' configure || die
26 sed -i -e "s:/lib:/$(get_libdir):g" ao.m4 || die
27 elibtoolize
28 }
29
30 src_configure() {
31 econf \
32 $(use_enable static-libs static) \
33 --disable-esd \
34 $(use_enable alsa alsa) \
35 $(use_enable mmap alsa-mmap) \
36 --disable-arts \
37 $(use_enable nas) \
38 $(use_enable pulseaudio pulse)
39 }
40
41 src_install() {
42 emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install
43 dodoc AUTHORS CHANGES README TODO
44 prune_libtool_files --all
45 }

  ViewVC Help
Powered by ViewVC 1.1.20