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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Dec 1 03:03:15 2006 UTC (11 years, 6 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old versions.
(Portage version: 2.1.2_rc2-r3)
 (Signed Manifest commit)

1 # Copyright 1999-2006 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_alpha5.ebuild,v 1.5 2006/05/25 02:58:36 flameeyes Exp $
4
5 inherit flag-o-matic libtool
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="xiph"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
14 IUSE="encode doc"
15
16 RDEPEND=">=media-libs/libogg-1.1.0
17 encode? ( >=media-libs/libvorbis-1.0.1 )"
18 DEPEND="${RDEPEND}
19 doc? ( app-doc/doxygen )"
20
21 S=${WORKDIR}/${P/_}
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 sed -i -e 's:SUBDIRS = .*:SUBDIRS = lib include doc:' Makefile.in
27
28 elibtoolize
29 }
30
31 src_compile() {
32 # bug #75403, -O3 needs to be filtered to -O2
33 replace-flags -O3 -O2
34
35 use doc || export ac_cv_prog_HAVE_DOXYGEN="false"
36
37 econf \
38 $(use_enable encode) \
39 --enable-shared \
40 --disable-dependency-tracking \
41 || die "configure failed"
42 emake || die "make failed"
43 }
44
45 src_install() {
46 make \
47 DESTDIR="${D}" \
48 docdir=usr/share/doc/${PF} \
49 install || die "make install failed"
50
51 dodoc README
52 }

  ViewVC Help
Powered by ViewVC 1.1.20