/[gentoo-x86]/media-video/lives/lives-1.4.6.ebuild
Gentoo

Contents of /media-video/lives/lives-1.4.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 30 19:13:53 2011 UTC (6 years, 8 months ago) by ssuominen
Branch: MAIN
Version bump wrt #376367 by tman, including upstream patch for building against libv4l instead of v4l1 from linux-headers wrt #361943 by Jouni Rinne. Use python2 instead of python wrt #315053 by Arfrever Frehtes Taifersar Arahesis. Fix imagemagick vs. graphicsmagick dependencies wrt #314337 by Wojciech Porczyk.

(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/lives/lives-1.4.2.ebuild,v 1.1 2011/04/04 13:05:26 lu_zero Exp $
4
5 EAPI=4
6 inherit eutils
7
8 MY_P=LiVES-${PV}
9
10 DESCRIPTION="LiVES is a Video Editing System"
11 HOMEPAGE="http://lives.sf.net"
12 SRC_URI="http://www.xs4all.nl/~salsaman/lives/current/${MY_P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~x86"
17 IUSE="libvisual matroska nls ogg theora" # static-libs
18
19 # FIXME (incomplete workaround in place):
20 # !!<${CATEGORY}/${PF} is because if you have lives installed, the bundled
21 # libweed never gets installed in second emerge
22 # See also bug 295293
23 RDEPEND="media-video/mplayer
24 || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
25 dev-lang/perl
26 >=dev-libs/glib-2.14
27 >=x11-libs/gtk+-2.16:2
28 media-libs/libsdl
29 media-libs/libv4l
30 virtual/ffmpeg
31 virtual/jpeg
32 media-sound/sox
33 virtual/cdrtools
34 || ( dev-lang/python:2.7 dev-lang/python:2.6 )
35 media-plugins/frei0r-plugins
36 media-sound/jack-audio-connection-kit
37 >=media-video/mjpegtools-1.6.2
38 sys-libs/libavc1394
39 libvisual? ( media-libs/libvisual )
40 matroska? ( media-video/mkvtoolnix )
41 ogg? ( media-sound/ogmtools )
42 theora? ( media-libs/libtheora )
43 !!<${CATEGORY}/${PF}"
44 DEPEND="${DEPEND}
45 dev-util/pkgconfig
46 nls? ( sys-devel/gettext )"
47
48 DOCS=( AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED NEWS README )
49
50 src_prepare() {
51 esvn_clean
52
53 # Use python 2.x as per reference in plugins
54 sed -i \
55 -e '/#!.*env/s:python:python2:' \
56 lives-plugins/plugins/encoders/multi_encoder* \
57 lives-plugins/marcos-encoders/lives_*_encoder* || die
58
59 }
60
61 src_configure() {
62 # $(use_enable static-libs static)
63 econf \
64 --disable-static \
65 $(use_enable libvisual) \
66 $(use_enable nls)
67 }
68
69 src_install() {
70 default
71 find "${ED}"usr -name '*.la' -exec rm -f {} +
72 # use static-libs ||
73 rm -f "${ED}"usr/lib*/libweed-*.a
74 }

  ViewVC Help
Powered by ViewVC 1.1.20