1 |
ssuominen 10/01/30 14:37:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cinelerra-20090210-r1.ebuild |
5 |
Removed: cinelerra-20090210.ebuild |
6 |
Log: |
7 |
Fix crash with jpeg >= 7 wrt #292575 by Salah Coronya. |
8 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.39 media-video/cinelerra/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra/ChangeLog?rev=1.39&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra/ChangeLog?rev=1.39&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra/ChangeLog?r1=1.38&r2=1.39 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v |
20 |
retrieving revision 1.38 |
21 |
retrieving revision 1.39 |
22 |
diff -u -r1.38 -r1.39 |
23 |
--- ChangeLog 26 Oct 2009 13:30:53 -0000 1.38 |
24 |
+++ ChangeLog 30 Jan 2010 14:37:16 -0000 1.39 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-video/cinelerra |
27 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.38 2009/10/26 13:30:53 aballier Exp $ |
29 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.39 2010/01/30 14:37:16 ssuominen Exp $ |
31 |
+ |
32 |
+*cinelerra-20090210-r1 (30 Jan 2010) |
33 |
+ |
34 |
+ 30 Jan 2010; Samuli Suominen <ssuominen@g.o> |
35 |
+ +files/cinelerra-jpeg-7.patch, +cinelerra-20090210-r1.ebuild: |
36 |
+ Fix crash with jpeg >= 7 wrt #292575 by Salah Coronya. |
37 |
|
38 |
26 Oct 2009; Alexis Ballier <aballier@g.o> |
39 |
+files/cinelerra-x264.patch, cinelerra-20090210.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-video/cinelerra/cinelerra-20090210-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra/cinelerra-20090210-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/cinelerra/cinelerra-20090210-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cinelerra-20090210-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/cinelerra-20090210-r1.ebuild,v 1.1 2010/01/30 14:37:16 ssuominen Exp $ |
53 |
|
54 |
inherit autotools multilib eutils |
55 |
|
56 |
DESCRIPTION="Cinelerra - Professional Video Editor - Unofficial CVS-version" |
57 |
HOMEPAGE="http://www.cinelerra.org/" |
58 |
SRC_URI="mirror://gentoo/${P}.tar.lzma" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="3dnow alsa esd mmx oss static ieee1394 css altivec opengl" |
64 |
RDEPEND="media-libs/libpng |
65 |
>=media-libs/libdv-1.0.0 |
66 |
media-libs/faad2 |
67 |
media-libs/faac |
68 |
media-libs/a52dec |
69 |
media-libs/libsndfile |
70 |
media-libs/tiff |
71 |
media-video/ffmpeg |
72 |
media-sound/lame |
73 |
>=sci-libs/fftw-3.0.1 |
74 |
media-libs/x264 |
75 |
ieee1394? ( media-libs/libiec61883 >=sys-libs/libraw1394-1.2.0 \ |
76 |
>=sys-libs/libavc1394-0.5.0 ) |
77 |
media-video/mjpegtools |
78 |
alsa? ( media-libs/alsa-lib ) |
79 |
esd? ( >=media-sound/esound-0.2.34 ) |
80 |
>=media-libs/freetype-2.1.10 |
81 |
opengl? ( virtual/opengl ) |
82 |
>=media-libs/openexr-1.2.2 |
83 |
>=media-libs/libvorbis-1.1.0 |
84 |
>=media-libs/libogg-1.1 |
85 |
>=media-libs/libtheora-1.0_alpha4-r1 |
86 |
x11-libs/libX11 |
87 |
x11-libs/libXv |
88 |
x11-libs/libXxf86vm |
89 |
x11-libs/libXext |
90 |
x11-libs/libXvMC |
91 |
x11-libs/libXft" |
92 |
|
93 |
DEPEND="${RDEPEND} |
94 |
dev-util/pkgconfig |
95 |
mmx? ( dev-lang/nasm )" |
96 |
|
97 |
pkg_setup() { |
98 |
if [[ "$(gcc-major-version)" -lt "4" ]]; then |
99 |
eerror "You need to have gcc 4 or better" |
100 |
eerror "Please follow : http://www.gentoo.org/doc/en/gcc-upgrading.xml" |
101 |
eerror "And have a look at bug #128659" |
102 |
die "You must use gcc 4 or better." |
103 |
fi |
104 |
} |
105 |
|
106 |
src_unpack() { |
107 |
unpack ${A} |
108 |
cd "${S}" |
109 |
epatch "${FILESDIR}/${PN}-libavutil50.patch" |
110 |
epatch "${FILESDIR}/${PN}-pkgconfig-x264.patch" |
111 |
epatch "${FILESDIR}/${PN}-x264.patch" |
112 |
epatch "${FILESDIR}/${PN}-jpeg-7.patch" |
113 |
AT_M4DIR="m4" eautoreconf |
114 |
} |
115 |
|
116 |
src_compile() { |
117 |
econf \ |
118 |
`use_enable static` \ |
119 |
`use_enable alsa` \ |
120 |
`use_enable esd` \ |
121 |
`use_enable oss` \ |
122 |
`use_enable mmx` \ |
123 |
`use_enable 3dnow` \ |
124 |
--with-plugindir=/usr/$(get_libdir)/cinelerra \ |
125 |
`use_enable ieee1394 firewire` \ |
126 |
`use_enable css` \ |
127 |
`use_enable opengl` \ |
128 |
`use_enable altivec` \ |
129 |
--with-external-ffmpeg \ |
130 |
--with-buildinfo=cust/"Gentoo - SVN r1055" \ |
131 |
|| die "configure failed" |
132 |
emake || die "make failed" |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
emake DESTDIR="${D}" install || die |
137 |
dohtml -a png,html,texi,sdw -r doc/* |
138 |
# workaround |
139 |
rm -fR "${D}/usr/include" |
140 |
mv "${D}/usr/bin/mpeg3cat" "${D}/usr/bin/mpeg3cat.hv" |
141 |
mv "${D}/usr/bin/mpeg3dump" "${D}/usr/bin/mpeg3dump.hv" |
142 |
mv "${D}/usr/bin/mpeg3toc" "${D}/usr/bin/mpeg3toc.hv" |
143 |
ln -s /usr/bin/mpeg2enc "${D}/usr/$(get_libdir)/cinelerra/mpeg2enc.plugin" |
144 |
} |