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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Thu Jun 23 10:59:25 2005 UTC (13 years ago) by zaheerm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
alpha4.ebuild has a broken encoder
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 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_alpha4.ebuild,v 1.14 2005/06/17 20:30:13 hansmi Exp $
4 inherit flag-o-matic
5
6 DESCRIPTION="The Theora Video Compression Codec"
7 HOMEPAGE="http://www.theora.org/"
8 SRC_URI="http://downloads.xiph.org/releases/theora/${P/_}.tar.bz2"
9
10 LICENSE="xiph"
11 SLOT="0"
12 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc-macos ppc64 sparc x86"
13 IUSE="encode doc"
14
15 RDEPEND=">=media-libs/libogg-1.1.0
16 >=media-libs/libvorbis-1.0.1"
17 DEPEND="${RDEPEND}
18 doc? ( app-doc/doxygen )"
19
20 S=${WORKDIR}/${P/_}
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25 sed -i -e 's:SUBDIRS = .*:SUBDIRS = lib include doc:' Makefile.in
26 }
27
28 src_compile() {
29 # bug #75403, -O3 needs to be filtered to -O2
30 replace-flags -O3 -O2
31
32 use doc ||
33 export ac_cv_prog_HAVE_DOXYGEN="false"
34
35 econf \
36 $(use_enable encode) \
37 --enable-shared --disable-dependency-tracking || die "configure failed"
38 emake || die "make failed"
39 }
40
41 src_install() {
42 make \
43 DESTDIR=${D} \
44 docdir=usr/share/doc/${PF} \
45 install || die "make install failed"
46
47 dodoc README
48 }

  ViewVC Help
Powered by ViewVC 1.1.20