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-libs/mlt: ChangeLog mlt-0.3.4.ebuild
Date: Mon, 12 Jan 2009 22:07:51
Message-Id: E1LMUwn-0006ZM-Sv@stork.gentoo.org
1 aballier 09/01/12 22:07:49
2
3 Modified: ChangeLog
4 Added: mlt-0.3.4.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
8
9 Revision Changes Path
10 1.34 media-libs/mlt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 23 Nov 2008 12:40:21 -0000 1.33
23 +++ ChangeLog 12 Jan 2009 22:07:49 -0000 1.34
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-libs/mlt
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.33 2008/11/23 12:40:21 aballier Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.34 2009/01/12 22:07:49 aballier Exp $
30 +
31 +*mlt-0.3.4 (12 Jan 2009)
32 +
33 + 12 Jan 2009; Alexis Ballier <aballier@g.o> +mlt-0.3.4.ebuild:
34 + version bump
35
36 23 Nov 2008; Alexis Ballier <aballier@g.o>
37 -files/mlt-0.3.0-avcodec.patch, -files/mlt-0.3.0-sox1410.patch:
38
39
40
41 1.1 media-libs/mlt/mlt-0.3.4.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/mlt-0.3.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/mlt-0.3.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mlt-0.3.4.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.3.4.ebuild,v 1.1 2009/01/12 22:07:49 aballier Exp $
51
52 EAPI=1
53
54 inherit eutils toolchain-funcs qt3
55
56 DESCRIPTION="MLT is an open source multimedia framework, designed and developed
57 for television broadcasting"
58 HOMEPAGE="http://mlt.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
64 IUSE="dv xml jack gtk sdl vorbis sox quicktime mmx lame xine lame ogg theora xine ffmpeg libsamplerate qt3 sse"
65
66 DEPEND="ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
67 dv? ( >=media-libs/libdv-0.104 )
68 xml? ( >=dev-libs/libxml2-2.5 )
69 ogg? ( >=media-libs/libogg-1.1.3 )
70 vorbis? ( >=media-libs/libvorbis-1.1.2 )
71 sdl? ( >=media-libs/libsdl-1.2.10
72 >=media-libs/sdl-image-1.2.4 )
73 libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
74 jack? ( media-sound/jack-audio-connection-kit
75 media-libs/ladspa-sdk
76 >=dev-libs/libxml2-2.5 )
77 gtk? ( >=x11-libs/gtk+-2
78 x11-libs/pango )
79 sox? ( media-sound/sox )
80 quicktime? ( media-libs/libquicktime )
81 xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
82 lame? ( >=media-sound/lame-3.97_beta2 )
83 qt3? ( x11-libs/qt:3 )
84 theora? ( >=media-libs/libtheora-1.0_alpha5 )"
85 RDEPEND=${DEPEND}
86
87 pkg_setup() {
88 local fail="USE sox needs also USE libsamplerate enabled."
89
90 if use sox && ! use libsamplerate; then
91 eerror "${fail}"
92 die "${fail}"
93 fi
94 }
95
96 src_unpack() {
97 unpack ${A}
98 cd "${S}"
99 epatch "${FILESDIR}"/mlt-0.2.3-nostrip.patch
100 }
101
102 src_compile() {
103 tc-export CC
104
105 local myconf=" --enable-gpl --enable-shared
106 --enable-pp --enable-shared-pp
107 --enable-motion-est
108 $(use_enable dv)
109 $(use_enable mmx)
110 $(use_enable sse)
111 $(use_enable gtk gtk2)
112 $(use_enable vorbis)
113 $(use_enable ogg)
114 $(use_enable sdl)
115 $(use_enable jack jackrack)
116 $(use_enable sox)
117 $(use_enable theora)
118 $(use_enable lame mp3lame)
119 $(use_enable ffmpeg avformat)
120 $(use_enable libsamplerate resample)
121 $(use_enable qt3 qimage)
122 $(use_enable xml westley)
123 $(use_enable xine)"
124
125 use ffmpeg && has_version ">=media-video/ffmpeg-0.4.9_p20070616-r20" &&
126 myconf="${myconf} --avformat-swscale"
127
128 (use quicktime && use dv) || myconf="${myconf} --disable-kino"
129
130 econf ${myconf} || die "econf failed"
131 sed -i -e s/^OPT/#OPT/ "${S}/config.mak"
132 emake || die "emake failed"
133 }
134
135 src_install() {
136 emake DESTDIR="${D}" install || die "emake install failed"
137
138 dodoc docs/*.txt ChangeLog README docs/TODO
139
140 dodir /usr/share/${PN}
141 insinto /usr/share/${PN}
142 doins -r demo
143 }