blob: feb9d7208868524d7ebaad9d51d321ca55e07f36 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-20051209.ebuild,v 1.7 2006/09/08 19:26:39 corsair Exp $
DESCRIPTION="MLT is an open source multimedia framework, designed and developed
for television broadcasting"
HOMEPAGE="http://mlt.sourceforge.net/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="dv xml jack gtk sdl vorbis sox quicktime mmx"
DEPEND="media-video/ffmpeg
dv? ( >=media-libs/libdv-0.102 )
xml? ( >=dev-libs/libxml2-2.5 )
vorbis? ( >=media-libs/libvorbis-1.0.1 )
sdl? ( >=media-libs/libsdl-1.2
media-libs/sdl-image )
media-libs/libsamplerate
jack? ( media-sound/jack-audio-connection-kit
>=dev-libs/libxml2-2.5 )
gtk? ( >=x11-libs/gtk+-2.0
x11-libs/pango )
sox? ( media-sound/sox )
quicktime? ( media-libs/libquicktime )
"
src_compile() {
local myconf=""
if ! use dv ; then myconf="${myconf} --disable-dv"
fi
if ! use mmx ; then myconf="${myconf} --disable-mmx"
fi
if ! use gtk ; then myconf="${myconf} --disable-gtk2"
fi
if ! use xml ; then myconf="${myconf} --disable-westley"
fi
if ! use vorbis ; then myconf="${myconf} --disable-vorbis"
fi
if ! use sdl ; then myconf="${myconf} --disable-sdl"
fi
if ! use jack ; then myconf="${myconf} --disable-jackrack"
fi
if ! use sox ; then myconf="${myconf} --disable-sox"
fi
if ! use quicktime || ! use dv ; then myconf="${myconf} --disable-kino"
fi
./configure --prefix=/usr \
--enable-gpl \
--enable-motion-est \
--disable-xine \
--avcodec-shared=/usr \
${myconf}
emake
}
src_install() {
make DESTDIR="${D}" install
dodoc -r docs
insinto /usr/share/mlt
doins -r demo
}
|