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-20080301.ebuild
Date: Sat, 01 Mar 2008 20:15:56
Message-Id: E1JVY7d-0004ZM-Ar@stork.gentoo.org
1 aballier 08/03/01 20:15:53
2
3 Modified: ChangeLog
4 Added: cinelerra-cvs-20080301.ebuild
5 Log:
6 version bump, workaround cinelerra's inability to set the ratecontrol method by restoring the old default, thanks to Paul de Vries <phs.de.vries@×××××.com> for reporting in bug #211206
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.40 media-video/cinelerra-cvs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 26 Jan 2008 00:03:04 -0000 1.39
23 +++ ChangeLog 1 Mar 2008 20:15:52 -0000 1.40
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.39 2008/01/26 00:03:04 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/ChangeLog,v 1.40 2008/03/01 20:15:52 aballier Exp $
29 +
30 +*cinelerra-cvs-20080301 (01 Mar 2008)
31 +
32 + 01 Mar 2008; Alexis Ballier <aballier@g.o>
33 + +files/cinelerra-cvs-defaultx264tocqp.patch,
34 + +files/cinelerra-cvs-swscaler.patch, +cinelerra-cvs-20080301.ebuild:
35 + version bump, workaround cinelerra's inability to set the ratecontrol method
36 + by restoring the old default, thanks to Paul de Vries
37 + <phs.de.vries@×××××.com> for reporting in bug #211206
38
39 26 Jan 2008; Alexis Ballier <aballier@g.o>
40 cinelerra-cvs-20080115.ebuild:
41
42
43
44 1.1 media-video/cinelerra-cvs/cinelerra-cvs-20080301.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20080301.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20080301.ebuild?rev=1.1&content-type=text/plain
48
49 Index: cinelerra-cvs-20080301.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-20080301.ebuild,v 1.1 2008/03/01 20:15:52 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 AT_M4DIR="m4" eautoreconf
121 }
122
123 src_compile() {
124 econf \
125 `use_enable static` \
126 `use_enable alsa` \
127 `use_enable esd` \
128 `use_enable oss` \
129 `use_enable mmx` \
130 `use_enable 3dnow` \
131 --with-plugindir=/usr/$(get_libdir)/cinelerra \
132 `use_enable truetype freetype2` \
133 `use_enable ieee1394 firewire` \
134 `use_enable css` \
135 `use_enable opengl` \
136 `use_enable altivec` \
137 --with-external-ffmpeg \
138 --with-buildinfo=cust/"Gentoo - SVN r1053" \
139 || die "configure failed"
140 emake || die "make failed"
141 }
142
143 src_install() {
144 emake DESTDIR="${D}" install || die
145 dohtml -a png,html,texi,sdw -r doc/*
146 # workaround
147 rm -fR "${D}/usr/include"
148 mv "${D}/usr/bin/mpeg3cat" "${D}/usr/bin/mpeg3cat.hv"
149 mv "${D}/usr/bin/mpeg3dump" "${D}/usr/bin/mpeg3dump.hv"
150 mv "${D}/usr/bin/mpeg3toc" "${D}/usr/bin/mpeg3toc.hv"
151 ln -s /usr/bin/mpeg2enc "${D}/usr/$(get_libdir)/cinelerra/mpeg2enc.plugin"
152 }
153
154 pkg_postinst () {
155 elog "Please note that this is unofficial and somewhat experimental code."
156 elog "See cvs.cinelerra.org for a list of changes to the official cinelerra"
157 elog "release."
158 }
159
160
161
162 --
163 gentoo-commits@l.g.o mailing list