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

Contents of /media-libs/libtheora/libtheora-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Sep 24 16:04:00 2010 UTC (7 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2_rc86/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.0.ebuild,v 1.8 2009/05/15 17:36:19 armin76 Exp $
4
5 inherit autotools eutils toolchain-funcs flag-o-matic
6
7 DESCRIPTION="The Theora Video Compression Codec"
8 HOMEPAGE="http://www.theora.org"
9 SRC_URI="http://downloads.xiph.org/releases/theora/${P/_}.tar.bz2"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
14 IUSE="doc encode examples"
15
16 RDEPEND="media-libs/libogg
17 encode? ( media-libs/libvorbis )"
18 DEPEND="${RDEPEND}
19 doc? ( app-doc/doxygen )
20 dev-util/pkgconfig"
21
22 VARTEXFONTS=${T}/fonts
23
24 S=${WORKDIR}/${P/_}
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 epatch "${FILESDIR}"/${PN}-1.0_beta2-flags.patch
30
31 AT_M4DIR="m4" eautoreconf
32 }
33
34 src_compile() {
35 use x86 && filter-flags -fforce-addr -frename-registers #200549
36 use doc || export ac_cv_prog_HAVE_DOXYGEN="false"
37
38 # Don't build specs even with doc enabled, just a few people would need
39 # it and causes sandbox violations.
40 export ac_cv_prog_HAVE_PDFLATEX="false"
41
42 econf --disable-dependency-tracking --disable-examples \
43 --disable-sdltest $(use_enable encode)
44
45 emake || die "emake failed."
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" docdir="usr/share/doc/${PF}" \
50 install || die "emake install failed."
51
52 dodoc AUTHORS CHANGES README
53
54 prepalldocs
55
56 if use examples; then
57 rm examples/Makefile*
58 insinto /usr/share/doc/${PF}/examples
59 doins examples/*
60 fi
61 }

  ViewVC Help
Powered by ViewVC 1.1.20