diff options
Diffstat (limited to 'media-video/ffmpeg2theora')
-rw-r--r-- | media-video/ffmpeg2theora/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/ffmpeg2theora/ffmpeg2theora-0.25.ebuild | 39 | ||||
-rw-r--r-- | media-video/ffmpeg2theora/metadata.xml | 11 |
3 files changed, 54 insertions, 5 deletions
diff --git a/media-video/ffmpeg2theora/ChangeLog b/media-video/ffmpeg2theora/ChangeLog index bc8057c40e53..4f01c53910ce 100644 --- a/media-video/ffmpeg2theora/ChangeLog +++ b/media-video/ffmpeg2theora/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/ffmpeg2theora # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg2theora/ChangeLog,v 1.34 2009/09/07 09:06:29 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg2theora/ChangeLog,v 1.35 2009/11/19 18:36:20 spatz Exp $ + +*ffmpeg2theora-0.25 (19 Nov 2009) + + 19 Nov 2009; Dror Levin <spatz@gentoo.org> +ffmpeg2theora-0.25.ebuild, + metadata.xml: + Version bump, bug 292354. Added kate and debug USE flags and made build + respect LDFLAGS. 07 Sep 2009; Hanno Boeck <hanno@gentoo.org> ffmpeg2theora-0.24.ebuild: Latest ffmpeg has no vhost use flag. diff --git a/media-video/ffmpeg2theora/ffmpeg2theora-0.25.ebuild b/media-video/ffmpeg2theora/ffmpeg2theora-0.25.ebuild new file mode 100644 index 000000000000..f1cd19802717 --- /dev/null +++ b/media-video/ffmpeg2theora/ffmpeg2theora-0.25.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg2theora/ffmpeg2theora-0.25.ebuild,v 1.1 2009/11/19 18:36:20 spatz Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="A simple converter to create Ogg Theora files." +HOMEPAGE="http://www.v2v.cc/~j/ffmpeg2theora/index.html" +SRC_URI="http://www.v2v.cc/~j/ffmpeg2theora/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug kate" + +RDEPEND="|| ( <media-video/ffmpeg-0.5_p19787[vhook] + >=media-video/ffmpeg-0.5_p19787 ) + >=media-libs/libvorbis-1.1 + >=media-libs/libogg-1.1 + >=media-libs/libtheora-1.1.0[encode] + kate? ( media-libs/libkate )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/scons-1.0.0" + +src_compile() { + scons_vars=(APPEND_CFLAGS="${CFLAGS}" \ + APPEND_LINKFLAGS="${LDFLAGS}" \ + debug=$(use debug && echo 1 || echo 0) \ + libkate=$(use kate && echo 1 || echo 0)) + scons "${scons_vars[@]}" || die "scons failed" +} + +src_install() { + scons "${scons_vars[@]}" destdir="${D}" prefix=/usr mandir=PREFIX/share/man install || die "install failed" + dodoc AUTHORS ChangeLog README TODO || die +} diff --git a/media-video/ffmpeg2theora/metadata.xml b/media-video/ffmpeg2theora/metadata.xml index edccfe5754d2..6c1f70ed2108 100644 --- a/media-video/ffmpeg2theora/metadata.xml +++ b/media-video/ffmpeg2theora/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>video</herd> -<maintainer> -<email>media-video@gentoo.org</email> -</maintainer> + <herd>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> + <use> + <flag name="kate">Adds support for Ogg Kate subtitles via libkate.</flag> + </use> </pkgmetadata> |