summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-07-05 22:43:39 +0000
committerBen de Groot <yngwin@gentoo.org>2009-07-05 22:43:39 +0000
commitec16397abd23714a3218d6d38ef5d3bbe2b2c2d1 (patch)
tree8a3ebc9f15cf5fe00dfea3da062c535e5a0ba74c /media-libs/mlt
parentAdd media-libs/mlt[frei0r] to package.use.mask on powerpc and x86-fbsd (diff)
downloadhistorical-ec16397abd23714a3218d6d38ef5d3bbe2b2c2d1.tar.gz
historical-ec16397abd23714a3218d6d38ef5d3bbe2b2c2d1.tar.bz2
historical-ec16397abd23714a3218d6d38ef5d3bbe2b2c2d1.zip
Version bump. See ChangeLog for changes.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-libs/mlt')
-rw-r--r--media-libs/mlt/ChangeLog14
-rw-r--r--media-libs/mlt/Manifest16
-rw-r--r--media-libs/mlt/metadata.xml2
-rw-r--r--media-libs/mlt/mlt-0.4.4.ebuild122
4 files changed, 141 insertions, 13 deletions
diff --git a/media-libs/mlt/ChangeLog b/media-libs/mlt/ChangeLog
index 364efef3a9f2..577a12ddfbc7 100644
--- a/media-libs/mlt/ChangeLog
+++ b/media-libs/mlt/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for media-libs/mlt
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.43 2009/06/18 09:08:04 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.44 2009/07/05 22:43:39 yngwin Exp $
+
+*mlt-0.4.4 (05 Jul 2009)
+
+ 05 Jul 2009; Ben de Groot <yngwin@gentoo.org> +mlt-0.4.4.ebuild,
+ metadata.xml:
+ Version bump. Ebuild changes:
+ - disabled sox useflag, as that module fails to compile
+ - added frei0r useflag, as frei0r-plugins is in portage now
+ - prefer qt4 over qt3, upstream does this as well
+ - dropped nostrip patch which has been applied upstream
+ - migrate to eapi-2
+ - make melt optional with a useflag, workaround for bug 274671
18 Jun 2009; Alexis Ballier <aballier@gentoo.org> mlt-0.4.2.ebuild:
keyword ~x86-fbsd
diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest
index 40b55b4079bf..7a19e9c55006 100644
--- a/media-libs/mlt/Manifest
+++ b/media-libs/mlt/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX mlt-0.2.3-nostrip.patch 1763 RMD160 958ea322e598e286dc9adcc6ba509c7b2eeae5b2 SHA1 8a24c74980b8cdefb19164a4c6a36217b23244dd SHA256 1e0945b45245c297464e845bf6409a91582d288047b2b511357ead52be70fceb
AUX mlt-0.3.6-qimage.patch 706 RMD160 b7d2ee57ed6b14678d402d28531d411b1418700a SHA1 4571bfacd0317d8b90244d0343727ab6939815f3 SHA256 8c30ece5d14202867441773ad93c61b2ee84d1afdcb3f009582ce48522c0e527
AUX mlt-0.3.8-as-needed.patch 2262 RMD160 e98ebf835f23b25297ba97f14eff7ac9dedbedf6 SHA1 836dff43ace64398fbb23c43ae7cf98fb0bc9907 SHA256 9957757c36916e5732bdba1f8787f4ce3b829e25c4f00bdbf7b116c77514959f
AUX mlt-0.4.2-nostrip.patch 410 RMD160 0046bbbf566eb09e71f63b80a1351546e1ae8deb SHA1 4b572ceb756b087ca9e7d1ad0a409e2ee6c5c9b7 SHA256 fac28677fde3f4d53d2ab7095536e08895525fd2d8c49525b31ce6c8e396eef1
DIST mlt-0.3.8.tar.gz 765811 RMD160 c8c67f23cd519414f6410ee02c1c37704facf180 SHA1 b3e114b343fb825df292d8343850512d631dea23 SHA256 cea314c08cf2a9256ef50f9cd09202f1c8c778ad278c324112e3c8a9d3b28e24
DIST mlt-0.4.2.tar.gz 734746 RMD160 120d00d39fd4f6c2450a6fceddc7273e4216b4cb SHA1 1db97316f9d3dc0fead9ac94fd036c1399a7a4d2 SHA256 069abee48f9400ad8af0b63a55811d666a2e049221523e434b59d53908619b04
+DIST mlt-0.4.4.tar.gz 737592 RMD160 12fc11fb2a38fb03d973ae4f35306127289fdbf7 SHA1 0883bffcae30d556e1dbc6a500ee92a8b69f110b SHA256 ae367a07122f042f8af4d30101444862c6b50781e563ea0f171652a8b379b4df
EBUILD mlt-0.3.8-r1.ebuild 3322 RMD160 c3b2c09aa17b26b4f6db623bad3af75d2a75470f SHA1 3bf50eb849ed08003503419715e6bf059d39d425 SHA256 137de4bc429670058fe8873edd3571f6751f3fd8902920845ec1f77f345a3706
EBUILD mlt-0.4.2.ebuild 3298 RMD160 a377f8b86ab10d1669f249b77bd7b1eacbcaafbb SHA1 e818c725336c2d5784b160d2dc57be4d0f83c977 SHA256 78ba22db1b41b2ca464c5b1b974a0680a94af874619c389085e1540acea19c55
-MISC ChangeLog 7049 RMD160 3df1bd2eabbd41c1978fdb2d7d9a97db65faf282 SHA1 7cbfefba6b0709a1599034d9452cac8fe9d66149 SHA256 288ec2f1733f71aa6847cdd9041c3a349c908b54c30a29ba605e922f749b78fc
-MISC metadata.xml 309 RMD160 eda168c8e7d4d6351c0d68920f9a16fc7be98faa SHA1 75c4b1dacecba9d2b7613a25b9477d8bc0c19631 SHA256 dfe032959539b7a48f33ab6520dde1814e062ce636efc4be8795cc480b90ead7
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAko6A/oACgkQvFcC4BYPU0raowCgpm68hms0mvPbrQrdq08tRgPR
-8+sAn2GOfiBIXnTC7cK2pAFelBwUYCAb
-=Jvn6
------END PGP SIGNATURE-----
+EBUILD mlt-0.4.4.ebuild 3319 RMD160 ea60ef36db210d1a8bf7a2a91eae57bece615e45 SHA1 8537606b053fb7e7be197c8e78a83f35cc25d1e1 SHA256 451af50147e8592a09f989962742cddcd4482b3deb6d05b1d41a8ba3a1cfce2d
+MISC ChangeLog 7506 RMD160 1bd1bea18f6549de8e4f1a81336b5908d433c39a SHA1 8c877abdf996eb15249262e2a7ae6ae155ed3223 SHA256 9cc520f0b296878a1cec1a3611272d7cc628068f09cc1a88851c9d0b27b987eb
+MISC metadata.xml 456 RMD160 20e528d73a39c14e3ac84eb69b676f2febbd60e0 SHA1 81d945b1bd487ca601d287f71d7aef202e42b905 SHA256 a32f98feeee64c7130aebcb31f5cee720b32c562ac8b724affbe2c5257769ef2
diff --git a/media-libs/mlt/metadata.xml b/media-libs/mlt/metadata.xml
index 081f091644b2..0e7301461019 100644
--- a/media-libs/mlt/metadata.xml
+++ b/media-libs/mlt/metadata.xml
@@ -7,6 +7,8 @@
</maintainer>
<use>
<flag name="compressed-lumas">Compress the luma files in png.</flag>
+ <flag name="frei0r">Build the module for <pkg>media-plugins/frei0r-plugins</pkg></flag>
+ <flag name="melt">Build the melt commandline tool</flag>
</use>
</pkgmetadata>
diff --git a/media-libs/mlt/mlt-0.4.4.ebuild b/media-libs/mlt/mlt-0.4.4.ebuild
new file mode 100644
index 000000000000..15928729f135
--- /dev/null
+++ b/media-libs/mlt/mlt-0.4.4.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.4.4.ebuild,v 1.1 2009/07/05 22:43:39 yngwin Exp $
+
+EAPI="2"
+
+inherit kde-functions eutils toolchain-funcs multilib
+
+DESCRIPTION="An open source multimedia framework, designed and developed for television broadcasting"
+HOMEPAGE="http://mlt.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="compressed-lumas dv debug ffmpeg frei0r gtk jack kde libsamplerate melt
+mmx qt3 qt4 quicktime sdl sse vorbis xine xml"
+
+RDEPEND="ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
+ 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? ( qt3? ( x11-libs/qt:3
+ kde? ( kde-base/kdelibs:3.5 ) ) )
+ qt4? ( x11-libs/qt-gui:4 )
+ !media-libs/mlt++"
+# sox? ( media-sound/sox )
+
+DEPEND="${RDEPEND}
+ compressed-lumas? ( media-gfx/imagemagick )"
+
+#pkg_setup() {
+# local fail="USE sox needs also USE libsamplerate enabled."
+#
+# if use sox && ! use libsamplerate; then
+# eerror "${fail}"
+# die "${fail}"
+# fi
+#}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.3.6-qimage.patch
+}
+
+src_configure() {
+ tc-export CC
+
+ local myconf=" --enable-gpl
+ --enable-motion-est
+ $(use_enable debug)
+ $(use_enable dv)
+ $(use_enable sse)
+ $(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)
+ --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 && myconf="${myconf} $(use_enable mmx)"
+
+ if use qt3; then
+ myconf="${myconf} --disable-kdenlive"
+ else
+ myconf="${myconf} $(use_enable kde kdenlive)"
+ fi
+
+ if use qt4; then
+ myconf="${myconf} --qimage-libdir=/usr/$(get_libdir)/qt4
+ --qimage-includedir=/usr/include/qt4"
+ elif use qt3; then
+ myconf="${myconf} --qimage-libdir=$QTDIR/$(get_libdir)
+ --qimage-includedir=$QTDIR/include"
+ if use kde; then
+ # compile extra image formats using kde
+ set-kdedir 3.5
+ myconf="${myconf} --kde-libdir=$KDEDIR/$(get_libdir)
+ --kde-includedir=$KDEDIR/include"
+ fi
+ else
+ myconf="${myconf} --disable-qimage"
+ fi
+
+ # TODO: add swig language bindings
+ # see also http://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
+
+ econf ${myconf}
+ sed -i -e s/^OPT/#OPT/ "${S}/config.mak"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc docs/*.txt ChangeLog README docs/TODO
+
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+ doins -r demo
+}