summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-06-21 19:55:00 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-06-21 19:55:00 +0000
commit88e793c7ee129616524d0e5bfe2cc6a4127192c8 (patch)
tree5ddff8410543385c0d638ba29bd47bfcff81ebf0 /media-video/ttcut
parentStable on amd64 wrt bug 182631 (diff)
downloadgentoo-2-88e793c7ee129616524d0e5bfe2cc6a4127192c8.tar.gz
gentoo-2-88e793c7ee129616524d0e5bfe2cc6a4127192c8.tar.bz2
gentoo-2-88e793c7ee129616524d0e5bfe2cc6a4127192c8.zip
Version bumped.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'media-video/ttcut')
-rw-r--r--media-video/ttcut/ChangeLog7
-rw-r--r--media-video/ttcut/files/digest-ttcut-0.19.53
-rw-r--r--media-video/ttcut/ttcut-0.19.5.ebuild47
3 files changed, 56 insertions, 1 deletions
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 <zzam@gentoo.org> +ttcut-0.19.5.ebuild:
+ Version bumped.
13 Jun 2007; Matthias Schwarzott <zzam@gentoo.org> 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"
+}