summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2011-05-19 17:12:00 +0000
committerDane Smith <c1pher@gentoo.org>2011-05-19 17:12:00 +0000
commit3c7139baee83a87154b05e094ac5b365fc06f784 (patch)
treec4b3ada62157c25c8c7a97298c4e94a0a4ea46cb /media-video/dvdrip/dvdrip-0.98.11-r1.ebuild
parentStable for HPPA (bug #367275). (diff)
downloadhistorical-3c7139baee83a87154b05e094ac5b365fc06f784.tar.gz
historical-3c7139baee83a87154b05e094ac5b365fc06f784.tar.bz2
historical-3c7139baee83a87154b05e094ac5b365fc06f784.zip
media-video/dvdrip: Revump. Fix respect to jobserver wrt bug 266739. Fix respect to toolchain.
Package-Manager: portage-2.2.0_alpha34/cvs/Linux x86_64
Diffstat (limited to 'media-video/dvdrip/dvdrip-0.98.11-r1.ebuild')
-rw-r--r--media-video/dvdrip/dvdrip-0.98.11-r1.ebuild72
1 files changed, 72 insertions, 0 deletions
diff --git a/media-video/dvdrip/dvdrip-0.98.11-r1.ebuild b/media-video/dvdrip/dvdrip-0.98.11-r1.ebuild
new file mode 100644
index 000000000000..bcf881a8899c
--- /dev/null
+++ b/media-video/dvdrip/dvdrip-0.98.11-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvdrip/dvdrip-0.98.11-r1.ebuild,v 1.1 2011/05/19 17:12:00 c1pher Exp $
+
+EAPI=2
+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/dvdrip/dist/${P}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ffmpeg fping mplayer ogg subtitles vcd vorbis xine xvid"
+
+DEPEND=">=dev-perl/Event-ExecFlow-0.64
+ >=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/graphicsmagick[imagemagick] media-gfx/imagemagick )
+ || ( <media-video/transcode-1.1.0_pre0[dvd,jpeg,mp3,mpeg,ogg,vorbis]
+ >=media-video/transcode-1.1.0_pre0[dvd,jpeg,mp3,ogg,vorbis] )"
+RDEPEND="${DEPEND}
+ || ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )
+ ffmpeg? ( media-video/ffmpeg )
+ fping? ( >=net-analyzer/fping-2.2 )
+ mplayer? ( media-video/mplayer )
+ ogg? ( media-sound/ogmtools )
+ subtitles? ( media-video/subtitleripper )
+ vcd? (
+ media-video/transcode[mjpeg]
+ >=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() {
+ filter-flags -ftracer
+ export SKIP_UNPACK_REQUIRED_MODULES=1 #255269
+
+ perl-module_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e 's:$(CC):$(CC) $(OTHERLDFLAGS):' src/Makefile || die
+ epatch "${FILESDIR}/parallelmakefix.diff"
+}
+
+src_install() {
+ newicon lib/Video/DVDRip/icon.xpm dvdrip.xpm
+ make_desktop_entry dvdrip dvd::rip dvdrip AudioVideo
+ DOCS="Changes Changes.0.46 Credits README TODO"
+
+ perl-module_src_install
+}
+
+pkg_postinst() {
+ # bug 173924
+ if use fping; then
+ ewarn "For dvdrip-master to work correctly with cluster mode,"
+ ewarn "the fping binary must be setuid."
+ ewarn ""
+ ewarn "Run this command to fix it:"
+ ewarn "chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
+ ewarn ""
+ ewarn "Note that this is a security risk when enabled."
+ fi
+}