diff options
author | Ben de Groot <yngwin@gentoo.org> | 2012-07-14 13:52:07 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2012-07-14 13:52:07 +0000 |
commit | d8330672865832c2bc29556bc2bf890b8151763e (patch) | |
tree | 3e184f11e7ac41b09f0f902908212f0dfd314b62 /media-libs/mlt | |
parent | arm stable, bug #416233 (diff) | |
download | historical-d8330672865832c2bc29556bc2bf890b8151763e.tar.gz historical-d8330672865832c2bc29556bc2bf890b8151763e.tar.bz2 historical-d8330672865832c2bc29556bc2bf890b8151763e.zip |
Version bump, bug #420647
Package-Manager: portage-2.2.0_alpha118/cvs/Linux x86_64
Diffstat (limited to 'media-libs/mlt')
-rw-r--r-- | media-libs/mlt/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/mlt/Manifest | 34 | ||||
-rw-r--r-- | media-libs/mlt/mlt-0.8.0.ebuild | 176 |
3 files changed, 190 insertions, 28 deletions
diff --git a/media-libs/mlt/ChangeLog b/media-libs/mlt/ChangeLog index ae42d1d81632..93a3875aa290 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.90 2012/05/16 08:21:59 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.91 2012/07/14 13:52:07 yngwin Exp $ + +*mlt-0.8.0 (14 Jul 2012) + + 14 Jul 2012; Ben de Groot <yngwin@gentoo.org> +mlt-0.8.0.ebuild: + Version bump, bug #420647 16 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> -files/mlt-0.5.4-asneeded.patch, -files/mlt-0.7.6-ffmpeg.patch, @@ -389,4 +394,3 @@ 10 Dec 2005; Luca Barbato <lu_zero@gentoo.org> +metadata.xml, +mlt-20051209.ebuild: First commit - diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest index 92f28df36684..5f1f8b8a6e21 100644 --- a/media-libs/mlt/Manifest +++ b/media-libs/mlt/Manifest @@ -1,26 +1,8 @@ ------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.8-libavcodec54.patch 677 RMD160 652a958bfba65d621aa321a14eb185c3a32d9ff5 SHA1 638358345e1a8e67ed0fa16d46ed3362ae1740c8 SHA256 ad720784b728699eada59f44be2f63a834b16ce076acce36f7f74bba1b55b125 -DIST mlt-0.7.8.tar.gz 1106625 RMD160 8edaeba84ca91b002c85e8582b7b0fa8d0286a86 SHA1 2d55b16918284ffadd5eae6eed1c5f0a12669d32 SHA256 95833b2746e2d71dd42f6163e1a5d863c7d4772cc344a840f5555d0dc1946e43 -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----- +AUX mlt-0.7.2-ruby-link.patch 680 SHA256 fbcf41da78bc150afd2fcc5394eda2022d2c19d7b1cb788910b443b64d0cdd56 SHA512 ef0dceab4355e56eeb2b812d05a9a9c4855b3af2d6a8a27f8b0ee63ea0158a31c187858dc6c7a5e570711322e62adde9d86bcb6c361d55862ebeacedc60cb287 WHIRLPOOL 4474b009e35b30c20f206bf2ae6d06d5eac694768dead867b03ff3b9ddab8f6884959e8c3a730c8068c9cce783dc6dee227b9ead890df5bde531210e7321fcc0 +AUX mlt-0.7.8-libavcodec54.patch 677 SHA256 ad720784b728699eada59f44be2f63a834b16ce076acce36f7f74bba1b55b125 SHA512 79a2b3b22841d137b4add9b15437f11f6a8e66d2d3aad41f2ddcfd16c30571f54c2cfea7865b291232a8e047295202321b3a75dd5007ba361cd43958ab6c0f1d WHIRLPOOL fb337266f91f0d71790ba5815bf74fd3a49080f9c9b95f362ab3d48224c3dd5afaacf25fdb69e56ad63e7e1fefa000af62e3c9c8217f7a18364eb4f1542b4bd9 +DIST mlt-0.7.8.tar.gz 1106625 SHA256 95833b2746e2d71dd42f6163e1a5d863c7d4772cc344a840f5555d0dc1946e43 +DIST mlt-0.8.0.tar.gz 1143227 SHA256 7bd07b392663b33a0408c900117b2e431c93e5f29394578cfbeff7b26a0cc6dd SHA512 532a408895e2b8d9647306777e304536073ae43d1a14b8392b6220186f94cd29a11079917dcb28a981fefa5d7e0e3cc1e0dddda448ef0a2994afc5084d560514 WHIRLPOOL 0d2e4a42a5af847164fd280145dd89a7368e4d5d2f19050f787d39cc5c643770f174bb053e132b7b04e3ff23707162a106c2f28a1000cd63e1b529d37b680517 +EBUILD mlt-0.7.8.ebuild 4811 SHA256 ef8a2b0e420860011264cb640ae23e1c0cd8ba84325e86815a816610bda7cdcf SHA512 404bc35fc20f15d7d47224d236a713324f6ef67f11a8933ce3cd9b2a1138de009ac263b47647a367ccc1e67918c212263c11602d19d722619cb3c38ed653d4a4 WHIRLPOOL 5d80b630c7e762768ffaa38e27fdbb6f9a107b1d56c25cb641f1bc6e5eff5eb9a0c0cabcfcfd4666b35ec1955929407a62281b0ea7b677883a7c98c9ea4ccb50 +EBUILD mlt-0.8.0.ebuild 4810 SHA256 bb8082d91fce8bfd811fd11dd9adb15e2cfe6297e7359174639edddf99454df6 SHA512 2222d49142f1d4f6fd54d89a6747620fde2b405d5edf5eacad66b243826c66019d2572047bce6964a2d28a85291740ba4352a5108ca63c8cf8b664446ed2e5f0 WHIRLPOOL e58dc423c78a57aae0acf823b895a8cee52eff1f4b99ad00cd49704728008f6a3614ba803a95cf43103538f174f991dc8af38dcf317677466d209c71b8d6eb2a +MISC ChangeLog 14197 SHA256 03d43e86ceb569a564343934014d94be9a4dc0167d235880d4cb06f85e6ef0f0 SHA512 ad6bb04e6ef062a720ca54912a4f37bef82efe6698ccabf55a033b86c32c6ca1dbbce69210509c6c9b308b712863b30ad4beffe0ee3e8d2efcf779c2f68e783f WHIRLPOOL 07052378fd8cb75e7becc17bdc3940371dfbea6c9f0586b4777aa8dc20f43c0f3f29e5e954141da749a49719320efe0d760c34057f0bbd1e0eee85ee3fae4b74 +MISC metadata.xml 1130 SHA256 fbd5e5c1f43b4e3729ffb08a460281d9214e2ce42b2ff0b24f6ace960e65f48a SHA512 38addd8066df26e66b903c70f87fa48309024abde4373b3539ea2f98344b42f9d57fe4f313d83962f010858e51a4f9cfa6ca2b35f441a5b6280cd24877be2411 WHIRLPOOL cbe57172a822b724d0d9a2fcb9c2a88df1de8fdbcb79941664cf0925203cfe29f2a156a815629708319bd23b0f8f28c533bdc6d8b0c91d41f95b38d6758e42c8 diff --git a/media-libs/mlt/mlt-0.8.0.ebuild b/media-libs/mlt/mlt-0.8.0.ebuild new file mode 100644 index 000000000000..8baaf32aa46a --- /dev/null +++ b/media-libs/mlt/mlt-0.8.0.ebuild @@ -0,0 +1,176 @@ +# 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.8.0.ebuild,v 1.1 2012/07/14 13:52:07 yngwin 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 rtaudio sdl sse sse2 swfdec vorbis xine xml lua python ruby vdpau" # java perl php tcl +IUSE="${IUSE} kernel_linux" + +#rtaudio will use OSS on non linux OSes +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 ) + rtaudio? ( kernel_linux? ( media-libs/alsa-lib ) ) + 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.8-libavcodec54.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_enable rtaudio) + $(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 +} |