/[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.7 Revision 1.14
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2007 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.7 2005/01/22 21:12:37 luckyduck Exp $ 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
5inherit eutils toolchain-funcs
4 6
5DESCRIPTION="fast tool to backup Video DVDs 'on the fly'" 7DESCRIPTION="fast tool to backup Video DVDs 'on the fly'"
6HOMEPAGE="http://www.badabum.de/streamdvd.html" 8HOMEPAGE="http://www.badabum.de/streamdvd.html"
7SRC_URI="http://www.badabum.de/down/${P}.tar.gz" 9SRC_URI="http://www.badabum.de/down/${P}.tar.gz"
8 10
9LICENSE="GPL-2" 11LICENSE="GPL-2"
10SLOT="0" 12SLOT="0"
11KEYWORDS="~x86 ~ppc ~amd64" 13KEYWORDS="~x86 ~ppc ~amd64"
12 14
13IUSE="gui" 15IUSE="X"
14 16
15DEPEND="media-libs/libdvdread 17DEPEND="media-libs/libdvdread
18 media-video/lsdvd
16 gui? ( dev-perl/perl-tk 19 X? ( dev-perl/perl-tk
17 dev-perl/Tk-JPEG-Lite 20 dev-perl/Tk-JPEG-Lite
18 virtual/cdrtools 21 virtual/cdrtools
19 >=media-video/dvdauthor-0.6.5 22 >=media-video/dvdauthor-0.6.5
20 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )" 23 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
21 24
22S="${WORKDIR}/StreamDVD-${PV}" 25S="${WORKDIR}/StreamDVD-${PV}"
23 26
24src_unpack() { 27src_unpack() {
25 unpack ${A} 28 unpack ${A}
26 cd ${S} || die 29 cd "${S}" || die
27 sed -i "s: -g -Wall : ${CFLAGS} :" Makefile
28 use gui && epatch "${FILESDIR}/${P}.patch" 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"
29} 35}
30 36
31src_compile() { 37src_compile() {
32 emake all addon || die # compile also optional packages 38 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages
33} 39}
34 40
35src_install() { 41src_install() {
36 dobin streamdvd streamanalyze 42 dobin streamdvd streamanalyze
37 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd 43 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
38 dodoc COPYING README 44 dodoc README
39 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd 45 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
40 newdoc contrib/lsdvd/README README.lsdvd 46 newdoc contrib/lsdvd/README README.lsdvd
41 newdoc contrib/StreamAnalyze/README README.streamanalyze 47 newdoc contrib/StreamAnalyze/README README.streamanalyze
42 if use gui 48 if use X
43 then 49 then
44 eval `perl '-V:installvendorlib'` 50 eval `perl '-V:installvendorlib'`
45 insinto "$installvendorlib/StreamDVD" 51 insinto "$installvendorlib/StreamDVD"
46 doins Gui/StreamDVD/*.pm 52 doins Gui/StreamDVD/*.pm
47 dobin Gui/StreamDVD.pl 53 dobin Gui/StreamDVD.pl
48 dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink 54 dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink
49 newdoc Gui/README README.gui 55 newdoc Gui/README README.gui
50 fi 56 fi
51} 57}
52

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20