diff options
author | Steve Dibb <beandog@gentoo.org> | 2008-12-17 16:00:38 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2008-12-17 16:00:38 +0000 |
commit | 58df820a6ae6ec113a9fa3254b708e3ee8a62fb2 (patch) | |
tree | 771c4408fddf1e6827da6f893b344f733255dfdd /media-video/ffmpeg2theora | |
parent | dev-lang/vala: bump to 0.5.3 (diff) | |
download | gentoo-2-58df820a6ae6ec113a9fa3254b708e3ee8a62fb2.tar.gz gentoo-2-58df820a6ae6ec113a9fa3254b708e3ee8a62fb2.tar.bz2 gentoo-2-58df820a6ae6ec113a9fa3254b708e3ee8a62fb2.zip |
Add libkate dep for subtitle support, bug 246213
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'media-video/ffmpeg2theora')
-rw-r--r-- | media-video/ffmpeg2theora/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/ffmpeg2theora/ffmpeg2theora-0.22-r1.ebuild | 48 |
2 files changed, 55 insertions, 1 deletions
diff --git a/media-video/ffmpeg2theora/ChangeLog b/media-video/ffmpeg2theora/ChangeLog index 858894480230..56eb36f42208 100644 --- a/media-video/ffmpeg2theora/ChangeLog +++ b/media-video/ffmpeg2theora/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/ffmpeg2theora # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg2theora/ChangeLog,v 1.29 2008/11/11 14:21:32 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg2theora/ChangeLog,v 1.30 2008/12/17 16:00:38 beandog Exp $ + +*ffmpeg2theora-0.22-r1 (17 Dec 2008) + + 17 Dec 2008; Steve Dibb <beandog@gentoo.org> + +ffmpeg2theora-0.22-r1.ebuild: + Add libkate dep for subtitle support, bug 246213 11 Nov 2008; Peter Alfredsen <loki_val@gentoo.org> -ffmpeg2theora-9999.ebuild: diff --git a/media-video/ffmpeg2theora/ffmpeg2theora-0.22-r1.ebuild b/media-video/ffmpeg2theora/ffmpeg2theora-0.22-r1.ebuild new file mode 100644 index 000000000000..c036b9dd737f --- /dev/null +++ b/media-video/ffmpeg2theora/ffmpeg2theora-0.22-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg2theora/ffmpeg2theora-0.22-r1.ebuild,v 1.1 2008/12/17 16:00:38 beandog Exp $ + +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="" + +RDEPEND=">=media-video/ffmpeg-0.4.9_p20070616-r20 + >=media-libs/libvorbis-1.1 + >=media-libs/libogg-1.1 + >=media-libs/libtheora-1.0_beta1 + media-libs/libkate" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/scons-1.0.0" + +pkg_setup() { + local fail="Re-emerge media-libs/libtheora with USE encode." + + if ! built_with_use media-libs/libtheora encode; then + eerror "${fail}" + die "${fail}" + fi + if ! built_with_use --missing true media-video/ffmpeg vhook; then + eerror "${PN} requires ffmpeg to be built with the vhook useflag." + die "Please reinstall media-video/ffmpeg with the vhook useflag enabled" + fi +} + +src_compile() { + scons APPEND_CFLAGS="${CFLAGS}" APPEND_LINKFLAGS="${LDFLAGS}" || die "scons failed" +} + +src_install() { + scons destdir="${D}" prefix=/usr install || die "install failed" + dodoc AUTHORS ChangeLog README TODO || die +# newdoc kino_export/README README.kino_export +# exeinto /usr/share/kino/scripts/exports +# doexe kino_export/ffmpeg2theora.sh +} |