Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/cinelerra: cinelerra-20140710.ebuild ChangeLog
Date: Thu, 10 Jul 2014 17:59:39
Message-Id: 20140710175935.7CC0D2004C@flycatcher.gentoo.org
1 ssuominen 14/07/10 17:59:35
2
3 Modified: ChangeLog
4 Added: cinelerra-20140710.ebuild
5 Log:
6 Create a new Cinelerra CV snapshot from git wrt #516850 by Michał Górny
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.69 media-video/cinelerra/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/cinelerra/ChangeLog?rev=1.69&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/cinelerra/ChangeLog?rev=1.69&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/cinelerra/ChangeLog?r1=1.68&r2=1.69
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v
20 retrieving revision 1.68
21 retrieving revision 1.69
22 diff -u -r1.68 -r1.69
23 --- ChangeLog 10 Feb 2014 16:56:28 -0000 1.68
24 +++ ChangeLog 10 Jul 2014 17:59:35 -0000 1.69
25 @@ -1,6 +1,14 @@
26 # ChangeLog for media-video/cinelerra
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.68 2014/02/10 16:56:28 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.69 2014/07/10 17:59:35 ssuominen Exp $
30 +
31 +*cinelerra-20140710 (10 Jul 2014)
32 +
33 + 10 Jul 2014; Samuli Suominen <ssuominen@g.o>
34 + +cinelerra-20140710.ebuild, +files/cinelerra-20140710-ffmpeg-0.11.patch,
35 + +files/cinelerra-20140710-underlinking.patch,
36 + +files/cinelerra-20140710-validate_desktop_entry.patch:
37 + Create a new Cinelerra CV snapshot from git wrt #516850 by Michał Górny
38
39 10 Feb 2014; Samuli Suominen <ssuominen@g.o> cinelerra-20120707.ebuild:
40 Missing virtual/glu dependency for USE="opengl" wrt #500904 by Michal Feix
41
42
43
44 1.1 media-video/cinelerra/cinelerra-20140710.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/cinelerra/cinelerra-20140710.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/cinelerra/cinelerra-20140710.ebuild?rev=1.1&content-type=text/plain
48
49 Index: cinelerra-20140710.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/cinelerra-20140710.ebuild,v 1.1 2014/07/10 17:59:35 ssuominen Exp $
54
55 EAPI=5
56 inherit autotools eutils multilib flag-o-matic
57
58 DESCRIPTION="The most advanced non-linear video editor and compositor"
59 HOMEPAGE="http://www.cinelerra.org/"
60 SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="3dnow alsa altivec css debug ieee1394 mmx opengl oss"
66
67 RDEPEND="media-libs/a52dec:=
68 media-libs/faac:=
69 media-libs/faad2:=
70 >=media-libs/freetype-2
71 media-libs/libdv:=
72 >=media-libs/libogg-1.2:=
73 media-libs/libpng:0=
74 media-libs/libsndfile:=
75 >=media-libs/libtheora-1.1:=
76 >=media-libs/libvorbis-1.3:=
77 >=media-libs/openexr-1.5:=
78 media-libs/tiff:0=
79 media-libs/x264:=
80 media-sound/lame:=
81 >=media-video/mjpegtools-2
82 >=sci-libs/fftw-3
83 x11-libs/libX11:=
84 x11-libs/libXext:=
85 x11-libs/libXft:=
86 x11-libs/libXv:=
87 x11-libs/libXvMC:=
88 x11-libs/libXxf86vm:=
89 virtual/ffmpeg
90 || ( media-video/ffmpeg:0 media-libs/libpostproc )
91 virtual/jpeg:0
92 alsa? ( media-libs/alsa-lib:= )
93 ieee1394? (
94 media-libs/libiec61883:=
95 >=sys-libs/libraw1394-1.2.0:=
96 >=sys-libs/libavc1394-0.5.0:=
97 )
98 opengl? (
99 virtual/glu
100 virtual/opengl
101 )"
102 DEPEND="${RDEPEND}
103 app-arch/xz-utils
104 virtual/pkgconfig
105 mmx? ( dev-lang/nasm )"
106
107 src_prepare() {
108 epatch \
109 "${FILESDIR}"/${P}-validate_desktop_entry.patch \
110 "${FILESDIR}"/${PN}-ffmpeg.patch \
111 "${FILESDIR}"/${P}-underlinking.patch \
112 "${FILESDIR}"/${P}-ffmpeg-0.11.patch \
113 "${FILESDIR}"/${PN}-libav9.patch
114
115 if has_version '>=media-video/ffmpeg-2' ; then
116 epatch "${FILESDIR}"/${PN}-ffmpeg2.patch
117 fi
118
119 eautoreconf
120 }
121
122 src_configure() {
123 append-cppflags -D__STDC_CONSTANT_MACROS #321945
124 append-ldflags -Wl,-z,noexecstack #212959
125
126 local myconf
127 use debug && myconf='--enable-x-error-output'
128
129 econf \
130 $(use_enable oss) \
131 $(use_enable alsa) \
132 --disable-esd \
133 $(use_enable ieee1394 firewire) \
134 $(use_enable css) \
135 $(use_enable mmx) \
136 $(use_enable 3dnow) \
137 $(use_enable altivec) \
138 $(use_enable opengl) \
139 --with-plugindir=/usr/$(get_libdir)/${PN} \
140 --with-buildinfo=cust/"Gentoo - ${PV}" \
141 --with-external-ffmpeg \
142 ${myconf}
143 }
144
145 src_install() {
146 emake DESTDIR="${D}" install
147 dohtml -a png,html,texi,sdw -r doc/*
148
149 rm -rf "${D}"/usr/include
150 mv -vf "${D}"/usr/bin/mpeg3cat{,.hv} || die
151 mv -vf "${D}"/usr/bin/mpeg3dump{,.hv} || die
152 mv -vf "${D}"/usr/bin/mpeg3toc{,.hv} || die
153 dosym /usr/bin/mpeg2enc /usr/$(get_libdir)/${PN}/mpeg2enc.plugin
154
155 prune_libtool_files --all
156 }