summaryrefslogtreecommitdiff
blob: cf586494cfbf95735bc42a9148d13d6be4a6214b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-video/bcast-2000/bcast-2000a-r1.ebuild,v 1.3 2000/09/15 20:09:05 drobbins Exp $

P=bcast-2000a
A=${P}-src.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Realtime audio and video editor"
SRC_URI="http://heroine.linuxave.net/${A}"
HOMEPAGE="http://heroine.linuxave.net/bcast2000.html"

src_unpack() {
  unpack ${A}
  cd ${S}/esound
  cp esd.h esd.h.orig 
  sed -e "s:<audiofile\.h>:\"\.\./audiofile/audiofile\.h\":" esd.h.orig > esd.h
  cd ${S}/quicktime/libdv
  cp dvprivate.h dvprivate.h.orig
  sed -e "s:<libraw1394/raw1394\.h>:\"\.\./\.\./libraw1394/raw1394\.h\":" dvprivate.h.orig > dvprivate.h
}
src_compile() {

    cd ${S}
    try ./configure
    try make

}

src_install () {

    cd ${S}
    into /usr
    dobin bcast/bcast2000
    dolib.so bcbase/libbcbase.so
    insinto /usr/X11R6/lib/bcast2000a/plugins
    doins plugins/*.plugin
    dodoc COPYING
    docinto html
    dodoc docs/*.html docs/*.png docs/*.jpg
    	

}