summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-15 15:43:09 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-15 15:43:09 +0000
commit4cc977891658e6ba7c9a489dc3fccbdaea568866 (patch)
treef845bda8ce2861c2a58bc10d5c38524cff108552 /media-video/videotrans
parentPunt overshadowed version so virtual/ffmpeg depending one is only around. (diff)
downloadgentoo-2-4cc977891658e6ba7c9a489dc3fccbdaea568866.tar.gz
gentoo-2-4cc977891658e6ba7c9a489dc3fccbdaea568866.tar.bz2
gentoo-2-4cc977891658e6ba7c9a489dc3fccbdaea568866.zip
Depend on virtual/ffmpeg. Move to eapi4. Fixes bug #362155.
(Portage version: 2.2.0_alpha33/cvs/Linux x86_64)
Diffstat (limited to 'media-video/videotrans')
-rw-r--r--media-video/videotrans/ChangeLog7
-rw-r--r--media-video/videotrans/videotrans-1.6.0.ebuild19
2 files changed, 12 insertions, 14 deletions
diff --git a/media-video/videotrans/ChangeLog b/media-video/videotrans/ChangeLog
index 87b166c57072..56723b5ee786 100644
--- a/media-video/videotrans/ChangeLog
+++ b/media-video/videotrans/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/videotrans
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/videotrans/ChangeLog,v 1.7 2008/12/17 21:10:04 loki_val Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/videotrans/ChangeLog,v 1.8 2011/05/15 15:43:09 scarabeus Exp $
+
+ 15 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> videotrans-1.6.0.ebuild:
+ Depend on virtual/ffmpeg. Move to eapi4. Fixes bug #362155.
17 Dec 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/videotrans-1.6.0-forced-as-needed.patch, videotrans-1.6.0.ebuild:
diff --git a/media-video/videotrans/videotrans-1.6.0.ebuild b/media-video/videotrans/videotrans-1.6.0.ebuild
index 3dd83ad2286c..fcc9e8cbfe73 100644
--- a/media-video/videotrans/videotrans-1.6.0.ebuild
+++ b/media-video/videotrans/videotrans-1.6.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/videotrans/videotrans-1.6.0.ebuild,v 1.2 2008/12/17 21:10:04 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/videotrans/videotrans-1.6.0.ebuild,v 1.3 2011/05/15 15:43:09 scarabeus Exp $
+
+EAPI=4
inherit base eutils
@@ -15,9 +17,9 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND="media-video/ffmpeg
+DEPEND="virtual/ffmpeg
media-video/mplayer
- media-video/mjpegtools
+ media-video/mjpegtools[png]
media-video/dvdauthor
media-gfx/imagemagick"
@@ -28,14 +30,7 @@ RDEPEND="${DEPEND}
PATCHES=( "${FILESDIR}/${P}-forced-as-needed.patch" )
-pkg_setup() {
- if ! built_with_use media-video/mjpegtools png; then
- eerror "Please emerge media-video/mjpegtools with useflag 'png'."
- die "Fix USE flags and re-emerge"
- fi
-}
-
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install
dodoc CHANGES THANKS TODO aspects.txt
}