/[gentoo-x86]/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild
Gentoo

Contents of /app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jul 20 04:13:45 2009 UTC (5 years, 2 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -5 lines
Repoman warning.
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild,v 1.3 2009/04/04 01:23:43 gengor Exp $
4
5 EAPI=2
6 inherit eutils
7
8 DESCRIPTION="Scriptable DVD copy software"
9 HOMEPAGE="http://dvdshrink.sourceforge.net"
10 SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}mdk.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~x86"
15 IUSE="gtk"
16
17 RDEPEND=">=media-video/transcode-1.0.2-r2[dvd]
18 >=media-video/mjpegtools-1.8.0-r1
19 >=media-video/subtitleripper-0.3.4-r1
20 >=media-video/dvdauthor-0.6.11
21 >=app-cdr/dvd+rw-tools-6.1
22 gtk? ( >=dev-perl/gtk2-perl-1.104 )
23 >=app-text/gocr-0.40
24 virtual/cdrtools"
25 DEPEND=""
26
27 S=${WORKDIR}/${PN}
28
29 src_prepare() {
30 sed -e 's:applications/::g' -i usr/bin/dvdsfunctions \
31 -i usr/bin/xdvdshrink.pl || die "sed failed."
32 }
33
34 src_install() {
35 dobin usr/bin/{batchrip.sh,dvds{functions,hrink}} || die "dobin failed."
36
37 if use gtk; then
38 dobin usr/bin/xdvdshrink.pl || die "dobin failed."
39 fi
40
41 insinto /usr/share
42 doins -r usr/share/applications/dvdshrink || die "doins failed."
43
44 dodoc usr/share/doc/dvdshrink/{batchrip.txt,example.xml,README.txt}
45
46 doicon usr/share/icons/{batchrip.xpm,dvdshrink.xpm}
47 use gtk && make_desktop_entry xdvdshrink.pl xDVDShrink ${PN} AudioVideo
48 }

  ViewVC Help
Powered by ViewVC 1.1.20