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-libs/mlt: ChangeLog mlt-0.5.0.ebuild
Date: Mon, 22 Feb 2010 11:05:19
Message-Id: E1NjW6H-0006FM-N6@stork.gentoo.org
1 ssuominen 10/02/22 11:05:17
2
3 Modified: ChangeLog
4 Added: mlt-0.5.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.56 media-libs/mlt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/ChangeLog?rev=1.56&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/ChangeLog?rev=1.56&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/ChangeLog?r1=1.55&r2=1.56
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v
19 retrieving revision 1.55
20 retrieving revision 1.56
21 diff -u -r1.55 -r1.56
22 --- ChangeLog 28 Dec 2009 16:50:22 -0000 1.55
23 +++ ChangeLog 22 Feb 2010 11:05:16 -0000 1.56
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-libs/mlt
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.55 2009/12/28 16:50:22 ssuominen Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.56 2010/02/22 11:05:16 ssuominen Exp $
30 +
31 +*mlt-0.5.0 (22 Feb 2010)
32 +
33 + 22 Feb 2010; Samuli Suominen <ssuominen@g.o> +mlt-0.5.0.ebuild:
34 + Version bump.
35
36 28 Dec 2009; Samuli Suominen <ssuominen@g.o> mlt-0.4.6.ebuild,
37 mlt-0.4.6-r1.ebuild:
38
39
40
41 1.1 media-libs/mlt/mlt-0.5.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/mlt-0.5.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mlt/mlt-0.5.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mlt-0.5.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.5.0.ebuild,v 1.1 2010/02/22 11:05:16 ssuominen Exp $
51
52 EAPI="2"
53
54 inherit eutils toolchain-funcs multilib python
55
56 DESCRIPTION="An open source multimedia framework, designed and developed for television broadcasting"
57 HOMEPAGE="http://mlt.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
63 IUSE="compressed-lumas dv debug ffmpeg frei0r gtk jack kde libsamplerate melt
64 mmx qt4 quicktime sdl sse sse2 vorbis xine xml lua python ruby" # java perl php tcl
65
66 RDEPEND="ffmpeg? ( >=media-video/ffmpeg-0.5 )
67 dv? ( >=media-libs/libdv-0.104 )
68 xml? ( >=dev-libs/libxml2-2.5 )
69 vorbis? ( >=media-libs/libvorbis-1.1.2 )
70 sdl? ( >=media-libs/libsdl-1.2.10
71 >=media-libs/sdl-image-1.2.4 )
72 libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
73 jack? ( media-sound/jack-audio-connection-kit
74 media-libs/ladspa-sdk
75 >=dev-libs/libxml2-2.5 )
76 frei0r? ( media-plugins/frei0r-plugins )
77 gtk? ( x11-libs/gtk+:2
78 x11-libs/pango )
79 quicktime? ( media-libs/libquicktime )
80 xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
81 qt4? ( x11-libs/qt-gui:4 )
82 !media-libs/mlt++
83 lua? ( >=dev-lang/lua-5.1.4-r4 )
84 python? ( dev-lang/python )
85 ruby? ( dev-lang/ruby )
86 "
87 # sox? ( media-sound/sox )
88 # java? ( >=virtual/jre-1.5 )
89 # perl? ( dev-lang/perl )
90 # php? ( dev-lang/php )
91 # tcl? ( dev-lang/tcl )
92
93 SWIG_DEPEND=">=dev-lang/swig-1.3.38"
94 DEPEND="${RDEPEND}
95 compressed-lumas? ( media-gfx/imagemagick )
96 lua? ( ${SWIG_DEPEND} dev-util/pkgconfig )
97 python? ( ${SWIG_DEPEND} )
98 ruby? ( ${SWIG_DEPEND} )
99 "
100 # java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 )
101 # perl? ( ${SWIG_DEPEND} )
102 # php? ( ${SWIG_DEPEND} )
103 # tcl? ( ${SWIG_DEPEND} )
104
105 src_configure() {
106 tc-export CC CXX
107
108 local myconf="--enable-gpl
109 --enable-motion-est
110 $(use_enable debug)
111 $(use_enable dv)
112 $(use_enable sse)
113 $(use_enable sse2)
114 $(use_enable gtk gtk2)
115 $(use_enable vorbis)
116 $(use_enable sdl)
117 $(use_enable jack jackrack)
118 $(use_enable ffmpeg avformat)
119 $(use_enable frei0r)
120 $(use_enable melt)
121 $(use_enable libsamplerate resample)
122 $(use_enable xml)
123 $(use_enable xine)
124 $(use_enable kde kdenlive)
125 $(use_enable qt4 qimage)
126 --disable-sox"
127 #$(use_enable sox) FIXME
128
129 use ffmpeg && myconf="${myconf} --avformat-swscale"
130
131 (use quicktime && use dv) || myconf="${myconf} --disable-kino"
132
133 use compressed-lumas && myconf="${myconf} --luma-compress"
134
135 ( use x86 || use amd64 ) && \
136 myconf="${myconf} $(use_enable mmx)" ||
137 myconf="${myconf} --disable-mmx"
138
139 use melt || sed -i -e "s;src/melt;;" Makefile
140
141 # TODO: add swig language bindings
142 # see also http://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
143
144 local swig_lang
145 # TODO: java perl php tcl
146 for i in lua python ruby ; do
147 use $i && swig_lang="${swig_lang} $i"
148 done
149 [ -z "${swig_lang}" ] && swig_lang="none"
150
151 econf ${myconf} --swig-languages="${swig_lang}"
152 sed -i -e s/^OPT/#OPT/ "${S}/config.mak"
153 }
154
155 src_install() {
156 emake DESTDIR="${D}" install || die
157 dodoc AUTHORS ChangeLog NEWS README docs/{TODO,*.txt}
158
159 dodir /usr/share/${PN}
160 insinto /usr/share/${PN}
161 doins -r demo
162
163 docinto swig
164
165 # Install SWIG bindings
166 if use lua; then
167 cd "${S}"/src/swig/lua
168 exeinto $(pkg-config --variable INSTALL_CMOD lua)
169 doexe mlt.so
170 dodoc play.lua
171 fi
172
173 if use python; then
174 python_version
175 cd "${S}"/src/swig/python
176 insinto /usr/$(get_libdir)/python${PYVER}/site-packages
177 doins mlt.py
178 exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
179 doexe _mlt.so
180 dodoc play.py
181 fi
182
183 if use ruby; then
184 cd "${S}"/src/swig/ruby
185 exeinto $(/usr/bin/ruby -r rbconfig -e 'print Config::CONFIG["sitearchdir"]')
186 doexe mlt.so
187 dodoc play.rb thumbs.rb
188 fi
189 # TODO: java perl php tcl
190 }