/[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.5 - (hide annotations) (download)
Mon Jun 25 07:10:07 2012 UTC (2 years, 2 months ago) by jdhore
Branch: MAIN
Changes since 1.4: +2 -2 lines
marked x86 per bug 423243

(Portage version: 2.2.0_alpha112/cvs/Linux i686)

1 jdhore 1.2 # Copyright 1999-2012 Gentoo Foundation
2 mattst88 1.1 # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.5 # $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-1.1.0-r1.ebuild,v 1.4 2012/06/24 10:55:08 ago Exp $
4 mattst88 1.1
5     EAPI=4
6    
7 radhermit 1.3 inherit libtool multilib eutils
8 mattst88 1.1
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 jdhore 1.5 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 mattst88 1.1 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 jdhore 1.2 virtual/pkgconfig"
23 mattst88 1.1
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 radhermit 1.3 prune_libtool_files --all
45 mattst88 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20