Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/cinelerra-cvs: ChangeLog cinelerra-cvs-20080115.ebuild
Date: Tue, 15 Jan 2008 20:05:06
Message-Id: E1JErhc-00023g-D4@stork.gentoo.org
1 aballier 08/01/15 19:44:04
2
3 Modified: ChangeLog
4 Added: cinelerra-cvs-20080115.ebuild
5 Log:
6 bump a new snapshot
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.37 media-video/cinelerra-cvs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/ChangeLog?rev=1.37&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/ChangeLog?rev=1.37&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/ChangeLog?r1=1.36&r2=1.37
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/ChangeLog,v
19 retrieving revision 1.36
20 retrieving revision 1.37
21 diff -u -r1.36 -r1.37
22 --- ChangeLog 13 Jan 2008 18:28:47 -0000 1.36
23 +++ ChangeLog 15 Jan 2008 19:44:03 -0000 1.37
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-video/cinelerra-cvs
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/ChangeLog,v 1.36 2008/01/13 18:28:47 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/ChangeLog,v 1.37 2008/01/15 19:44:03 aballier Exp $
29 +
30 +*cinelerra-cvs-20080115 (15 Jan 2008)
31 +
32 + 15 Jan 2008; Alexis Ballier <aballier@g.o>
33 + +files/cinelerra-cvs-20080115-swscaler.patch,
34 + +cinelerra-cvs-20080115.ebuild:
35 + bump a new snapshot
36
37 13 Jan 2008; Alexis Ballier <aballier@g.o>
38 cinelerra-cvs-20070726.ebuild:
39
40
41
42 1.1 media-video/cinelerra-cvs/cinelerra-cvs-20080115.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20080115.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20080115.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cinelerra-cvs-20080115.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20080115.ebuild,v 1.1 2008/01/15 19:44:03 aballier Exp $
52
53 WANT_AUTOMAKE=1.9
54 WANT_AUTOCONF=2.5
55
56 inherit toolchain-funcs eutils flag-o-matic autotools
57
58 #filter-flags "-fPIC -fforce-addr"
59
60 DESCRIPTION="Cinelerra - Professional Video Editor - Unofficial CVS-version"
61 HOMEPAGE="http://cvs.cinelerra.org/"
62 SRC_URI="mirror://gentoo/${P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE="3dnow alsa esd mmx oss static truetype ieee1394 css altivec opengl"
68 RDEPEND="media-libs/libpng
69 >=media-libs/libdv-1.0.0
70 media-libs/faad2
71 media-libs/faac
72 media-libs/a52dec
73 media-libs/libsndfile
74 media-libs/tiff
75 media-video/ffmpeg
76 media-sound/lame
77 >=sci-libs/fftw-3.0.1
78 >=media-libs/x264-svn-20060302
79 ieee1394? ( media-libs/libiec61883 >=sys-libs/libraw1394-1.2.0 \
80 >=sys-libs/libavc1394-0.5.0 )
81 media-video/mjpegtools
82 alsa? ( media-libs/alsa-lib )
83 esd? ( >=media-sound/esound-0.2.34 )
84 truetype? ( >=media-libs/freetype-2.1.10 )
85 opengl? ( virtual/opengl )
86 >=media-libs/openexr-1.2.2
87 >=media-libs/libvorbis-1.1.0
88 >=media-libs/libogg-1.1
89 >=media-libs/libtheora-1.0_alpha4-r1
90 x11-libs/libX11
91 x11-libs/libXv
92 x11-libs/libXxf86vm
93 x11-libs/libXext
94 x11-libs/libXvMC
95 x11-libs/libXft"
96
97 DEPEND="${RDEPEND}
98 dev-util/pkgconfig
99 x86? ( dev-lang/nasm )"
100
101 S="${WORKDIR}/${PN}"
102
103 pkg_setup() {
104 if [[ "$(gcc-major-version)" -lt "4" ]]; then
105 eerror "You need to have gcc 4 or better"
106 eerror "Please follow : http://www.gentoo.org/doc/en/gcc-upgrading.xml"
107 eerror "And have a look at bug #128659"
108 die "You must use gcc 4 or better."
109 fi
110 }
111
112 src_unpack() {
113 unpack ${A}
114 cd "${S}"
115 epatch "${FILESDIR}/${P}-swscaler.patch"
116 epatch "${FILESDIR}/cinelerra-compilewarnings.diff"
117 }
118
119 src_compile() {
120 AT_M4DIR="m4" eautoreconf
121 econf \
122 `use_enable static` \
123 `use_enable alsa` \
124 `use_enable esd` \
125 `use_enable oss` \
126 `use_enable mmx` \
127 `use_enable 3dnow` \
128 --with-plugindir=/usr/$(get_libdir)/cinelerra \
129 `use_enable truetype freetype2` \
130 `use_enable ieee1394 firewire` \
131 `use_enable css` \
132 `use_enable opengl` \
133 `use_enable altivec` \
134 --with-external-ffmpeg \
135 --with-buildinfo=cust/"Gentoo - SVN r1047" \
136 || die "configure failed"
137 emake || die "make failed"
138 }
139
140 src_install() {
141 emake DESTDIR="${D}" install || die
142 dohtml -a png,html,texi,sdw -r doc/*
143 # workaround
144 rm -fR "${D}/usr/include"
145 mv "${D}/usr/bin/mpeg3cat" "${D}/usr/bin/mpeg3cat.hv"
146 mv "${D}/usr/bin/mpeg3dump" "${D}/usr/bin/mpeg3dump.hv"
147 mv "${D}/usr/bin/mpeg3toc" "${D}/usr/bin/mpeg3toc.hv"
148 ln -s /usr/bin/mpeg2enc "${D}/usr/$(get_libdir)/cinelerra/mpeg2enc.plugin"
149 }
150
151 pkg_postinst () {
152 elog "Please note that this is unofficial and somewhat experimental code."
153 elog "See cvs.cinelerra.org for a list of changes to the official cinelerra"
154 elog "release."
155 }
156
157
158
159 --
160 gentoo-commits@l.g.o mailing list