/[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.3 - (hide annotations) (download)
Sun Jun 24 04:00:20 2012 UTC (2 years, 1 month ago) by radhermit
Branch: MAIN
Changes since 1.2: +3 -4 lines
Remove explicit --disable-dependency-tracking econf option since it is implicitly added for EAPI=4 and use prune_libtool_files.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

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 radhermit 1.3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-1.1.0-r1.ebuild,v 1.2 2012/05/05 08:02:41 jdhore 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     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 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