/[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.1.1 Revision 1.16
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2009 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.1.1 2005/11/30 09:57:49 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/streamdvd/streamdvd-0.4-r1.ebuild,v 1.16 2009/08/05 19:06:47 ssuominen 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
18 dev-perl/Tk-JPEG-Lite 20 dev-perl/Tk-JPEG-Lite
19 virtual/cdrtools 21 virtual/cdrtools
20 >=media-video/dvdauthor-0.6.5 22 >=media-video/dvdauthor-0.6.5
21 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )" 23 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
22 24
23S="${WORKDIR}/StreamDVD-${PV}" 25S=${WORKDIR}/StreamDVD-${PV}
24 26
25src_unpack() { 27src_unpack() {
26 unpack ${A} 28 unpack ${A}
27 cd ${S} || die 29 cd "${S}"
28 sed -i "s: -g -Wall : ${CFLAGS} :" Makefile
29 use X && 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
35 epatch "${FILESDIR}"/${P}-gcc43.patch
36 epatch "${FILESDIR}"/${P}-gcc44.patch
30} 37}
31 38
32src_compile() { 39src_compile() {
33 emake all addon || die # compile also optional packages 40 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages
34} 41}
35 42
36src_install() { 43src_install() {
37 dobin streamdvd streamanalyze 44 dobin streamdvd streamanalyze
38 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd 45 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
48 dobin Gui/StreamDVD.pl 55 dobin Gui/StreamDVD.pl
49 dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink 56 dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink
50 newdoc Gui/README README.gui 57 newdoc Gui/README README.gui
51 fi 58 fi
52} 59}
53

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

  ViewVC Help
Powered by ViewVC 1.1.20