/[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.1 - (hide annotations) (download)
Sat Aug 20 23:48:38 2011 UTC (2 years, 11 months ago) by mattst88
Branch: MAIN
Fix hardcoded 'lib' in ao.m4. Drop ~mips keywords from older versions.

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 mattst88 1.1 # Copyright 1999-2011 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.ebuild,v 1.2 2011/03/15 19:26:11 aballier Exp $
4    
5     EAPI=4
6    
7     inherit libtool multilib
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     dev-util/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-dependency-tracking \
34     --disable-esd \
35     $(use_enable alsa alsa) \
36     $(use_enable mmap alsa-mmap) \
37     --disable-arts \
38     $(use_enable nas) \
39     $(use_enable pulseaudio pulse)
40     }
41    
42     src_install() {
43     emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install
44     dodoc AUTHORS CHANGES README TODO
45     find "${ED}" -name '*.la' -exec rm -f {} +
46     }

  ViewVC Help
Powered by ViewVC 1.1.20