summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-05-16 08:22:00 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-05-16 08:22:00 +0000
commit3600d148b6e28805ab9742113b757e743bf606b0 (patch)
treef36c2b469fae0d72c43accee75f9aef9ed3ce951 /media-libs/mlt
parentStable on amd64 and x86 wrt bug#306723. (diff)
downloadhistorical-3600d148b6e28805ab9742113b757e743bf606b0.tar.gz
historical-3600d148b6e28805ab9742113b757e743bf606b0.tar.bz2
historical-3600d148b6e28805ab9742113b757e743bf606b0.zip
Stabilise latest on amd64 and x86. Drop older overshadowed versions.
Package-Manager: portage-2.2.0_alpha105/cvs/Linux x86_64
Diffstat (limited to 'media-libs/mlt')
-rw-r--r--media-libs/mlt/ChangeLog7
-rw-r--r--media-libs/mlt/Manifest30
-rw-r--r--media-libs/mlt/files/mlt-0.5.4-asneeded.patch11
-rw-r--r--media-libs/mlt/files/mlt-0.7.6-ffmpeg.patch33
-rw-r--r--media-libs/mlt/mlt-0.5.10.ebuild168
-rw-r--r--media-libs/mlt/mlt-0.7.6-r1.ebuild172
-rw-r--r--media-libs/mlt/mlt-0.7.8.ebuild4
7 files changed, 30 insertions, 395 deletions
diff --git a/media-libs/mlt/ChangeLog b/media-libs/mlt/ChangeLog
index a5881b557390..ae42d1d81632 100644
--- a/media-libs/mlt/ChangeLog
+++ b/media-libs/mlt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/mlt
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.89 2012/05/05 08:02:35 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.90 2012/05/16 08:21:59 scarabeus Exp $
+
+ 16 May 2012; Tomáš Chvátal <scarabeus@gentoo.org>
+ -files/mlt-0.5.4-asneeded.patch, -files/mlt-0.7.6-ffmpeg.patch,
+ -mlt-0.5.10.ebuild, -mlt-0.7.6-r1.ebuild, mlt-0.7.8.ebuild:
+ Stabilise latest on amd64 and x86. Drop older overshadowed versions.
05 May 2012; Jeff Horelick <jdhore@gentoo.org> mlt-0.5.10.ebuild,
mlt-0.7.6-r1.ebuild, mlt-0.7.8.ebuild:
diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest
index c7891949e744..92f28df36684 100644
--- a/media-libs/mlt/Manifest
+++ b/media-libs/mlt/Manifest
@@ -1,12 +1,26 @@
-AUX mlt-0.5.4-asneeded.patch 338 RMD160 1fd1f17c6461fa518a621064a9d1f5a981e94059 SHA1 06784b1c39a9766e45c9b29e9c7a03916472e21e SHA256 9331f20822eb6cb0ed7e20952b0e37cb3e9a5df0203d1ab6361b4289a6c0cba8
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX mlt-0.7.2-ruby-link.patch 680 RMD160 f63b85806e58561e43ffad0162393ea77e01e728 SHA1 7bb51abe6dd716369f39272867eb242b1cb42e29 SHA256 fbcf41da78bc150afd2fcc5394eda2022d2c19d7b1cb788910b443b64d0cdd56
-AUX mlt-0.7.6-ffmpeg.patch 939 RMD160 11f4bf7f72c6b501df8973f11c725c30ce8580fc SHA1 2419d65dc8cc9f0322cd2746b3835e590656fe44 SHA256 f4a30fafe929c599077b8c2d8d8b4022449c628b83dd825e350bcbc0ed1c352f
AUX mlt-0.7.8-libavcodec54.patch 677 RMD160 652a958bfba65d621aa321a14eb185c3a32d9ff5 SHA1 638358345e1a8e67ed0fa16d46ed3362ae1740c8 SHA256 ad720784b728699eada59f44be2f63a834b16ce076acce36f7f74bba1b55b125
-DIST mlt-0.5.10.tar.gz 819471 RMD160 015053ddb98175adc905d2ccf29ae962f295a9bb SHA1 e0b3d8f77ad6d97d6495614e78dfbbb531e70f77 SHA256 106636540cdf44f670937b8df549ea2c988a27d05e14d4a8670f9b6af5a0d19e
-DIST mlt-0.7.6.tar.gz 1024353 RMD160 898256dfbbda158f51796a7d4468a6a54b9b246d SHA1 f23c8bddb9b1f406c3cfcd155e74f8d9d37b5120 SHA256 f8ea8590417ea2b5543a495f2edc30636d3931932deee7a4e0d8516e9c2b58ae
DIST mlt-0.7.8.tar.gz 1106625 RMD160 8edaeba84ca91b002c85e8582b7b0fa8d0286a86 SHA1 2d55b16918284ffadd5eae6eed1c5f0a12669d32 SHA256 95833b2746e2d71dd42f6163e1a5d863c7d4772cc344a840f5555d0dc1946e43
-EBUILD mlt-0.5.10.ebuild 4451 RMD160 47080e6344171d61352579b2e7153e632bcdf385 SHA1 a410defaf0280751b7abe50cb3508ea414ee321f SHA256 d8693dce06c6034191723a915de70d15f7b81ea52d3147d917a770e3f1cab817
-EBUILD mlt-0.7.6-r1.ebuild 4653 RMD160 a2473836ea2bb28c63f3df901b9cd9c6a46d8502 SHA1 e6bc51654e1e1a0ed22f00af2cbee36dc8cc02a4 SHA256 064ade5e5e842790f77bb127e8cc5266b444b394879636801180e89dcfb1d962
-EBUILD mlt-0.7.8.ebuild 4810 RMD160 2f7ad9d6a59cf6fe9b87f8d676019a2774a1a257 SHA1 2b6e70208ae5400dc0940dc3f9353f803d72dee1 SHA256 34082e6b3d3a59fbedc08dcb2da0774d9173fe444a9816b49181d86bffac7bf8
-MISC ChangeLog 13821 RMD160 46285dbad70cb57984e6887924719fef315b8479 SHA1 1c89ed56cdc6713cce9c9c8ae02d01e1825479c0 SHA256 95bf7d032b38aa55e0e0eaf27e3509600f754eb75a3029447b4444e301dd74e7
+EBUILD mlt-0.7.8.ebuild 4811 RMD160 fd86dbc0f307d94e537f7ae10301efbae117dbb8 SHA1 3e736f035b530cd01f10cd6ab82bd7b6668facc2 SHA256 ef8a2b0e420860011264cb640ae23e1c0cd8ba84325e86815a816610bda7cdcf
+MISC ChangeLog 14079 RMD160 70b35ef4e85bbb526f8bba033bcdb7c24ceb4d88 SHA1 716c6f9a810abd4572124ce01eb5036df61bb65a SHA256 63d8359014febda5b4b4f8b57a41b087b4548f764d0bbdbd23199a41e076ca4a
MISC metadata.xml 1130 RMD160 680cc6bdb4ba65bc7eaffbab0a2ab17065948c0f SHA1 877248266e1d5090524e4182939a637b081055a6 SHA256 fbd5e5c1f43b4e3729ffb08a460281d9214e2ce42b2ff0b24f6ace960e65f48a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBAgAGBQJPs2PVAAoJEOSiRoyO7jvol5YP/26XNDWZlSmXSz7fNK1S3Ou5
+cqxxCq4twkPrKIP4OicchNp9lAJWhWO3DLfukfVPOmS+nM13B5eR/DsJGH8mcANv
+rB/1Drp5L45imjZEr5UNJOhabe8uXKP5cKp/ymD1ElzO82v3iasy4OFM4V1JFh2/
+cMqHwzhZ+KVJs0Y1QEe23TpZn63w7usPViaLIATOJ/VGxjPZ0hyjlblO6Gw8SN2K
+wlMWdgzA7x3YCaskcz7SJgnKdw+1IILCejhYB7zphK4WVuOleFjdD5El9ZTQ43dM
+vCV3FVEOwAeBld/Nuht7uO/cQ8jUf9WuI2ojFMn2MMOeR1pP9TmDB/6GwCPCZp0x
+xtZ7drnfGSbMN+M0vf6YRJ5q/iEz6UqkcDJIZo/12EL4bAoTwio7fsW8i6vtHPl4
+9NW7we8jfKMP5oUiruBI5a4OtOt9s6ldNbsRi/FLkl6OGbr5RpulK/nXSVsQVObY
+AxbYPSNLpWRRNK32nQ+liJRWyTNkf0ixYH9ZgW5a9HpCQPMguPRIMFbPOQGhSIIo
+aQ52irWWSXDOpf9LSJmvInoraHH0M42MwsIXT22xMnLyndsQTawg7DDb1CyB6Wkk
+UDMFp1b+8baXehr5MO9g+RTvL137Hm4uYVMYeAAvXnUjnSpPJy4X0AG4b+GYC3cs
+sWxiCHzbuYhvj5TYVXvw
+=ezxi
+-----END PGP SIGNATURE-----
diff --git a/media-libs/mlt/files/mlt-0.5.4-asneeded.patch b/media-libs/mlt/files/mlt-0.5.4-asneeded.patch
deleted file mode 100644
index 16fc73a75da8..000000000000
--- a/media-libs/mlt/files/mlt-0.5.4-asneeded.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-http://bugs.gentoo.org/320897
-
---- src/swig/ruby/build
-+++ src/swig/ruby/build
-@@ -7,5 +7,5 @@
- system( "ln -sf ../mlt.i" )
- system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" )
- $CFLAGS += " -I../.."
--$LDFLAGS += " -L../../mlt++ -lmlt++"
-+$LDFLAGS += " -L../../mlt++ -lmlt++ -L../../framework/ -lmlt -lstdc++"
- create_makefile('mlt')
diff --git a/media-libs/mlt/files/mlt-0.7.6-ffmpeg.patch b/media-libs/mlt/files/mlt-0.7.6-ffmpeg.patch
deleted file mode 100644
index 2fb45d52b723..000000000000
--- a/media-libs/mlt/files/mlt-0.7.6-ffmpeg.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Do not use ffmpeg internal symbols.
-
-Index: mlt-0.7.6/src/modules/avformat/filter_avdeinterlace.c
-===================================================================
---- mlt-0.7.6.orig/src/modules/avformat/filter_avdeinterlace.c
-+++ mlt-0.7.6/src/modules/avformat/filter_avdeinterlace.c
-@@ -26,7 +26,9 @@
-
- // ffmpeg Header files
- #include <libavformat/avformat.h>
-+#include <libavcodec/avcodec.h>
-
-+#if 0
- #ifdef USE_MMX
- #include "mmx.h"
- #else
-@@ -293,6 +295,7 @@ static int mlt_avpicture_deinterlace(AVP
- #endif
- return 0;
- }
-+#endif
-
- /** Do it :-).
- */
-@@ -318,7 +321,7 @@ static int filter_get_image( mlt_frame f
-
- // Fill the picture
- avpicture_fill( output, *image, PIX_FMT_YUYV422, *width, *height );
-- mlt_avpicture_deinterlace( output, output, PIX_FMT_YUYV422, *width, *height );
-+ avpicture_deinterlace( output, output, PIX_FMT_YUYV422, *width, *height );
-
- // Free the picture
- mlt_pool_release( output );
diff --git a/media-libs/mlt/mlt-0.5.10.ebuild b/media-libs/mlt/mlt-0.5.10.ebuild
deleted file mode 100644
index c942bbd363eb..000000000000
--- a/media-libs/mlt/mlt-0.5.10.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.5.10.ebuild,v 1.5 2012/05/05 08:02:35 jdhore Exp $
-
-EAPI=3
-PYTHON_DEPEND="python? 2:2.6"
-inherit eutils toolchain-funcs multilib python
-
-DESCRIPTION="An open source multimedia framework, designed and developed for television broadcasting"
-HOMEPAGE="http://www.mltframework.org/"
-SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="compressed-lumas dv debug ffmpeg frei0r gtk jack kde libsamplerate melt
-mmx qt4 quicktime sdl sse sse2 vorbis xine xml lua python ruby vdpau" # java perl php tcl
-
-RDEPEND="ffmpeg? ( virtual/ffmpeg[vdpau?] )
- dv? ( >=media-libs/libdv-0.104 )
- xml? ( >=dev-libs/libxml2-2.5 )
- vorbis? ( >=media-libs/libvorbis-1.1.2 )
- sdl? ( >=media-libs/libsdl-1.2.10
- >=media-libs/sdl-image-1.2.4 )
- libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
- jack? ( media-sound/jack-audio-connection-kit
- media-libs/ladspa-sdk
- >=dev-libs/libxml2-2.5 )
- frei0r? ( media-plugins/frei0r-plugins )
- gtk? ( x11-libs/gtk+:2
- x11-libs/pango )
- quicktime? ( media-libs/libquicktime )
- xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
- qt4? ( x11-libs/qt-gui:4 )
- !media-libs/mlt++
- lua? ( >=dev-lang/lua-5.1.4-r4 )
- ruby? ( dev-lang/ruby )"
-# sox? ( media-sound/sox )
-# java? ( >=virtual/jre-1.5 )
-# perl? ( dev-lang/perl )
-# php? ( dev-lang/php )
-# tcl? ( dev-lang/tcl )
-
-SWIG_DEPEND=">=dev-lang/swig-1.3.38"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- compressed-lumas? ( || ( media-gfx/imagemagick
- media-gfx/graphicsmagick[imagemagick] ) )
- lua? ( ${SWIG_DEPEND} virtual/pkgconfig )
- python? ( ${SWIG_DEPEND} )
- ruby? ( ${SWIG_DEPEND} )"
-# java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 )
-# perl? ( ${SWIG_DEPEND} )
-# php? ( ${SWIG_DEPEND} )
-# tcl? ( ${SWIG_DEPEND} )
-
-pkg_setup() {
- python_set_active_version 2
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.5.4-asneeded.patch
- # respect CFLAGS LDFLAGS when building shared libraries. Bug #308873
- for x in python lua; do
- sed -i "/mlt.so/s: -lmlt++ :& ${CFLAGS} ${LDFLAGS} :" src/swig/$x/build
- done
- sed -i "/^LDFLAGS/s: += :& ${LDFLAGS} :" src/swig/ruby/build
-}
-
-src_configure() {
- use vdpau || export MLT_NO_VDPAU=1
-
- tc-export CC CXX
-
- local myconf="--enable-gpl
- --enable-motion-est
- $(use_enable debug)
- $(use_enable dv)
- $(use_enable sse)
- $(use_enable sse2)
- $(use_enable gtk gtk2)
- $(use_enable vorbis)
- $(use_enable sdl)
- $(use_enable jack jackrack)
- $(use_enable ffmpeg avformat)
- $(use_enable frei0r)
- $(use_enable melt)
- $(use_enable libsamplerate resample)
- $(use_enable xml)
- $(use_enable xine)
- $(use_enable kde kdenlive)
- $(use_enable qt4 qimage)
- --disable-sox"
- #$(use_enable sox) FIXME
-
- use ffmpeg && myconf="${myconf} --avformat-swscale"
-
- (use quicktime && use dv) || myconf="${myconf} --disable-kino"
-
- use compressed-lumas && myconf="${myconf} --luma-compress"
-
- ( use x86 || use amd64 ) && \
- myconf="${myconf} $(use_enable mmx)" ||
- myconf="${myconf} --disable-mmx"
-
- use melt || sed -i -e "s;src/melt;;" Makefile
-
- # TODO: add swig language bindings
- # see also http://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
-
- local swig_lang
- # TODO: java perl php tcl
- for i in lua python ruby ; do
- use $i && swig_lang="${swig_lang} $i"
- done
- [ -z "${swig_lang}" ] && swig_lang="none"
-
- econf ${myconf} --swig-languages="${swig_lang}"
- sed -i -e s/^OPT/#OPT/ "${S}/config.mak"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README docs/{TODO,*.txt}
-
- dodir /usr/share/${PN}
- insinto /usr/share/${PN}
- doins -r demo
-
- docinto swig
-
- # Install SWIG bindings
- if use lua; then
- cd "${S}"/src/swig/lua
- exeinto $(pkg-config --variable INSTALL_CMOD lua)
- doexe mlt.so || die
- dodoc play.lua
- fi
-
- if use python; then
- cd "${S}"/src/swig/python
- insinto $(python_get_sitedir)
- doins mlt.py || die
- exeinto $(python_get_sitedir)
- doexe _mlt.so || die
- dodoc play.py
- fi
-
- if use ruby; then
- cd "${S}"/src/swig/ruby
- exeinto $("${EPREFIX}"/usr/bin/ruby -r rbconfig -e 'print Config::CONFIG["sitearchdir"]')
- doexe mlt.so || die
- dodoc play.rb thumbs.rb
- fi
- # TODO: java perl php tcl
-}
-
-pkg_postinst() {
- if use python; then
- python_mod_optimize mlt.py
- fi
-}
-
-pkg_postrm() {
- if use python; then
- python_mod_cleanup mlt.py
- fi
-}
diff --git a/media-libs/mlt/mlt-0.7.6-r1.ebuild b/media-libs/mlt/mlt-0.7.6-r1.ebuild
deleted file mode 100644
index 0e082dde3b7e..000000000000
--- a/media-libs/mlt/mlt-0.7.6-r1.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.7.6-r1.ebuild,v 1.5 2012/05/05 08:02:35 jdhore Exp $
-
-EAPI=4
-PYTHON_DEPEND="python? 2:2.6"
-inherit eutils toolchain-funcs multilib python
-
-DESCRIPTION="An open source multimedia framework, designed and developed for television broadcasting"
-HOMEPAGE="http://www.mltframework.org/"
-SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="compressed-lumas dv debug ffmpeg frei0r gtk jack kde libsamplerate melt
-mmx qt4 quicktime sdl sse sse2 swfdec vorbis xine xml lua python ruby vdpau" # java perl php tcl
-
-RDEPEND="ffmpeg? ( virtual/ffmpeg[vdpau?] )
- dv? ( >=media-libs/libdv-0.104 )
- xml? ( >=dev-libs/libxml2-2.5 )
- vorbis? ( >=media-libs/libvorbis-1.1.2 )
- sdl? ( >=media-libs/libsdl-1.2.10
- >=media-libs/sdl-image-1.2.4 )
- libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
- jack? ( media-sound/jack-audio-connection-kit
- media-libs/ladspa-sdk
- >=dev-libs/libxml2-2.5 )
- frei0r? ( media-plugins/frei0r-plugins )
- gtk? ( x11-libs/gtk+:2
- media-libs/libexif
- x11-libs/pango )
- quicktime? ( media-libs/libquicktime )
- swfdec? ( media-libs/swfdec )
- xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
- qt4? ( x11-libs/qt-gui:4 x11-libs/qt-svg:4 media-libs/libexif )
- !media-libs/mlt++
- lua? ( >=dev-lang/lua-5.1.4-r4 )
- ruby? ( dev-lang/ruby )"
-# sox? ( media-sound/sox )
-# java? ( >=virtual/jre-1.5 )
-# perl? ( dev-lang/perl )
-# php? ( dev-lang/php )
-# tcl? ( dev-lang/tcl )
-
-SWIG_DEPEND=">=dev-lang/swig-2.0"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- compressed-lumas? ( || ( media-gfx/imagemagick[png]
- media-gfx/graphicsmagick[imagemagick,png] ) )
- lua? ( ${SWIG_DEPEND} virtual/pkgconfig )
- python? ( ${SWIG_DEPEND} )
- ruby? ( ${SWIG_DEPEND} )"
-# java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 )
-# perl? ( ${SWIG_DEPEND} )
-# php? ( ${SWIG_DEPEND} )
-# tcl? ( ${SWIG_DEPEND} )
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.7.2-ruby-link.patch \
- "${FILESDIR}"/${PN}-0.7.6-ffmpeg.patch
- # respect CFLAGS LDFLAGS when building shared libraries. Bug #308873
- for x in python lua; do
- sed -i "/mlt.so/s: -lmlt++ :& ${CFLAGS} ${LDFLAGS} :" src/swig/$x/build || die
- done
- sed -i "/^LDFLAGS/s: += :& ${LDFLAGS} :" src/swig/ruby/build || die
-}
-
-src_configure() {
- tc-export CC CXX
-
- local myconf="--enable-gpl
- --enable-motion-est
- $(use_enable debug)
- $(use_enable dv)
- $(use_enable sse)
- $(use_enable sse2)
- $(use_enable swfdec)
- $(use_enable gtk gtk2)
- $(use_enable vorbis)
- $(use_enable sdl)
- $(use_enable jack jackrack)
- $(use_enable ffmpeg avformat)
- $(use_enable frei0r)
- $(use_enable melt)
- $(use_enable libsamplerate resample)
- $(use vdpau && echo ' --avformat-vdpau')
- $(use_enable xml)
- $(use_enable xine)
- $(use_enable kde kdenlive)
- $(use_enable qt4 qimage)
- --disable-sox"
- #$(use_enable sox) FIXME
-
- use ffmpeg && myconf="${myconf} --avformat-swscale"
-
- (use quicktime && use dv) || myconf="${myconf} --disable-kino"
-
- use compressed-lumas && myconf="${myconf} --luma-compress"
-
- ( use x86 || use amd64 ) && \
- myconf="${myconf} $(use_enable mmx)" ||
- myconf="${myconf} --disable-mmx"
-
- use melt || sed -i -e "s;src/melt;;" Makefile
-
- # TODO: add swig language bindings
- # see also http://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
-
- local swig_lang
- # TODO: java perl php tcl
- for i in lua python ruby ; do
- use $i && swig_lang="${swig_lang} $i"
- done
- [ -z "${swig_lang}" ] && swig_lang="none"
-
- econf ${myconf} --swig-languages="${swig_lang}"
- sed -i -e s/^OPT/#OPT/ "${S}/config.mak"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README docs/*.txt
-
- dodir /usr/share/${PN}
- insinto /usr/share/${PN}
- doins -r demo
-
- docinto swig
-
- # Install SWIG bindings
- if use lua; then
- cd "${S}"/src/swig/lua
- exeinto $(pkg-config --variable INSTALL_CMOD lua)
- doexe mlt.so || die
- dodoc play.lua
- fi
-
- if use python; then
- cd "${S}"/src/swig/python
- insinto $(python_get_sitedir)
- doins mlt.py || die
- exeinto $(python_get_sitedir)
- doexe _mlt.so || die
- dodoc play.py
- fi
-
- if use ruby; then
- cd "${S}"/src/swig/ruby
- exeinto $("${EPREFIX}"/usr/bin/ruby -r rbconfig -e 'print Config::CONFIG["sitearchdir"]')
- doexe mlt.so || die
- dodoc play.rb thumbs.rb
- fi
- # TODO: java perl php tcl
-}
-
-pkg_postinst() {
- if use python; then
- python_mod_optimize mlt.py
- fi
-}
-
-pkg_postrm() {
- if use python; then
- python_mod_cleanup mlt.py
- fi
-}
diff --git a/media-libs/mlt/mlt-0.7.8.ebuild b/media-libs/mlt/mlt-0.7.8.ebuild
index cdfd7f560e44..04ad8841838e 100644
--- a/media-libs/mlt/mlt-0.7.8.ebuild
+++ b/media-libs/mlt/mlt-0.7.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.7.8.ebuild,v 1.4 2012/05/05 08:02:35 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.7.8.ebuild,v 1.5 2012/05/16 08:21:59 scarabeus Exp $
EAPI=4
PYTHON_DEPEND="python? 2:2.6"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="compressed-lumas dv debug ffmpeg frei0r gtk jack kde libsamplerate melt
mmx qt4 quicktime rtaudio sdl sse sse2 swfdec vorbis xine xml lua python ruby vdpau" # java perl php tcl
IUSE="${IUSE} kernel_linux"