/[gentoo-x86]/media-libs/libtheora/libtheora-1.1.1.ebuild
Gentoo

Diff of /media-libs/libtheora/libtheora-1.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.1.1.ebuild,v 1.7 2010/02/25 18:38:25 armin76 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.1.1.ebuild,v 1.8 2010/09/25 14:52:08 ssuominen Exp $
4 4
5EAPI=2 5EAPI=2
6inherit autotools eutils flag-o-matic 6inherit autotools eutils flag-o-matic
7 7
8DESCRIPTION="The Theora Video Compression Codec" 8DESCRIPTION="The Theora Video Compression Codec"
10SRC_URI="http://downloads.xiph.org/releases/theora/${P/_}.tar.bz2" 10SRC_URI="http://downloads.xiph.org/releases/theora/${P/_}.tar.bz2"
11 11
12LICENSE="BSD" 12LICENSE="BSD"
13SLOT="0" 13SLOT="0"
14KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" 14KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
15IUSE="doc +encode examples" 15IUSE="doc +encode examples static-libs"
16 16
17RDEPEND="media-libs/libogg 17RDEPEND="media-libs/libogg
18 encode? ( media-libs/libvorbis ) 18 encode? ( media-libs/libvorbis )
19 examples? ( media-libs/libpng 19 examples? ( media-libs/libpng
20 media-libs/libvorbis 20 media-libs/libvorbis
39 use examples && myconf="--enable-encode" 39 use examples && myconf="--enable-encode"
40 40
41 # --disable-spec because LaTeX documentation has been prebuilt 41 # --disable-spec because LaTeX documentation has been prebuilt
42 econf \ 42 econf \
43 --disable-dependency-tracking \ 43 --disable-dependency-tracking \
44 $(use_enable static-libs static) \
44 --disable-spec \ 45 --disable-spec \
45 $(use_enable encode) \ 46 $(use_enable encode) \
46 $(use_enable examples) \ 47 $(use_enable examples) \
47 ${myconf} 48 ${myconf}
48} 49}
63 dobin examples/.libs/png2theora || die "dobin failed" 64 dobin examples/.libs/png2theora || die "dobin failed"
64 for bin in dump_{psnr,video} {encoder,player}_example; do 65 for bin in dump_{psnr,video} {encoder,player}_example; do
65 newbin examples/.libs/${bin} theora_${bin} || die "newbin failed" 66 newbin examples/.libs/${bin} theora_${bin} || die "newbin failed"
66 done 67 done
67 fi 68 fi
69
70 find "${D}" -name '*.la' -exec rm -f '{}' +
68} 71}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.13