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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun May 11 21:13:33 2008 UTC (10 years, 1 month ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
port pic fix to this release too, bug #218267
(Portage version: 2.1.5_rc10)

1 # Copyright 1999-2008 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_beta3.ebuild,v 1.3 2008/04/18 23:26:57 flameeyes 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 pic"
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 S=${WORKDIR}/${P/_}
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 epatch "${FILESDIR}"/${PN}-1.0_beta2-flags.patch
28 AT_M4DIR="m4" eautoreconf
29 }
30
31 src_compile() {
32 use pic && local myconf="--disable-asm" #200549, comment #28
33 use doc || export ac_cv_prog_HAVE_DOXYGEN="false"
34
35 # Don't build specs even with doc enabled, just a few people would need
36 # it and causes sandbox violations.
37 export ac_cv_prog_HAVE_PDFLATEX="false"
38
39 econf --disable-dependency-tracking --disable-examples \
40 --disable-sdltest $(use_enable encode) ${myconf}
41
42 emake || die "emake failed."
43 }
44
45 src_install() {
46 emake DESTDIR="${D}" docdir="usr/share/doc/${PF}" \
47 install || die "emake install failed."
48
49 dodoc AUTHORS CHANGES README
50
51 prepalldocs
52
53 if use examples; then
54 rm examples/Makefile*
55 insinto /usr/share/doc/${PF}/examples
56 doins examples/*
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20