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