/[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.15 - (show annotations) (download)
Wed Jul 9 09:24:15 2008 UTC (6 years, 5 months ago) by loki_val
Branch: MAIN
Changes since 1.14: +3 -2 lines
Fix for gcc-4.3, bug #229063. Thanks to Bert Karwatzki <spasswolf@web.de>.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)

1 # Copyright 1999-2008 Gentoo Foundation
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.14 2007/11/27 12:10:09 zzam Exp $
4
5 inherit eutils toolchain-funcs
6
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 KEYWORDS="~x86 ~ppc ~amd64"
14
15 IUSE="X"
16
17 DEPEND="media-libs/libdvdread
18 media-video/lsdvd
19 X? ( dev-perl/perl-tk
20 dev-perl/Tk-JPEG-Lite
21 virtual/cdrtools
22 >=media-video/dvdauthor-0.6.5
23 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
24
25 S="${WORKDIR}/StreamDVD-${PV}"
26
27 src_unpack() {
28 unpack ${A}
29 cd "${S}" || die
30 use X && epatch "${FILESDIR}/${P}.patch"
31
32 epatch "${FILESDIR}/${P}-makefile.patch"
33 epatch "${FILESDIR}/${P}-gcc41.patch"
34 epatch "${FILESDIR}/${P}-libdvdread.patch"
35 epatch "${FILESDIR}/${P}-gcc43.patch"
36 }
37
38 src_compile() {
39 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages
40 }
41
42 src_install() {
43 dobin streamdvd streamanalyze
44 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
45 dodoc README
46 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
47 newdoc contrib/lsdvd/README README.lsdvd
48 newdoc contrib/StreamAnalyze/README README.streamanalyze
49 if use X
50 then
51 eval `perl '-V:installvendorlib'`
52 insinto "$installvendorlib/StreamDVD"
53 doins Gui/StreamDVD/*.pm
54 dobin Gui/StreamDVD.pl
55 dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink
56 newdoc Gui/README README.gui
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20