diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-05-16 21:45:27 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-05-16 21:45:27 +0000 |
commit | ee47d5b13dc5106da95d8bd740b7f054ef552957 (patch) | |
tree | 43d4499a4e6b5722545e16368ea7d8a21ef4e25a /media-libs/mlt | |
parent | Removed pmask of sys-apps/linux-gpib, seems to work fine (diff) | |
download | historical-ee47d5b13dc5106da95d8bd740b7f054ef552957.tar.gz historical-ee47d5b13dc5106da95d8bd740b7f054ef552957.tar.bz2 historical-ee47d5b13dc5106da95d8bd740b7f054ef552957.zip |
version bump
Package-Manager: portage-2.2.0_alpha33/cvs/Linux x86_64
Diffstat (limited to 'media-libs/mlt')
-rw-r--r-- | media-libs/mlt/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/mlt/Manifest | 14 | ||||
-rw-r--r-- | media-libs/mlt/mlt-0.7.2.ebuild | 168 |
3 files changed, 187 insertions, 2 deletions
diff --git a/media-libs/mlt/ChangeLog b/media-libs/mlt/ChangeLog index b5f26f4db23d..fceec00bc250 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.70 2011/03/27 09:42:58 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.71 2011/05/16 21:45:27 aballier Exp $ + +*mlt-0.7.2 (16 May 2011) + + 16 May 2011; Alexis Ballier <aballier@gentoo.org> +mlt-0.7.2.ebuild: + version bump 27 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> +files/mlt-0.5.4-asneeded.patch: diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest index 0e9d90c36dd9..9a8f469d22b8 100644 --- a/media-libs/mlt/Manifest +++ b/media-libs/mlt/Manifest @@ -1,5 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX mlt-0.5.4-asneeded.patch 338 RMD160 1fd1f17c6461fa518a621064a9d1f5a981e94059 SHA1 06784b1c39a9766e45c9b29e9c7a03916472e21e SHA256 9331f20822eb6cb0ed7e20952b0e37cb3e9a5df0203d1ab6361b4289a6c0cba8 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 EBUILD mlt-0.5.10.ebuild 4456 RMD160 d8caa63396701fbf34f00d1c3435b80c2e34a59e SHA1 05ff0316c1ca33a1a08b48239d693855334dfef2 SHA256 679a3206e4eb1efd3fe60e86f730fd2b85a6c1645ebcafcd4482c5d651d16b45 -MISC ChangeLog 11078 RMD160 7fe23ab96cec015775682bdbd6d1e0988f4eb9f4 SHA1 995dd2da12188222398c4ac45060cf25046df0a2 SHA256 26a7f19b7c4b4441d5c88c94e139a31c6f6e0cc3ed3bc084708419d279026efa +EBUILD mlt-0.7.2.ebuild 4456 RMD160 5fd9f07fbf42458c955aa068aaa90fdea183e69d SHA1 0cf3be5ca4dca1d2b412c493f541cabbeccb9b79 SHA256 fe17b3cf3c28b850f3272999f63481aa4b05ed158ee3522bc916c298c106bd3f +MISC ChangeLog 11190 RMD160 7ec2d860feb04971d254ff337ff1f924f7e3ef19 SHA1 b246b81c575a34c03caea079185de0f2852959e9 SHA256 68ea261bdf65022c71c00e992c09ae01eebd10fea895f35892836ae1f9a4da22 MISC metadata.xml 902 RMD160 9cbaf3b801eeda6ba3733ffdc947eec947c9c905 SHA1 564c50101ea02bc5b3adc1c94a59962e8652e4f5 SHA256 42ad9c42cec4fbde252f7bfb7656012f7b452525679de4a644697bcbea73b7e6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk3Rmv0ACgkQvFcC4BYPU0rKKACcD5smkCBV7JXyYm6qElKwYZ9C +Z8wAoL9Yg8Ada6AJqyX8N1tZbdXQ0f/a +=XCzj +-----END PGP SIGNATURE----- diff --git a/media-libs/mlt/mlt-0.7.2.ebuild b/media-libs/mlt/mlt-0.7.2.ebuild new file mode 100644 index 000000000000..405fb0e28518 --- /dev/null +++ b/media-libs/mlt/mlt-0.7.2.ebuild @@ -0,0 +1,168 @@ +# 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.2.ebuild,v 1.1 2011/05/16 21:45:27 aballier 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} + 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 +} + +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 +} |