summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2007-10-17 13:59:20 +0000
committerSteve Dibb <beandog@gentoo.org>2007-10-17 13:59:20 +0000
commit19fa0ea9bbe625921ae94df13c8c680672eb505b (patch)
treeeb0f179dbc108d5b3d964fe42e3f453bb9fc6e37 /media-video/dvdrip
parentBump to 1.12.1 (diff)
downloadgentoo-2-19fa0ea9bbe625921ae94df13c8c680672eb505b.tar.gz
gentoo-2-19fa0ea9bbe625921ae94df13c8c680672eb505b.tar.bz2
gentoo-2-19fa0ea9bbe625921ae94df13c8c680672eb505b.zip
Add fping ewarn, bug 173924
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-video/dvdrip')
-rw-r--r--media-video/dvdrip/ChangeLog7
-rw-r--r--media-video/dvdrip/dvdrip-0.98.8-r1.ebuild92
-rw-r--r--media-video/dvdrip/files/digest-dvdrip-0.98.8-r13
3 files changed, 101 insertions, 1 deletions
diff --git a/media-video/dvdrip/ChangeLog b/media-video/dvdrip/ChangeLog
index 621fbd1c222a..7d279e296433 100644
--- a/media-video/dvdrip/ChangeLog
+++ b/media-video/dvdrip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/dvdrip
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/dvdrip/ChangeLog,v 1.102 2007/09/04 04:16:39 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvdrip/ChangeLog,v 1.103 2007/10/17 13:59:20 beandog Exp $
+
+*dvdrip-0.98.8-r1 (17 Oct 2007)
+
+ 17 Oct 2007; Steve Dibb <beandog@gentoo.org> +dvdrip-0.98.8-r1.ebuild:
+ Add fping ewarn, bug 173924
*dvdrip-0.98.8 (02 Sep 2007)
*dvdrip-0.98.7 (02 Sep 2007)
diff --git a/media-video/dvdrip/dvdrip-0.98.8-r1.ebuild b/media-video/dvdrip/dvdrip-0.98.8-r1.ebuild
new file mode 100644
index 000000000000..ab2c6f94ef5d
--- /dev/null
+++ b/media-video/dvdrip/dvdrip-0.98.8-r1.ebuild
@@ -0,0 +1,92 @@
+# 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.8-r1.ebuild,v 1.1 2007/10/17 13:59: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/dvdrip/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() {
+
+ local rebuild=0
+
+ if ! built_with_use x11-libs/gtk+ jpeg; then
+ eerror "Please re-emerge x11-libs/gtk+ with the jpeg use flag"
+ rebuild=1
+ fi
+ if ! built_with_use media-video/transcode dvdread; then
+ eerror "Please re-emerge media-video/transcode with the dvdread"
+ eerror "USE flag."
+ rebuild=1
+ fi
+ if built_with_use media-video/transcode extrafilters; then
+ eerror "Please re-emerge media-video/transcode without the"
+ eerror "extrafilters USE flag."
+ rebuild=1
+ fi
+ if use vcd && ! built_with_use media-video/transcode mjpeg; then
+ eerror "Please re-emerge media-video/transcode with the"
+ eerror "mjpeg USE flag."
+ rebuild=1
+ fi
+ if [[ rebuild -eq 1 ]]; 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
+}
+
+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
+
+}
diff --git a/media-video/dvdrip/files/digest-dvdrip-0.98.8-r1 b/media-video/dvdrip/files/digest-dvdrip-0.98.8-r1
new file mode 100644
index 000000000000..f1ee07a914c3
--- /dev/null
+++ b/media-video/dvdrip/files/digest-dvdrip-0.98.8-r1
@@ -0,0 +1,3 @@
+MD5 61b77b298b14c6bde83713e93e9ea4d8 dvdrip-0.98.8.tar.gz 1756312
+RMD160 68a508d667a8b34501ab82a12a4b77d3ae6d01a3 dvdrip-0.98.8.tar.gz 1756312
+SHA256 3340272caff3fdf26c90d004f88499d3a975982b5e6e9a4962f5c9cc2d9a9895 dvdrip-0.98.8.tar.gz 1756312