/[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.16 - (hide annotations) (download)
Wed Aug 5 19:06:47 2009 UTC (5 years, 4 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +10 -9 lines
Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #278421.
(Portage version: 2.2_rc36/cvs/Linux x86_64)

1 ssuominen 1.16 # Copyright 1999-2009 Gentoo Foundation
2 tantive 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.16 # $Header: /var/cvsroot/gentoo-x86/media-video/streamdvd/streamdvd-0.4-r1.ebuild,v 1.15 2008/07/09 09:24:15 loki_val 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 ssuominen 1.16 S=${WORKDIR}/StreamDVD-${PV}
26 tantive 1.1
27     src_unpack() {
28     unpack ${A}
29 ssuominen 1.16 cd "${S}"
30     use X && epatch "${FILESDIR}"/${P}.patch
31 flameeyes 1.11
32 ssuominen 1.16 epatch "${FILESDIR}"/${P}-makefile.patch
33     epatch "${FILESDIR}"/${P}-gcc41.patch
34     epatch "${FILESDIR}"/${P}-libdvdread.patch
35     epatch "${FILESDIR}"/${P}-gcc43.patch
36     epatch "${FILESDIR}"/${P}-gcc44.patch
37 tantive 1.1 }
38    
39     src_compile() {
40 flameeyes 1.11 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages
41 tantive 1.1 }
42    
43     src_install() {
44     dobin streamdvd streamanalyze
45     newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
46 flameeyes 1.9 dodoc README
47 tantive 1.1 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
48     newdoc contrib/lsdvd/README README.lsdvd
49     newdoc contrib/StreamAnalyze/README README.streamanalyze
50 luckyduck 1.8 if use X
51 tantive 1.1 then
52     eval `perl '-V:installvendorlib'`
53     insinto "$installvendorlib/StreamDVD"
54     doins Gui/StreamDVD/*.pm
55     dobin Gui/StreamDVD.pl
56     dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink
57     newdoc Gui/README README.gui
58     fi
59     }

  ViewVC Help
Powered by ViewVC 1.1.20