Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/
Date: Sat, 29 Jun 2019 21:34:29
Message-Id: 1561844032.2ded88d2a2a7947b715f8bf8a954e0cde3bdcb87.asturm@gentoo
1 commit: 2ded88d2a2a7947b715f8bf8a954e0cde3bdcb87
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 29 18:52:45 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 29 21:33:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ded88d2
7
8 media-libs/mlt: Drop 6.14.0, 6.16.0
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.16
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/mlt/Manifest | 1 -
14 media-libs/mlt/mlt-6.14.0.ebuild | 217 ---------------------------------------
15 media-libs/mlt/mlt-6.16.0.ebuild | 217 ---------------------------------------
16 3 files changed, 435 deletions(-)
17
18 diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest
19 index 61ff0b1eeee..79e016ac566 100644
20 --- a/media-libs/mlt/Manifest
21 +++ b/media-libs/mlt/Manifest
22 @@ -1,3 +1,2 @@
23 DIST mlt-6.12.0.tar.gz 1395646 BLAKE2B 18dc06c4075d8d51bc7f62d027adda92c359275b9ad2131cc015b4402b1b7a9438fe87b617075017b9fd5e9696b82c4c840fa6dd83188bd0cedb7f01d2158283 SHA512 ed2cc0eeda45558ae6f1ec8780dfd413641953dc12dc32dccf655649f68f8e6088d39fefb7bef7bae042a41096976004446019d82ea162785bc487009cb97680
24 -DIST mlt-6.14.0.tar.gz 1413015 BLAKE2B 81501c0b770c0be2ccf2dfa12c4ebb893c0e9921f36722e6f5cb8f643d3eaaa4b8eaf4fd87ba05fa55d49960b7147b73ea5f2cf771a6784b587a6797466f2f73 SHA512 86b26b0c421cc881f6bebbde2c0ae9d834f190d8f878fb279ab29a1d7ac5416077b7dd91420bf63a7821fade9ca9c044a92440e02673c7b330b8ff36982a9fb9
25 DIST mlt-6.16.0.tar.gz 1414374 BLAKE2B 6c031360721d535e95cbaf890c1f42f5f5dd914e0c6c20992bd3aec4ecbcc0b53370fe6b82b5d11c8242bb0a1f2d94f28bc61b4e5a920e5afb41ca8bb5229433 SHA512 554e8b9baa7a8578cc52315fe0583c61762bf6fbbcdd4a1e4f25753846d92f013e7d74745498625fcc781de993aa0526fd761920450b4314e67105783b9bde26
26
27 diff --git a/media-libs/mlt/mlt-6.14.0.ebuild b/media-libs/mlt/mlt-6.14.0.ebuild
28 deleted file mode 100644
29 index 6d8840ae163..00000000000
30 --- a/media-libs/mlt/mlt-6.14.0.ebuild
31 +++ /dev/null
32 @@ -1,217 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -# TODO python3_{6,7} contrary to 6.14 changelog, still does not build.
39 -PYTHON_COMPAT=( python2_7 )
40 -# this ebuild currently only supports installing ruby bindings for a single ruby version
41 -# so USE_RUBY must contain only a single value (the latest stable) as the ebuild calls
42 -# /usr/bin/${USE_RUBY} directly
43 -USE_RUBY="ruby25"
44 -inherit python-single-r1 ruby-single toolchain-funcs
45 -
46 -DESCRIPTION="Open source multimedia framework for television broadcasting"
47 -HOMEPAGE="https://www.mltframework.org/"
48 -SRC_URI="https://github.com/mltframework/${PN}/releases/download/v${PV}/${P}.tar.gz"
49 -
50 -LICENSE="GPL-3"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~arm64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
53 -IUSE="compressed-lumas cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 debug ffmpeg fftw frei0r
54 -gtk jack kdenlive kernel_linux libav libsamplerate lua melt opencv opengl python qt5 rtaudio ruby sdl
55 -vdpau vidstab xine xml"
56 -# java perl php tcl
57 -
58 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
59 -
60 -SWIG_DEPEND=">=dev-lang/swig-2.0"
61 -# java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 )
62 -# perl? ( ${SWIG_DEPEND} )
63 -# php? ( ${SWIG_DEPEND} )
64 -# tcl? ( ${SWIG_DEPEND} )
65 -BDEPEND="
66 - virtual/pkgconfig
67 - compressed-lumas? ( virtual/imagemagick-tools[png] )
68 - lua? ( ${SWIG_DEPEND} virtual/pkgconfig )
69 - python? ( ${SWIG_DEPEND} )
70 - ruby? ( ${SWIG_DEPEND} )"
71 -#rtaudio will use OSS on non linux OSes
72 -DEPEND="
73 - >=media-libs/libebur128-1.2.2
74 - ffmpeg? (
75 - libav? ( >=media-video/libav-12:0=[vdpau?] )
76 - !libav? ( media-video/ffmpeg:0=[vdpau?] )
77 - )
78 - fftw? ( sci-libs/fftw:3.0= )
79 - frei0r? ( media-plugins/frei0r-plugins )
80 - gtk? (
81 - media-libs/libexif
82 - x11-libs/gtk+:2
83 - x11-libs/pango
84 - )
85 - jack? (
86 - >=dev-libs/libxml2-2.5
87 - media-libs/ladspa-sdk
88 - virtual/jack
89 - )
90 - libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
91 - lua? ( >=dev-lang/lua-5.1.4-r4:= )
92 - opencv? ( >=media-libs/opencv-3.2.0:= )
93 - opengl? ( media-video/movit )
94 - python? ( ${PYTHON_DEPS} )
95 - qt5? (
96 - dev-qt/qtcore:5
97 - dev-qt/qtgui:5
98 - dev-qt/qtsvg:5
99 - dev-qt/qtwidgets:5
100 - dev-qt/qtxml:5
101 - media-libs/libexif
102 - x11-libs/libX11
103 - )
104 - rtaudio? (
105 - >=media-libs/rtaudio-4.1.2
106 - kernel_linux? ( media-libs/alsa-lib )
107 - )
108 - ruby? ( ${RUBY_DEPS} )
109 - sdl? (
110 - media-libs/libsdl2[X,opengl,video]
111 - media-libs/sdl2-image
112 - )
113 - vidstab? ( media-libs/vidstab )
114 - xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
115 - xml? ( >=dev-libs/libxml2-2.5 )"
116 -# java? ( >=virtual/jre-1.5 )
117 -# perl? ( dev-lang/perl )
118 -# php? ( dev-lang/php )
119 -# sox? ( media-sound/sox )
120 -# tcl? ( dev-lang/tcl:0= )
121 -RDEPEND="${DEPEND}"
122 -
123 -DOCS=( AUTHORS ChangeLog NEWS README docs/{framework,melt,mlt{++,-xml}}.txt )
124 -
125 -PATCHES=( "${FILESDIR}"/${PN}-6.10.0-swig-underlinking.patch )
126 -
127 -pkg_setup() {
128 - use python && python-single-r1_pkg_setup
129 -}
130 -
131 -src_prepare() {
132 - default
133 -
134 - # respect CFLAGS LDFLAGS when building shared libraries. Bug #308873
135 - for x in python lua; do
136 - sed -i "/mlt.so/s: -lmlt++ :& ${CFLAGS} ${LDFLAGS} :" src/swig/$x/build || die
137 - done
138 - sed -i "/^LDFLAGS/s: += :& ${LDFLAGS} :" src/swig/ruby/build || die
139 -
140 - sed -i -e "s/env ruby/${USE_RUBY}/" src/swig/ruby/* || die
141 -}
142 -
143 -src_configure() {
144 - tc-export CC CXX
145 -
146 - local myconf=(
147 - --enable-gpl
148 - --enable-gpl3
149 - --enable-motion-est
150 - --target-arch=$(tc-arch)
151 - --disable-kde
152 - --disable-sdl
153 - --disable-swfdec
154 - $(use_enable debug)
155 - $(use compressed-lumas && echo ' --luma-compress')
156 - $(use_enable cpu_flags_x86_sse sse)
157 - $(use_enable cpu_flags_x86_sse2 sse2)
158 - $(use_enable gtk gtk2)
159 - $(use_enable jack jackrack)
160 - $(use_enable ffmpeg avformat)
161 - $(use ffmpeg && echo ' --avformat-swscale')
162 - $(use_enable fftw plus)
163 - $(use_enable frei0r)
164 - $(use_enable melt)
165 - $(use_enable opencv)
166 - $(use_enable opengl)
167 - $(use_enable libsamplerate resample)
168 - $(use_enable rtaudio)
169 - $(use vdpau && echo ' --avformat-vdpau')
170 - $(use_enable sdl sdl2)
171 - $(use_enable vidstab vid.stab )
172 - $(use_enable xml)
173 - $(use_enable xine)
174 - $(use_enable kdenlive)
175 - --disable-sox
176 - )
177 - #$(use_enable sox) FIXME
178 -
179 - if use qt5 ; then
180 - myconf+=(
181 - --enable-qt
182 - --qt-includedir=$(pkg-config Qt5Core --variable=includedir)
183 - --qt-libdir=$(pkg-config Qt5Core --variable=libdir)
184 - )
185 - else
186 - myconf+=( --disable-qt )
187 - fi
188 -
189 - if use x86 || use amd64 ; then
190 - myconf+=( $(use_enable cpu_flags_x86_mmx mmx) )
191 - else
192 - myconf+=( --disable-mmx )
193 - fi
194 -
195 - if ! use melt; then
196 - sed -i -e "s;src/melt;;" Makefile || die
197 - fi
198 -
199 - # TODO: add swig language bindings
200 - # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
201 -
202 - local swig_lang
203 - # TODO: java perl php tcl
204 - for i in lua python ruby ; do
205 - use $i && swig_lang="${swig_lang} $i"
206 - done
207 - [[ -z "${swig_lang}" ]] && swig_lang="none"
208 -
209 - econf ${myconf[@]} --swig-languages="${swig_lang}"
210 -
211 - sed -i -e s/^OPT/#OPT/ "${S}/config.mak" || die
212 -}
213 -
214 -src_install() {
215 - emake DESTDIR="${D}" install
216 - einstalldocs
217 -
218 - dodir /usr/share/${PN}
219 - insinto /usr/share/${PN}
220 - doins -r demo
221 -
222 - docinto swig
223 -
224 - # Install SWIG bindings
225 - if use lua; then
226 - cd "${S}"/src/swig/lua || die
227 - exeinto $(pkg-config --variable INSTALL_CMOD lua)
228 - doexe mlt.so
229 - dodoc play.lua
230 - fi
231 -
232 - if use python; then
233 - cd "${S}"/src/swig/python || die
234 - insinto $(python_get_sitedir)
235 - doins mlt.py
236 - exeinto $(python_get_sitedir)
237 - doexe _mlt.so
238 - dodoc play.py
239 - python_optimize
240 - fi
241 -
242 - if use ruby; then
243 - cd "${S}"/src/swig/ruby || die
244 - exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')
245 - doexe mlt.so
246 - dodoc play.rb thumbs.rb
247 - fi
248 - # TODO: java perl php tcl
249 -}
250
251 diff --git a/media-libs/mlt/mlt-6.16.0.ebuild b/media-libs/mlt/mlt-6.16.0.ebuild
252 deleted file mode 100644
253 index 6d8840ae163..00000000000
254 --- a/media-libs/mlt/mlt-6.16.0.ebuild
255 +++ /dev/null
256 @@ -1,217 +0,0 @@
257 -# Copyright 1999-2019 Gentoo Authors
258 -# Distributed under the terms of the GNU General Public License v2
259 -
260 -EAPI=7
261 -
262 -# TODO python3_{6,7} contrary to 6.14 changelog, still does not build.
263 -PYTHON_COMPAT=( python2_7 )
264 -# this ebuild currently only supports installing ruby bindings for a single ruby version
265 -# so USE_RUBY must contain only a single value (the latest stable) as the ebuild calls
266 -# /usr/bin/${USE_RUBY} directly
267 -USE_RUBY="ruby25"
268 -inherit python-single-r1 ruby-single toolchain-funcs
269 -
270 -DESCRIPTION="Open source multimedia framework for television broadcasting"
271 -HOMEPAGE="https://www.mltframework.org/"
272 -SRC_URI="https://github.com/mltframework/${PN}/releases/download/v${PV}/${P}.tar.gz"
273 -
274 -LICENSE="GPL-3"
275 -SLOT="0"
276 -KEYWORDS="~amd64 ~arm64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
277 -IUSE="compressed-lumas cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 debug ffmpeg fftw frei0r
278 -gtk jack kdenlive kernel_linux libav libsamplerate lua melt opencv opengl python qt5 rtaudio ruby sdl
279 -vdpau vidstab xine xml"
280 -# java perl php tcl
281 -
282 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
283 -
284 -SWIG_DEPEND=">=dev-lang/swig-2.0"
285 -# java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 )
286 -# perl? ( ${SWIG_DEPEND} )
287 -# php? ( ${SWIG_DEPEND} )
288 -# tcl? ( ${SWIG_DEPEND} )
289 -BDEPEND="
290 - virtual/pkgconfig
291 - compressed-lumas? ( virtual/imagemagick-tools[png] )
292 - lua? ( ${SWIG_DEPEND} virtual/pkgconfig )
293 - python? ( ${SWIG_DEPEND} )
294 - ruby? ( ${SWIG_DEPEND} )"
295 -#rtaudio will use OSS on non linux OSes
296 -DEPEND="
297 - >=media-libs/libebur128-1.2.2
298 - ffmpeg? (
299 - libav? ( >=media-video/libav-12:0=[vdpau?] )
300 - !libav? ( media-video/ffmpeg:0=[vdpau?] )
301 - )
302 - fftw? ( sci-libs/fftw:3.0= )
303 - frei0r? ( media-plugins/frei0r-plugins )
304 - gtk? (
305 - media-libs/libexif
306 - x11-libs/gtk+:2
307 - x11-libs/pango
308 - )
309 - jack? (
310 - >=dev-libs/libxml2-2.5
311 - media-libs/ladspa-sdk
312 - virtual/jack
313 - )
314 - libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
315 - lua? ( >=dev-lang/lua-5.1.4-r4:= )
316 - opencv? ( >=media-libs/opencv-3.2.0:= )
317 - opengl? ( media-video/movit )
318 - python? ( ${PYTHON_DEPS} )
319 - qt5? (
320 - dev-qt/qtcore:5
321 - dev-qt/qtgui:5
322 - dev-qt/qtsvg:5
323 - dev-qt/qtwidgets:5
324 - dev-qt/qtxml:5
325 - media-libs/libexif
326 - x11-libs/libX11
327 - )
328 - rtaudio? (
329 - >=media-libs/rtaudio-4.1.2
330 - kernel_linux? ( media-libs/alsa-lib )
331 - )
332 - ruby? ( ${RUBY_DEPS} )
333 - sdl? (
334 - media-libs/libsdl2[X,opengl,video]
335 - media-libs/sdl2-image
336 - )
337 - vidstab? ( media-libs/vidstab )
338 - xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
339 - xml? ( >=dev-libs/libxml2-2.5 )"
340 -# java? ( >=virtual/jre-1.5 )
341 -# perl? ( dev-lang/perl )
342 -# php? ( dev-lang/php )
343 -# sox? ( media-sound/sox )
344 -# tcl? ( dev-lang/tcl:0= )
345 -RDEPEND="${DEPEND}"
346 -
347 -DOCS=( AUTHORS ChangeLog NEWS README docs/{framework,melt,mlt{++,-xml}}.txt )
348 -
349 -PATCHES=( "${FILESDIR}"/${PN}-6.10.0-swig-underlinking.patch )
350 -
351 -pkg_setup() {
352 - use python && python-single-r1_pkg_setup
353 -}
354 -
355 -src_prepare() {
356 - default
357 -
358 - # respect CFLAGS LDFLAGS when building shared libraries. Bug #308873
359 - for x in python lua; do
360 - sed -i "/mlt.so/s: -lmlt++ :& ${CFLAGS} ${LDFLAGS} :" src/swig/$x/build || die
361 - done
362 - sed -i "/^LDFLAGS/s: += :& ${LDFLAGS} :" src/swig/ruby/build || die
363 -
364 - sed -i -e "s/env ruby/${USE_RUBY}/" src/swig/ruby/* || die
365 -}
366 -
367 -src_configure() {
368 - tc-export CC CXX
369 -
370 - local myconf=(
371 - --enable-gpl
372 - --enable-gpl3
373 - --enable-motion-est
374 - --target-arch=$(tc-arch)
375 - --disable-kde
376 - --disable-sdl
377 - --disable-swfdec
378 - $(use_enable debug)
379 - $(use compressed-lumas && echo ' --luma-compress')
380 - $(use_enable cpu_flags_x86_sse sse)
381 - $(use_enable cpu_flags_x86_sse2 sse2)
382 - $(use_enable gtk gtk2)
383 - $(use_enable jack jackrack)
384 - $(use_enable ffmpeg avformat)
385 - $(use ffmpeg && echo ' --avformat-swscale')
386 - $(use_enable fftw plus)
387 - $(use_enable frei0r)
388 - $(use_enable melt)
389 - $(use_enable opencv)
390 - $(use_enable opengl)
391 - $(use_enable libsamplerate resample)
392 - $(use_enable rtaudio)
393 - $(use vdpau && echo ' --avformat-vdpau')
394 - $(use_enable sdl sdl2)
395 - $(use_enable vidstab vid.stab )
396 - $(use_enable xml)
397 - $(use_enable xine)
398 - $(use_enable kdenlive)
399 - --disable-sox
400 - )
401 - #$(use_enable sox) FIXME
402 -
403 - if use qt5 ; then
404 - myconf+=(
405 - --enable-qt
406 - --qt-includedir=$(pkg-config Qt5Core --variable=includedir)
407 - --qt-libdir=$(pkg-config Qt5Core --variable=libdir)
408 - )
409 - else
410 - myconf+=( --disable-qt )
411 - fi
412 -
413 - if use x86 || use amd64 ; then
414 - myconf+=( $(use_enable cpu_flags_x86_mmx mmx) )
415 - else
416 - myconf+=( --disable-mmx )
417 - fi
418 -
419 - if ! use melt; then
420 - sed -i -e "s;src/melt;;" Makefile || die
421 - fi
422 -
423 - # TODO: add swig language bindings
424 - # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
425 -
426 - local swig_lang
427 - # TODO: java perl php tcl
428 - for i in lua python ruby ; do
429 - use $i && swig_lang="${swig_lang} $i"
430 - done
431 - [[ -z "${swig_lang}" ]] && swig_lang="none"
432 -
433 - econf ${myconf[@]} --swig-languages="${swig_lang}"
434 -
435 - sed -i -e s/^OPT/#OPT/ "${S}/config.mak" || die
436 -}
437 -
438 -src_install() {
439 - emake DESTDIR="${D}" install
440 - einstalldocs
441 -
442 - dodir /usr/share/${PN}
443 - insinto /usr/share/${PN}
444 - doins -r demo
445 -
446 - docinto swig
447 -
448 - # Install SWIG bindings
449 - if use lua; then
450 - cd "${S}"/src/swig/lua || die
451 - exeinto $(pkg-config --variable INSTALL_CMOD lua)
452 - doexe mlt.so
453 - dodoc play.lua
454 - fi
455 -
456 - if use python; then
457 - cd "${S}"/src/swig/python || die
458 - insinto $(python_get_sitedir)
459 - doins mlt.py
460 - exeinto $(python_get_sitedir)
461 - doexe _mlt.so
462 - dodoc play.py
463 - python_optimize
464 - fi
465 -
466 - if use ruby; then
467 - cd "${S}"/src/swig/ruby || die
468 - exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')
469 - doexe mlt.so
470 - dodoc play.rb thumbs.rb
471 - fi
472 - # TODO: java perl php tcl
473 -}