/[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.4 - (show annotations) (download)
Sat May 5 08:58:57 2012 UTC (6 years, 4 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 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.6.ebuild,v 1.3 2011/10/06 17:28:01 ssuominen Exp $
4
5 EAPI=4
6 inherit autotools 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 RDEPEND="media-video/mplayer
20 || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
21 dev-lang/perl
22 >=dev-libs/glib-2.14
23 >=x11-libs/gtk+-2.16:2
24 media-libs/libsdl
25 media-libs/libv4l
26 virtual/ffmpeg
27 virtual/jpeg
28 media-sound/sox
29 virtual/cdrtools
30 || ( dev-lang/python:2.7 dev-lang/python:2.6 )
31 media-plugins/frei0r-plugins
32 media-sound/jack-audio-connection-kit
33 >=media-video/mjpegtools-1.6.2
34 sys-libs/libavc1394
35 libvisual? ( media-libs/libvisual )
36 matroska? ( media-video/mkvtoolnix )
37 ogg? ( media-sound/ogmtools )
38 theora? ( media-libs/libtheora )"
39 DEPEND="${DEPEND}
40 virtual/pkgconfig
41 nls? ( sys-devel/gettext )"
42
43 DOCS=( AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED NEWS README )
44
45 src_prepare() {
46 esvn_clean
47
48 # Don't try to detect installed copies wrt #295293
49 sed -i -e '/^PKG_CHECK_MODULES(WEED/s:true:false:' configure.in || die
50 sed -i -e '/test/s:sendOSC:dIsAbLeAuToMaGiC:' libOSC/sendOSC/Makefile.am || die
51
52 # Use python 2.x as per reference in plugins
53 sed -i \
54 -e '/#!.*env/s:python:python2:' \
55 lives-plugins/plugins/encoders/multi_encoder* \
56 lives-plugins/marcos-encoders/lives_*_encoder* || die
57
58 AT_M4DIR="mk/autoconf" eautoreconf # for the seds
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
72 rm -f "${ED}"usr/bin/lives #384727
73 dosym lives-exe /usr/bin/lives
74
75 find "${ED}"usr -name '*.la' -exec rm -f {} +
76 # use static-libs ||
77 rm -f "${ED}"usr/lib*/libweed-*.a
78 }

  ViewVC Help
Powered by ViewVC 1.1.20