From 88e793c7ee129616524d0e5bfe2cc6a4127192c8 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Thu, 21 Jun 2007 19:55:00 +0000 Subject: Version bumped. (Portage version: 2.1.3_rc4) --- media-video/ttcut/ChangeLog | 7 ++++- media-video/ttcut/files/digest-ttcut-0.19.5 | 3 ++ media-video/ttcut/ttcut-0.19.5.ebuild | 47 +++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 media-video/ttcut/files/digest-ttcut-0.19.5 create mode 100644 media-video/ttcut/ttcut-0.19.5.ebuild (limited to 'media-video/ttcut') diff --git a/media-video/ttcut/ChangeLog b/media-video/ttcut/ChangeLog index 58936980cf57..7a22401a5a78 100644 --- a/media-video/ttcut/ChangeLog +++ b/media-video/ttcut/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/ttcut # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ttcut/ChangeLog,v 1.6 2007/06/13 15:26:16 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ttcut/ChangeLog,v 1.7 2007/06/21 19:55:00 zzam Exp $ + +*ttcut-0.19.5 (21 Jun 2007) + + 21 Jun 2007; Matthias Schwarzott +ttcut-0.19.5.ebuild: + Version bumped. 13 Jun 2007; Matthias Schwarzott ttcut-0.19.4.ebuild: Adapted to changed source tarball, thanks to Daniel Pielmeier. diff --git a/media-video/ttcut/files/digest-ttcut-0.19.5 b/media-video/ttcut/files/digest-ttcut-0.19.5 new file mode 100644 index 000000000000..2c628d2460bb --- /dev/null +++ b/media-video/ttcut/files/digest-ttcut-0.19.5 @@ -0,0 +1,3 @@ +MD5 b73d9927e7e41b33f056dc4d8038fd10 ttcut-0.19.5.tar.gz 378372 +RMD160 bb91b202608d3198619c9fa5c52176c1450f5971 ttcut-0.19.5.tar.gz 378372 +SHA256 9566895816cd4185b9fc9d0887de991b46aa5ea5306da8cafc4db2a48097140a ttcut-0.19.5.tar.gz 378372 diff --git a/media-video/ttcut/ttcut-0.19.5.ebuild b/media-video/ttcut/ttcut-0.19.5.ebuild new file mode 100644 index 000000000000..1292697c5b0d --- /dev/null +++ b/media-video/ttcut/ttcut-0.19.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ttcut/ttcut-0.19.5.ebuild,v 1.1 2007/06/21 19:55:00 zzam Exp $ + +inherit eutils qt4 + +DESCRIPTION="Tool for removing advertisements from recorded MPEG files" +HOMEPAGE="http://ttcut.tritime.org/" +SRC_URI="mirror://berlios/${PN}/${P/_/-}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="$(qt4_min_version 4.1) + >=media-libs/libmpeg2-0.4.0 + virtual/opengl" + +RDEPEND="${DEPEND} + media-video/mplayer + media-video/transcode" + +S=${WORKDIR}/${PN} + +pkg_setup() { + if ! built_with_use media-video/transcode mjpeg ; then + eerror "In order to have encoding mode working with ttcut" + eerror "you need to recompile transcode with mjpeg USE flag enabled." + die "Recompile transcode with mjpeg USE flag enabled" + fi +} + +src_compile() { + qmake ttcut.pro -o Makefile.ttcut || \ + die "configuring ttcut failed" + emake -f Makefile.ttcut || die "emake failed" +} + +src_install() { + dobin ttcut || die "Couldn't install ttcut" + make_desktop_entry ttcut TTCut "" "AudioVideo;Video;AudioVideoEditing" || \ + die "Couldn't make ttcut desktop entry" + + dodoc AUTHORS BUGS CHANGELOG \ + README.DE README.EN TODO || die "Couldn't install documentation" +} -- cgit v1.2.3-65-gdbad