blob: 78aa1dd6b2ad18ac97b913c31da2fb2bdd8bbe89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg2theora/ffmpeg2theora-0.18.ebuild,v 1.3 2007/04/08 12:37:19 corsair Exp $
inherit eutils
DESCRIPTION="A simple converter to create Ogg Theora files."
HOMEPAGE="http://www.v2v.cc/~j/ffmpeg2theora/"
SRC_URI="http://www.v2v.cc/~j/ffmpeg2theora/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND=">=media-video/ffmpeg-0.4.9_p20070129
>=media-libs/libvorbis-1.1
>=media-libs/libogg-1.1
>=media-libs/libtheora-1.0_alpha6"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
pkg_setup() {
if ! built_with_use media-libs/libtheora encode; then
eerror "ffmpeg2theora needs libtheora compiled with encode in USE."
die "libtheora built without encoding support."
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
docinto kino
dodoc kino_export/{README,ffmpeg2theora.sh}
}
|