/[gentoo-x86]/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild
Gentoo

Contents of /media-video/dvdrip/dvdrip-0.98.11-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Nov 18 23:39:33 2014 UTC (3 years, 11 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Replace perl-module_pkg_setup with perl_set_version

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild,v 1.2 2014/11/01 18:34:24 dilfridge Exp $
4
5 EAPI=5
6 inherit eutils flag-o-matic perl-module
7
8 DESCRIPTION="dvd::rip is a graphical frontend for transcode"
9 HOMEPAGE="http://www.exit1.org/dvdrip/"
10 SRC_URI="http://www.exit1.org/dvdrip/dist/${P}.tar.gz"
11
12 SLOT="0"
13 KEYWORDS="amd64 ppc ppc64 x86"
14 IUSE="ffmpeg fping mplayer ogg subtitles vcd vorbis xine xvid"
15
16 DEPEND=">=dev-perl/Event-ExecFlow-0.64
17 >=dev-perl/Event-RPC-0.89
18 dev-perl/gtk2-perl
19 >=dev-perl/gtk2-ex-formfactory-0.65
20 >=dev-perl/libintl-perl-1.16
21 || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick )
22 >=media-video/transcode-1.1.0[dvd,jpeg,mp3,ogg,vorbis]
23 >=virtual/perl-podlators-2.5.3
24 "
25 RDEPEND="${DEPEND}
26 x11-libs/gdk-pixbuf:2[jpeg]
27 x11-libs/gtk+:2
28 ffmpeg? ( virtual/ffmpeg )
29 fping? ( >=net-analyzer/fping-2.2 )
30 mplayer? ( media-video/mplayer )
31 ogg? ( media-sound/ogmtools )
32 subtitles? ( media-video/subtitleripper )
33 vcd? (
34 media-video/transcode[mjpeg]
35 >=media-video/mjpegtools-1.6.0
36 )
37 vorbis? ( media-sound/vorbis-tools )
38 xine? ( media-video/xine-ui )
39 xvid? ( media-video/xvid4conf )
40 >=media-video/lsdvd-0.15"
41
42 pkg_setup() {
43 filter-flags -ftracer
44 export SKIP_UNPACK_REQUIRED_MODULES=1 #255269
45
46 perl_set_version
47 }
48
49 src_prepare() {
50 sed -i -e 's:$(CC):$(CC) $(OTHERLDFLAGS):' src/Makefile || die #333739
51 epatch "${FILESDIR}"/${P}-fix_parallel_make.patch
52 # Fix default device for >=udev-180 wrt #224559
53 sed -i -e 's:/dev/dvd:/dev/cdrom:' lib/Video/DVDRip/Config.pm || die
54 }
55
56 src_install() {
57 newicon lib/Video/DVDRip/icon.xpm dvdrip.xpm
58 make_desktop_entry dvdrip dvd::rip
59
60 mydoc="Changes* Credits README TODO" perl-module_src_install
61 }
62
63 pkg_postinst() {
64 # bug 173924
65 if use fping; then
66 ewarn "For dvdrip-master to work correctly with cluster mode,"
67 ewarn "the fping binary must be setuid."
68 ewarn ""
69 ewarn "Run this command to fix it:"
70 ewarn "chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
71 ewarn ""
72 ewarn "Note that this is a security risk when enabled."
73 fi
74 }

  ViewVC Help
Powered by ViewVC 1.1.20