/[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.2 - (show annotations) (download)
Thu Oct 6 17:25:07 2011 UTC (6 years, 11 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +11 -6 lines
Don't try to detect installed copies of libweed and sendOSC wrt #295293 by Dustin Polke and Juergen Rose. Fix absolute path to symlink (with rm and dosym) wrt #384727 by Thomas Rausch.

(Portage version: 2.2.0_alpha61/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.6.ebuild,v 1.1 2011/09/30 19:13:53 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 !!<${CATEGORY}/${PF}"
40 DEPEND="${DEPEND}
41 dev-util/pkgconfig
42 nls? ( sys-devel/gettext )"
43
44 DOCS=( AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED NEWS README )
45
46 src_prepare() {
47 esvn_clean
48
49 # Don't try to detect installed copies wrt #295293
50 sed -i -e '/^PKG_CHECK_MODULES(WEED/s:true:false:' configure.in || die
51 sed -i -e '/test/s:sendOSC:dIsAbLeAuToMaGiC:' libOSC/sendOSC/Makefile.am || die
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 AT_M4DIR="mk/autoconf" eautoreconf # for the seds
60 }
61
62 src_configure() {
63 # $(use_enable static-libs static)
64 econf \
65 --disable-static \
66 $(use_enable libvisual) \
67 $(use_enable nls)
68 }
69
70 src_install() {
71 default
72
73 rm -f "${ED}"usr/bin/lives #384727
74 dosym lives-exe /usr/bin/lives
75
76 find "${ED}"usr -name '*.la' -exec rm -f {} +
77 # use static-libs ||
78 rm -f "${ED}"usr/lib*/libweed-*.a
79 }

  ViewVC Help
Powered by ViewVC 1.1.20