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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Feb 24 23:47:17 2012 UTC (2 years, 5 months ago) by ssuominen
Branch: MAIN
Changes since 1.5: +7 -10 lines
EAPI=4, rename patch, bug # numbers and more

(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)

1 # Copyright 1999-2012 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-r1.ebuild,v 1.5 2012/02/24 23:31:38 ssuominen Exp $
4
5 EAPI=4
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 RDEPEND="${DEPEND}
24 x11-libs/gdk-pixbuf:2[jpeg]
25 x11-libs/gtk+:2
26 ffmpeg? ( virtual/ffmpeg )
27 fping? ( >=net-analyzer/fping-2.2 )
28 mplayer? ( media-video/mplayer )
29 ogg? ( media-sound/ogmtools )
30 subtitles? ( media-video/subtitleripper )
31 vcd? (
32 media-video/transcode[mjpeg]
33 >=media-video/mjpegtools-1.6.0
34 )
35 vorbis? ( media-sound/vorbis-tools )
36 xine? ( media-video/xine-ui )
37 xvid? ( media-video/xvid4conf )
38 >=media-video/lsdvd-0.15"
39
40 pkg_setup() {
41 filter-flags -ftracer
42 export SKIP_UNPACK_REQUIRED_MODULES=1 #255269
43
44 perl-module_pkg_setup
45 }
46
47 src_prepare() {
48 sed -i -e 's:$(CC):$(CC) $(OTHERLDFLAGS):' src/Makefile || die #333739
49 epatch "${FILESDIR}"/${P}-fix_parallel_make.patch
50 }
51
52 src_install() {
53 newicon lib/Video/DVDRip/icon.xpm dvdrip.xpm
54 make_desktop_entry dvdrip dvd::rip
55
56 mydoc="Changes* Credits README TODO" perl-module_src_install
57 }
58
59 pkg_postinst() {
60 # bug 173924
61 if use fping; then
62 ewarn "For dvdrip-master to work correctly with cluster mode,"
63 ewarn "the fping binary must be setuid."
64 ewarn ""
65 ewarn "Run this command to fix it:"
66 ewarn "chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
67 ewarn ""
68 ewarn "Note that this is a security risk when enabled."
69 fi
70 }

  ViewVC Help
Powered by ViewVC 1.1.20