diff options
author | Ben de Groot <yngwin@gentoo.org> | 2013-01-27 09:43:29 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2013-01-27 09:43:29 +0000 |
commit | 516cc7ff5fc26626d2312add0440404f731c580f (patch) | |
tree | fcd7db704d2580f4d3bff34c7f05a98a9aedfb5c /media-libs/mlt | |
parent | Fix out of prefix install, bug #453884 (diff) | |
download | historical-516cc7ff5fc26626d2312add0440404f731c580f.tar.gz historical-516cc7ff5fc26626d2312add0440404f731c580f.tar.bz2 historical-516cc7ff5fc26626d2312add0440404f731c580f.zip |
version bump, bug #454246
Package-Manager: portage-2.2.0_alpha161/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 | 4 | ||||
-rw-r--r-- | media-libs/mlt/mlt-0.8.8.ebuild | 181 |
3 files changed, 190 insertions, 2 deletions
diff --git a/media-libs/mlt/ChangeLog b/media-libs/mlt/ChangeLog index f59cd51d7ee4..db13455195b4 100644 --- a/media-libs/mlt/ChangeLog +++ b/media-libs/mlt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/mlt # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.100 2013/01/20 18:39:53 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.101 2013/01/27 09:43:25 yngwin Exp $ + +*mlt-0.8.8 (27 Jan 2013) + + 27 Jan 2013; Ben de Groot <yngwin@gentoo.org> +mlt-0.8.8.ebuild: + version bump, bug #454246 *mlt-0.8.6-r1 (20 Jan 2013) diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest index 660824a06ba8..de77c1ddb536 100644 --- a/media-libs/mlt/Manifest +++ b/media-libs/mlt/Manifest @@ -6,9 +6,11 @@ AUX mlt-0.8.6-ruby-link.patch 682 SHA256 2a0b7cadd8f37e2052392435ce8709e121601bf DIST mlt-0.7.8.tar.gz 1106625 SHA256 95833b2746e2d71dd42f6163e1a5d863c7d4772cc344a840f5555d0dc1946e43 SHA512 c0a91852d060cb643da488d5cb8a02b6fa10473a0adf9651446c3c3fd8c47f6dc7f615a124bed3a89dafd81dea2ecd4a0071a8068296002cec0457d61deb3b64 WHIRLPOOL b31a39a80a653f5e9f4793a163c4ae8e4dd94e59593b13eaf7ceb706ae1ff3a3e4c3b83f75ce50abd4060626b42f4488b6e9335fa42a9e3027b6704c43677576 DIST mlt-0.8.2.tar.gz 1161293 SHA256 36c743d2abc68ce737ac526507fc2caf71b3d6a53a2bf31d22e8193a8b899577 SHA512 ab71018e5a188b95d91b4aceeb4ca0dfc59d0dd981ec3e4fa220b91ce812e2c98ebad1d51998005c6bc98999c7478444c8bfd398d61bd2084ff732a1638ca6aa WHIRLPOOL 4d72efbffd2f7c77041065c948c18ccbb4a65eb7f4ec7209ccde15e142fee84c70324390bc921c0302c30ad7673336c8cf00be8c710154fe31c8a3063987622b DIST mlt-0.8.6.tar.gz 1104163 SHA256 8323e546a661942c5bb880886a949e8243f9b53082cb3464a54009280c5bbb3f SHA512 b02fb7265ec29189c8927a2f6c2b6bfdce6dba8883248d654fa422dae88b153e4493b7915f2eedfda4fe0630d64554775f176aa544dd7281ca79494ac9edf1da WHIRLPOOL 2033634ed9c53d21ae9235061310d721fbb42d946842621f6043aaea809a61cf8945b426e4677d0edac11e42d20ab30a811ce70cf2509ed551f5e25afd6bb2d2 +DIST mlt-0.8.8.tar.gz 1108652 SHA256 cc0e1cdb97a1cd59811a74553b5d3fbff590eb859c475253e188de1069ff9654 SHA512 d29d982632dec14e4397db602688816e06f095b1831514a816bc7640d574a04d3d56cc16240ea0a01229887e95c80891b87c5df981063cb2d6a14b50ff67589f WHIRLPOOL 6e5665e5b4c9471d252faea7073cfd21580e31b55941ba51a415783d79bec3d857fcd01f111da25e24551a3f03a728390e17ab9b127e1bd0977bac94c83162a5 EBUILD mlt-0.7.8.ebuild 4811 SHA256 ef8a2b0e420860011264cb640ae23e1c0cd8ba84325e86815a816610bda7cdcf SHA512 404bc35fc20f15d7d47224d236a713324f6ef67f11a8933ce3cd9b2a1138de009ac263b47647a367ccc1e67918c212263c11602d19d722619cb3c38ed653d4a4 WHIRLPOOL 5d80b630c7e762768ffaa38e27fdbb6f9a107b1d56c25cb641f1bc6e5eff5eb9a0c0cabcfcfd4666b35ec1955929407a62281b0ea7b677883a7c98c9ea4ccb50 EBUILD mlt-0.8.2.ebuild 4827 SHA256 1071e8d3642b3d454ba6dc404a1300d9068993a1b2cd260cd963f22d2892f309 SHA512 302c8e86cdea3449dff24c85fcacb837c9f76e20b85ed2e107b88f1c76259a2e816d9874ee6b99da5158207f6f07fe69eef3a8e33b02890a75733ebea70539ab WHIRLPOOL 2ec260d989c7a2e050f71f71f0ea1af1e1d981f56e032399e1bb6239092ad554fec5ef68ce43b7af7780b395e04ba1c0d3405b5861dae25c8f53683c3e4270c7 EBUILD mlt-0.8.6-r1.ebuild 4928 SHA256 51bf4a38196e31c365ba10d62d182a0e2eac30c45713c7c043be3b4edc0ceca4 SHA512 adcd0ee154bf57e09982620440c15c0efe25ac57cba3d7f1550d05d7b3cccbcb351a22f266f75524c2b783f5d562954c04b8d291ee31ad094e7650cd3a1db58e WHIRLPOOL 3a9275a3f0cd9c619013e10d36e41509eae08f2273bc26b5479bb1db894de950c9e2a0be47ef8b729731831fe331c53d756e0a9a8e659aa021fed255707ab6b5 EBUILD mlt-0.8.6.ebuild 4774 SHA256 bb03cda7bd741b5d5723aa6e852bf3a3512e7ca54eb386769f2f56076ce92c6d SHA512 bce133d7b75560d450b91339936bf7eb404a6bb35f427b30b27dd8a334dc852ab13b8c6c5c77b64f53fa8bcd81d6c6cf2670ddf867732f972c9115da5ef88666 WHIRLPOOL 538c56d15a362e99a18009631940b371d98e782ac5069b08175d0a7e4ea4ccc1f4296d1ac0e2ed43737233a26c4502af913b662ea5dad7401fa054ea10fff897 -MISC ChangeLog 15561 SHA256 165301c28eaf8552063af4d739670474e40eb0f5428e19870c8ba5d14c92a56c SHA512 e304c7fb225c735a324d97d9b533b610b3e9c241037f97b21be9915a55ff4632c6aaec3bc8fbf0255fbecc73bdb58fb51dfdb123596810cab2947acccfe2b442 WHIRLPOOL 3cd1ec5a2f2ac876f1528591949f2c975f5b08d18fbc92143feea4000adff534dd891ac6bb6f4268331717297f8361fb203de1433cd93489c2a3dd497472931e +EBUILD mlt-0.8.8.ebuild 4888 SHA256 399c86068856be2f1e81b3569a57eaee069b3ee2f9fc38b75eef6c1f62cf30c9 SHA512 41bdbdb6af7174538c9b354c103ca80389419cdb11e84aeeb4e74db64ea4bd681a050dcef266c24d0727b3d8111140c040a82fbfd9b2ee938d8436024795724c WHIRLPOOL e735ddfadc50d7c69546e63d2b21acca28b953cc4e690e8dd991e7b6802f0f02fd5e1143c8f33d89bc1b13cdd5c0003e85a2abc7a821e94590208177ec23d6c8 +MISC ChangeLog 15683 SHA256 5021fc9ad8351fc8221974af9eca2fca28783659c70394f74d1638946d9a0618 SHA512 be14f7cfa5245cd41b982bfb15f646314b4ab9fb0d95f8a303c8a16d0dd88171ab9535f3c51b5e6707f5e7cb4c72e71ad76181f51ef7102a25e63341c0a9004e WHIRLPOOL b4c938a2bf48edcd632d3162fac08f462cbd50b37b7a18cfeeada2abfd2bbf1ebdc519a2008848751be97ceebf3f0d88af109f7503ed055e296490f02eb2c41f MISC metadata.xml 1157 SHA256 08612c2ce4f642148f14f2d86c4eb8813cadabecd8e7ef3dcf13349cc3eda05a SHA512 38e69c1a4eb98dc6065bb26ae41f5bb75be53d81b3851ab3c9e83cfdb7d5e67f91c8a4d52d6ac4f5eadcaee0e3e768baee24c8d3faf2bc6579359bb89fbe53c8 WHIRLPOOL b8165ab773ae549bb89f7031f892b6ab81fedfe670f4131a0ac089373d2b520a630e101513872bf2225f3061dc0793a9b16563e3be9c9c625ef920447b6166df diff --git a/media-libs/mlt/mlt-0.8.8.ebuild b/media-libs/mlt/mlt-0.8.8.ebuild new file mode 100644 index 000000000000..de13d3426eba --- /dev/null +++ b/media-libs/mlt/mlt-0.8.8.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.8.8.ebuild,v 1.1 2013/01/27 09:43:25 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 kdenlive 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[X,opengl] + >=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 ) + kde? ( kde-base/kdelibs: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.8.6-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 || die + done + sed -i "/^LDFLAGS/s: += :& ${LDFLAGS} :" src/swig/ruby/build || die + + epatch_user +} + +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 kdenlive) + $(use_enable qt4 qimage) + --disable-sox" + #$(use_enable sox) FIXME + + use ffmpeg && myconf="${myconf} --avformat-swscale" + use kde || myconf="${myconf} --without-kde" + (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 +} |