summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2006-06-25 21:07:02 +0000
committerDaniel Pielmeier <billie@gentoo.org>2006-06-25 21:07:02 +0000
commit0634b901d9db76e5fdc43fbaba781ec38a6ee7c8 (patch)
tree203fc8ea365666901e1f421bdf8cb4cd675f0c00
parentAdded ttmpeg2 use-flag to ttcut ebuild (diff)
downloadsunrise-0634b901d9db76e5fdc43fbaba781ec38a6ee7c8.tar.gz
sunrise-0634b901d9db76e5fdc43fbaba781ec38a6ee7c8.tar.bz2
sunrise-0634b901d9db76e5fdc43fbaba781ec38a6ee7c8.zip
Added ttmpeg2 use-flag to ttcut ebuild - the second
svn path=/sunrise/; revision=281
-rw-r--r--media-video/ttcut/files/digest-ttcut-0.11.2_alpha-r13
-rw-r--r--media-video/ttcut/ttcut-0.11.2_alpha-r1.ebuild45
2 files changed, 48 insertions, 0 deletions
diff --git a/media-video/ttcut/files/digest-ttcut-0.11.2_alpha-r1 b/media-video/ttcut/files/digest-ttcut-0.11.2_alpha-r1
new file mode 100644
index 000000000..0b03ba52e
--- /dev/null
+++ b/media-video/ttcut/files/digest-ttcut-0.11.2_alpha-r1
@@ -0,0 +1,3 @@
+MD5 a14399b3b2549a40739788bd214e2612 ttcut-0.11.2-alpha.tar.gz 233745
+RMD160 91f77c6e26eb9ddd79ea7814b2f39569528a7c99 ttcut-0.11.2-alpha.tar.gz 233745
+SHA256 1eb9dd3cea36b053af46be1e495d661f734a4bb70642a3ef8f897befd7bf19b0 ttcut-0.11.2-alpha.tar.gz 233745
diff --git a/media-video/ttcut/ttcut-0.11.2_alpha-r1.ebuild b/media-video/ttcut/ttcut-0.11.2_alpha-r1.ebuild
new file mode 100644
index 000000000..ede8e262f
--- /dev/null
+++ b/media-video/ttcut/ttcut-0.11.2_alpha-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Tool for removing advertisements from recorded MPEG files"
+HOMEPAGE="http://ttcut.tritime.org/"
+SRC_URI="http://download.berlios.de/${PN}/${P/_/-}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ttmpeg2"
+
+DEPEND=">=media-libs/libmpeg2-0.4.0
+ >=x11-libs/qt-4.1.0"
+
+RDEPEND="${DEPEND}
+ media-video/mplayer
+ media-video/dvdauthor
+ media-video/transcode
+ media-video/ffmpeg"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ if use ttmpeg2 ; then
+ qmake ttmpeg2.pro -o Makefile.ttmpeg2
+ make -f Makefile.ttmpeg2
+ fi
+
+ qmake ttcut.pro -o Makefile.ttcut
+ make -f Makefile.ttcut
+}
+
+src_install() {
+ if use ttmpeg2 ; then
+ dobin ttmpeg2
+ make_desktop_entry ttmpeg2 Ttmpeg2 "" AudioVideoEditing
+ fi
+
+ dobin ttcut
+ make_desktop_entry ttcut Ttcut "" AudioVideoEditing
+}