summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2007-04-20 03:26:21 +0000
committerSteve Dibb <beandog@gentoo.org>2007-04-20 03:26:21 +0000
commit63dbeb004148cd27159945d6ccca847ebc40c253 (patch)
tree99d0f26296b7c4aaf719b214e8219d9334827635 /media-video/dvdrip/dvdrip-0.98.6.ebuild
parentupstream bump. remove old version (diff)
downloadgentoo-2-63dbeb004148cd27159945d6ccca847ebc40c253.tar.gz
gentoo-2-63dbeb004148cd27159945d6ccca847ebc40c253.tar.bz2
gentoo-2-63dbeb004148cd27159945d6ccca847ebc40c253.zip
Version bump, bug 174980
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-video/dvdrip/dvdrip-0.98.6.ebuild')
-rw-r--r--media-video/dvdrip/dvdrip-0.98.6.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/media-video/dvdrip/dvdrip-0.98.6.ebuild b/media-video/dvdrip/dvdrip-0.98.6.ebuild
new file mode 100644
index 000000000000..9e617e8cd8e8
--- /dev/null
+++ b/media-video/dvdrip/dvdrip-0.98.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvdrip/dvdrip-0.98.6.ebuild,v 1.1 2007/04/20 03:26:20 beandog Exp $
+
+inherit eutils flag-o-matic perl-module
+
+DESCRIPTION="Dvd::rip is a graphical frontend for transcode"
+HOMEPAGE="http://www.exit1.org/dvdrip/"
+SRC_URI="http://www.exit1.org/${PN}/dist/${P}.tar.gz"
+
+LICENSE="Artistic GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ffmpeg fping hal mplayer ogg subtitles vcd vorbis xine xvid"
+
+DEPEND=">=dev-perl/Event-ExecFlow-0.63
+ >=dev-perl/Event-RPC-0.89
+ dev-perl/gtk2-perl
+ >=dev-perl/gtk2-ex-formfactory-0.65
+ >=dev-perl/libintl-perl-1.16
+ media-gfx/imagemagick
+ <media-video/transcode-1.1.0_pre0"
+RDEPEND="${DEPEND}
+ ffmpeg? ( media-video/ffmpeg )
+ fping? ( >=net-analyzer/fping-2.2 )
+ hal? ( >=sys-apps/hal-0.5 )
+ mplayer? ( media-video/mplayer )
+ ogg? ( media-sound/ogmtools )
+ subtitles? ( media-video/subtitleripper )
+ vcd? ( >=media-video/mjpegtools-1.6.0 )
+ vorbis? ( media-sound/vorbis-tools )
+ xine? ( media-video/xine-ui )
+ xvid? ( media-video/xvid4conf )
+ >=media-video/lsdvd-0.15"
+
+pkg_setup() {
+ if ! built_with_use x11-libs/gtk+ jpeg; then
+ eerror "Please re-emerge x11-libs/gtk+ with the jpeg use flag"
+ fi
+ if ! built_with_use media-video/transcode dvdread; then
+ eerror "Please re-emerge media-video/transcode with the dvdread"
+ eerror "USE flag."
+ fi
+ if built_with_use media-video/transcode extrafilters; then
+ eerror "Please re-emerge media-video/transcode without the"
+ eerror "extrafilters USE flag."
+ fi
+ if ! built_with_use media-video/transcode dvdread || \
+ built_with_use media-video/transcode extrafilters || \
+ ! built_with_use x11-libs/gtk+ jpeg; then
+ die "Fix use flags and re-emerge."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ filter-flags "-ftracer"
+ sed -i -e 's:cc :$(CC) :' src/Makefile || die "sed failed"
+}
+
+src_install() {
+ newicon lib/Video/DVDRip/icon.xpm dvdrip.xpm
+ make_desktop_entry dvdrip dvd::rip dvdrip.xpm AudioVideo
+ DOCS="Changes Changes.0.46 Credits README TODO"
+
+ perl-module_src_install
+}