From db58686ea91f7276adbf68e9db40fba0a4112405 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 14 Jun 2009 19:42:51 +0100 Subject: Initial commit --- .../ffmpeg2theora/ffmpeg2theora-0.24.ebuild | 44 ++++++++++++++++++++++ .../ffmpeg2theora/files/libkate.ebuild.patch | 39 +++++++++++++++++++ media-video/ffmpeg2theora/files/libkate.patch | 44 ++++++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 media-video/ffmpeg2theora/ffmpeg2theora-0.24.ebuild create mode 100644 media-video/ffmpeg2theora/files/libkate.ebuild.patch create mode 100644 media-video/ffmpeg2theora/files/libkate.patch (limited to 'media-video/ffmpeg2theora') diff --git a/media-video/ffmpeg2theora/ffmpeg2theora-0.24.ebuild b/media-video/ffmpeg2theora/ffmpeg2theora-0.24.ebuild new file mode 100644 index 0000000..afecff9 --- /dev/null +++ b/media-video/ffmpeg2theora/ffmpeg2theora-0.24.ebuild @@ -0,0 +1,44 @@ +# 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.24.ebuild,v 1.1 2009/03/31 21:26:12 patrick 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="kate" + +RDEPEND=" + || ( =media-video/ffmpeg-9999 ) + >=media-libs/libvorbis-1.1 + >=media-libs/libogg-1.1 + >=media-libs/libtheora-1.0_beta1[encode] + kate? ( media-libs/libkate )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/scons-1.0.0" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/libkate.patch" +} + +src_compile() { + myconf="" + use kate || myconf="${myconf} libkate=no" + scons APPEND_CFLAGS="${CFLAGS}" APPEND_LINKFLAGS="${LDFLAGS}" ${myconf} || die "scons failed" +} + +src_install() { + scons destdir="${D}" prefix=/usr mandir=PREFIX/share/man ${myconf} install || die "install failed" + dodoc AUTHORS ChangeLog README TODO || die +} diff --git a/media-video/ffmpeg2theora/files/libkate.ebuild.patch b/media-video/ffmpeg2theora/files/libkate.ebuild.patch new file mode 100644 index 0000000..1c92aa2 --- /dev/null +++ b/media-video/ffmpeg2theora/files/libkate.ebuild.patch @@ -0,0 +1,39 @@ +--- ffmpeg2theora-0.24.ebuild 2009-04-05 09:08:24.000000000 +0100 ++++ ffmpeg2theora-0.24.ebuild 2009-05-27 11:24:13.000000000 +0100 +@@ -13,7 +13,7 @@ SRC_URI="http://www.v2v.cc/~j/ffmpeg2the + LICENSE="GPL-2" + SLOT="0" + KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +-IUSE="" ++IUSE="kate" + + RDEPEND=" + || (