Gentoo Archives: gentoo-commits

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