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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download)
Fri Mar 31 11:54:47 2006 UTC (8 years ago) by flameeyes
Branch: MAIN
Changes since 1.11: +2 -1 lines
Add patch from Alexis Ballier to build with latest libdvdread, see bug #128224.
(Portage version: 2.1_pre7-r3)

1 flameeyes 1.11 # Copyright 1999-2006 Gentoo Foundation
2 tantive 1.1 # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.12 # $Header: /var/cvsroot/gentoo-x86/media-video/streamdvd/streamdvd-0.4-r1.ebuild,v 1.11 2006/03/15 13:37:18 flameeyes Exp $
4 flameeyes 1.11
5     inherit eutils toolchain-funcs
6 tantive 1.1
7     DESCRIPTION="fast tool to backup Video DVDs 'on the fly'"
8     HOMEPAGE="http://www.badabum.de/streamdvd.html"
9     SRC_URI="http://www.badabum.de/down/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 kugelfang 1.5 KEYWORDS="~x86 ~ppc ~amd64"
14 tantive 1.1
15 luckyduck 1.8 IUSE="X"
16 chriswhite 1.4
17 tantive 1.1 DEPEND="media-libs/libdvdread
18 flameeyes 1.10 media-video/lsdvd
19 luckyduck 1.8 X? ( dev-perl/perl-tk
20 luckyduck 1.7 dev-perl/Tk-JPEG-Lite
21 luckyduck 1.6 virtual/cdrtools
22 mr_bones_ 1.2 >=media-video/dvdauthor-0.6.5
23     >=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
24 tantive 1.1
25     S="${WORKDIR}/StreamDVD-${PV}"
26    
27     src_unpack() {
28     unpack ${A}
29     cd ${S} || die
30 luckyduck 1.8 use X && epatch "${FILESDIR}/${P}.patch"
31 flameeyes 1.11
32     epatch "${FILESDIR}/${P}-makefile.patch"
33     epatch "${FILESDIR}/${P}-gcc41.patch"
34 flameeyes 1.12 epatch "${FILESDIR}/${P}-libdvdread.patch"
35 tantive 1.1 }
36    
37     src_compile() {
38 flameeyes 1.11 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages
39 tantive 1.1 }
40    
41     src_install() {
42     dobin streamdvd streamanalyze
43     newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
44 flameeyes 1.9 dodoc README
45 tantive 1.1 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
46     newdoc contrib/lsdvd/README README.lsdvd
47     newdoc contrib/StreamAnalyze/README README.streamanalyze
48 luckyduck 1.8 if use X
49 tantive 1.1 then
50     eval `perl '-V:installvendorlib'`
51     insinto "$installvendorlib/StreamDVD"
52     doins Gui/StreamDVD/*.pm
53     dobin Gui/StreamDVD.pl
54     dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink
55     newdoc Gui/README README.gui
56     fi
57     }

  ViewVC Help
Powered by ViewVC 1.1.20