/[gentoo-x86]/media-video/streamdvd/streamdvd-0.4-r1.ebuild
Gentoo

Diff of /media-video/streamdvd/streamdvd-0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.1.1.1
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-video/streamdvd/streamdvd-0.4-r1.ebuild,v 1.1 2004/07/23 15:27:54 tantive Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/streamdvd/streamdvd-0.4-r1.ebuild,v 1.1.1.1 2005/11/30 09:57:49 chriswhite Exp $
4 4
5DESCRIPTION="fast tool to backup Video DVDs 'on the fly'" 5DESCRIPTION="fast tool to backup Video DVDs 'on the fly'"
6HOMEPAGE="http://www.badabum.de/streamdvd.html" 6HOMEPAGE="http://www.badabum.de/streamdvd.html"
7SRC_URI="http://www.badabum.de/down/${P}.tar.gz" 7SRC_URI="http://www.badabum.de/down/${P}.tar.gz"
8 8
9LICENSE="GPL-2" 9LICENSE="GPL-2"
10SLOT="0" 10SLOT="0"
11KEYWORDS="~x86 ~ppc" 11KEYWORDS="~x86 ~ppc ~amd64"
12
12IUSE="gui" 13IUSE="X"
13 14
14DEPEND="media-libs/libdvdread 15DEPEND="media-libs/libdvdread
16 media-video/lsdvd
15 gui? ( dev-perl/perl-tk 17 X? ( dev-perl/perl-tk
16 app-cdr/cdrtools 18 dev-perl/Tk-JPEG-Lite
19 virtual/cdrtools
17 >=media-video/dvdauthor-0.6.5 20 >=media-video/dvdauthor-0.6.5
18 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )" 21 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
19 22
20S="${WORKDIR}/StreamDVD-${PV}" 23S="${WORKDIR}/StreamDVD-${PV}"
21 24
22src_unpack() { 25src_unpack() {
23 unpack ${A} 26 unpack ${A}
24 cd ${S} || die 27 cd ${S} || die
25 sed -i "s: -g -Wall : ${CFLAGS} :" Makefile 28 sed -i "s: -g -Wall : ${CFLAGS} :" Makefile
26 use gui && epatch "${FILESDIR}/${P}.patch" 29 use X && epatch "${FILESDIR}/${P}.patch"
27} 30}
28 31
29src_compile() { 32src_compile() {
30 emake all addon || die # compile also optional packages 33 emake all addon || die # compile also optional packages
31} 34}
32 35
33src_install() { 36src_install() {
34 dobin streamdvd streamanalyze 37 dobin streamdvd streamanalyze
35 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd 38 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
36 dodoc COPYING README 39 dodoc README
37 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd 40 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
38 newdoc contrib/lsdvd/README README.lsdvd 41 newdoc contrib/lsdvd/README README.lsdvd
39 newdoc contrib/StreamAnalyze/README README.streamanalyze 42 newdoc contrib/StreamAnalyze/README README.streamanalyze
40 if [ `use gui` ] 43 if use X
41 then 44 then
42 eval `perl '-V:installvendorlib'` 45 eval `perl '-V:installvendorlib'`
43 insinto "$installvendorlib/StreamDVD" 46 insinto "$installvendorlib/StreamDVD"
44 doins Gui/StreamDVD/*.pm 47 doins Gui/StreamDVD/*.pm
45 dobin Gui/StreamDVD.pl 48 dobin Gui/StreamDVD.pl

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.1

  ViewVC Help
Powered by ViewVC 1.1.20