/[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.10 Revision 1.11
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2006 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.10 2005/10/30 23:24:02 flameeyes Exp $ 3# $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
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
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} || die
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"
30} 34}
31 35
32src_compile() { 36src_compile() {
33 emake all addon || die # compile also optional packages 37 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages
34} 38}
35 39
36src_install() { 40src_install() {
37 dobin streamdvd streamanalyze 41 dobin streamdvd streamanalyze
38 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd 42 newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20