blob: 6ffc60dfc6885146acc97b111e7b2556be653d30 (
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-video/lives/lives-0.9.5.ebuild,v 1.2 2006/01/03 13:51:20 lu_zero Exp $
inherit flag-o-matic
DESCRIPTION="Linux Video Editing System"
HOMEPAGE="http://www.xs4all.nl/~salsaman/lives"
MY_PN=LiVES
MY_PV="${PV/_/-}"
MY_P="${MY_PN}-${MY_PV}"
SRC_URI="http://www.xs4all.nl/%7Esalsaman/lives/current/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="xmms matroska ogg theora libvisual sox"
DEPEND=">=media-video/mplayer-0.90-r2
>=media-gfx/imagemagick-5.5.6
>=dev-lang/perl-5.8.0-r12
>=x11-libs/gtk+-2.2.1
media-libs/libsdl
>=media-video/ffmpeg-0.4.8
>=media-libs/jpeg-6b-r3
>=media-sound/sox-12.17.3-r3
xmms? ( >=media-sound/xmms-1.2.7-r20 )
virtual/cdrtools
theora? ( media-libs/libtheora )
>=dev-lang/python-2.3.4
matroska? ( media-video/mkvtoolnix
media-libs/libmatroska )
ogg? ( media-sound/ogmtools )
>=media-video/mjpegtools-1.6.2
libvisual? ( >=media-libs/libvisual-0.2.0 )
media-sound/jack-audio-connection-kit
sox? ( media-sound/sox )"
S=${WORKDIR}/${PN}-${MY_PV}
src_unpack() {
unpack ${A}
# hardcoding -03 is wrong!
sed -i -e "s:-O3::g" \
${S}/{,src,lives-plugins,lives-plugins/plugins/playback/video,lives-plugins/weed-plugins}/Makefile*
grep -r O3 ${S}
}
src_compile() {
econf \
$(use_enable libvisual) \
|| die "configure failed"
emake || die "make failed"
}
src_install() {
dodir /usr/share/lives/icons
emake DESTDIR=${D} install || die
dodoc AUTHORS CHANGELOG FEATURES GETTING.STARTED
}
|