/[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.2 - (show annotations) (download)
Sat May 5 08:02:41 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

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

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.1 2011/08/20 23:48:38 mattst88 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 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-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