summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2011-10-31 21:55:14 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2011-10-31 21:55:14 +0000
commitb3d25ce2d2ab88c885d0d7fb22ff3a8c7f774b8b (patch)
tree2ea3e8d663aa0c60d9b5d580412c9dd056ca7831 /media-libs/mlt
parentUpdate LICENSE. Fix dependencies (bug #376623). Patch by Arfrever (diff)
downloadhistorical-b3d25ce2d2ab88c885d0d7fb22ff3a8c7f774b8b.tar.gz
historical-b3d25ce2d2ab88c885d0d7fb22ff3a8c7f774b8b.tar.bz2
historical-b3d25ce2d2ab88c885d0d7fb22ff3a8c7f774b8b.zip
Version bump
Package-Manager: portage-2.1.10.32/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/mlt-0.7.6.ebuild169
3 files changed, 191 insertions, 15 deletions
diff --git a/media-libs/mlt/ChangeLog b/media-libs/mlt/ChangeLog
index 73548f1ff3aa..5bc97b2967b9 100644
--- a/media-libs/mlt/ChangeLog
+++ b/media-libs/mlt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/mlt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.73 2011/10/30 15:23:55 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.74 2011/10/31 21:55:14 dilfridge Exp $
+
+*mlt-0.7.6 (31 Oct 2011)
+
+ 31 Oct 2011; Andreas K. Huettel <dilfridge@gentoo.org> +mlt-0.7.6.ebuild:
+ Version bump
30 Oct 2011; Andreas K. Huettel <dilfridge@gentoo.org> mlt-0.7.2.ebuild,
+files/mlt-0.7.2-ruby-link.patch:
diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest
index 6148b580eea3..54536df2bb0a 100644
--- a/media-libs/mlt/Manifest
+++ b/media-libs/mlt/Manifest
@@ -5,24 +5,26 @@ AUX mlt-0.5.4-asneeded.patch 338 RMD160 1fd1f17c6461fa518a621064a9d1f5a981e94059
AUX mlt-0.7.2-ruby-link.patch 680 RMD160 f63b85806e58561e43ffad0162393ea77e01e728 SHA1 7bb51abe6dd716369f39272867eb242b1cb42e29 SHA256 fbcf41da78bc150afd2fcc5394eda2022d2c19d7b1cb788910b443b64d0cdd56
DIST mlt-0.5.10.tar.gz 819471 RMD160 015053ddb98175adc905d2ccf29ae962f295a9bb SHA1 e0b3d8f77ad6d97d6495614e78dfbbb531e70f77 SHA256 106636540cdf44f670937b8df549ea2c988a27d05e14d4a8670f9b6af5a0d19e
DIST mlt-0.7.2.tar.gz 901572 RMD160 50d4e7601338a94bf30eac78d0b39422bf4f522e SHA1 ada5bbe9c5d38ff2f42a5d89c0cdb5a56586a699 SHA256 4b6212b6ab137220af93333195ae5deee4bf7b294d680b43b1b074a4c63e0131
+DIST mlt-0.7.6.tar.gz 1024353 RMD160 898256dfbbda158f51796a7d4468a6a54b9b246d SHA1 f23c8bddb9b1f406c3cfcd155e74f8d9d37b5120 SHA256 f8ea8590417ea2b5543a495f2edc30636d3931932deee7a4e0d8516e9c2b58ae
EBUILD mlt-0.5.10.ebuild 4456 RMD160 d8caa63396701fbf34f00d1c3435b80c2e34a59e SHA1 05ff0316c1ca33a1a08b48239d693855334dfef2 SHA256 679a3206e4eb1efd3fe60e86f730fd2b85a6c1645ebcafcd4482c5d651d16b45
EBUILD mlt-0.7.2.ebuild 4455 RMD160 bfbc23069c4183f4d6a176a15d69663debd83b37 SHA1 c8435964f048bf9f012c91bd2c1e6abb565ebe4c SHA256 1191921ef3836e87f8f7af4f74e6fecd212745dde2b384ae452b8b29d4a042b6
-MISC ChangeLog 11463 RMD160 90f4b94a82d0c9862bab61dac321bff2f69b2498 SHA1 81de45ae9ad1ba90eaaee96ce3bb5d94094c7cdc SHA256 bcb4cd9d1ba184a57fbfba1220401203cd2af5465f552db049c2f6dbad6dcb5c
+EBUILD mlt-0.7.6.ebuild 4466 RMD160 b60703f14ebd5c1bb558bd23009448d0b7b19360 SHA1 8ede6899b4cfb64422164d812b951308d70eb9cb SHA256 e23b3ef59c3aa68c35a6e3046cb312f8af10f4556cb73819027d363fdcd04e57
+MISC ChangeLog 11581 RMD160 d3b8b19880675828c023ca47f2edd1fc21e03a98 SHA1 92154a187d0543ee789c42a99b96795861f46dbb SHA256 6da677a0c180c5a8391b658865d2de4ed93ae00a71f2a3ed563f9a25fb900829
MISC metadata.xml 902 RMD160 9cbaf3b801eeda6ba3733ffdc947eec947c9c905 SHA1 564c50101ea02bc5b3adc1c94a59962e8652e4f5 SHA256 42ad9c42cec4fbde252f7bfb7656012f7b452525679de4a644697bcbea73b7e6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCgAGBQJOrWwbAAoJENwGBM22xffehxkP/0qI6gi2OE9UPf1d/euHLYM8
-nIY529L2bFjJHJxkJZ9VvjnooGf56PGSaD88DMhbVSgDANKGQgzhpW10sapNBu1W
-ETpQ2lRnO6lUXRkUd08dYIn8PkljcRABDsig3pwdki1Y8N3s9Y2ktia5/NanLMQA
-t8/nP7UPVba/EaQPivxguCqG8ej28sPZ3KcFvR+EyCACvwyfVi7CxIWc+2z47H5q
-h6mW2kIEx/qj/3I5AOcQxn4VDLVWsyU3G072LlGYpGtc47snYyAfnoTiqXajHzNm
-FlPmbgfO1zW/wkuzYYeCrRHqL/qlfv78UBV/YemagPQCDvVo4xyBthZtkgWQATw8
-MPiNpnKWM/iqmA58HMeG1DezTI5ujID+lNS4PyF6AcniYPyeUZZIlwwLJesLUwLF
-u1Uyb2yaXPYa59ybv9d8vtkwc8v18O9xL4NRR1Jy3OFPlqnJHH9Egt0QfuvrVsmP
-X1kViVDa6M2kQgMyDJd7bgBbS93D5g4W53a5F7wx9cyjMe1gnohqSY4N6D9kzfdH
-3vwOjxSdCMKTL34m8bb0W94eAsiVgHokUQNgakcuW6IJLLRjO93m+xMGGKKyXA3+
-MA8PNDVajgXBUSfzRCXL1gqBoDP6hRo4juGe8Vg7fA9dvwUddCbr0patIaQasXIM
-lG7qxyecI8f+T6RK+bMf
-=BWK0
+iQIcBAEBCgAGBQJOrxlTAAoJENwGBM22xffepPkP/jIH1EAu6d5HvdwHHXOZjoht
+TE44f8ahC/FKh2MSKcLBdGuLcxvqI27AueVMyAVn77/cM0QT5uraFMmW6URMp2zh
+xXoF3I8iJjoW4TgyiBVt32l23Kc9JPpPcWezvWND+7jytlS6vynYsIoJi+3GYQUb
+cWmw8AMZeARr9N0L5cseCr21qN158Cs1SGsmNMzhhhUx/nkUI6e9o1UtaP92aYqr
+P5TBlMULi7GsSubbmBvGh66k4pO0BvaKpZ0McMSpnFGZsxdOtbsj6a9AW74j1Koc
+2wANrvHsWwT5F7KWaTYfF8xDuxsA7g03yQVIIHsTgwI0A6o280fAl6RlPG7iRKwt
+oPsuc7w6GQNDAa5C1Q9WaPONaP74AftH9M/AC1NdJefSlLWHAfcy8M22O8rY8Jcq
+B1mxoFrl/sOaYdh9KCIufvgrM00RJ57nrdchrnMkx+4sQILbo1CB7Gj9Xy3s1NVS
+1m1HwC7kF0mTsVJfICwHFj28AfhYhvXkEwT9qsBQuq5aBGifWLnRz8uRPYiM6WZX
+CDlMK+tFnIUmH23DPJhcPYBIBKOSPHSkrm7VlgXYXZuHn6acfaPwgJjHpWPq0VOp
+P1FBMErSWrLwBq+9k4RWsOgbjuzW9JUZCP3rO9FUN+NgXUZASCf3dFcF9O5wFCB0
+YC3k7cwxKr014CDEfmo3
+=+BLd
-----END PGP SIGNATURE-----
diff --git a/media-libs/mlt/mlt-0.7.6.ebuild b/media-libs/mlt/mlt-0.7.6.ebuild
new file mode 100644
index 000000000000..255677ac92be
--- /dev/null
+++ b/media-libs/mlt/mlt-0.7.6.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2011 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.ebuild,v 1.1 2011/10/31 21:55:14 dilfridge 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 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-2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ compressed-lumas? ( || ( media-gfx/imagemagick
+ media-gfx/graphicsmagick[imagemagick] ) )
+ lua? ( ${SWIG_DEPEND} dev-util/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
+ # 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/*.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
+}