blob: b7be9dd9e958c71a0f1e4d066ff6b8790bce8afc (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# 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/bcast-2000c.ebuild,v 1.1 2001/05/10 12:15:52 achim Exp $
A=${P}-src.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Realtime audio and video editor"
SRC_URI="ftp://heroines.sourceforge.net/pub/heroines/${A}"
HOMEPAGE="http://heroines.sourceforge.net/"
DEPEND="virtual/glibc
>=sys-devel/gcc-2.95.2
>=media-sound/esound-0.2.19
>=media-libs/jpeg-6b
>=media-libs/tiff-3.5.5
>=media-libs/libpng-1.0.7
virtual/x11"
src_unpack() {
unpack ${A}
cd ${S}/bcast
cp main.C main.C.orig
sed -e "s:/usr/local/bcast/plugins:/usr/X11R6/lib/bcast/plugins:" \
main.C.orig > main.C
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
dolib.so guicast/libguicast.so
insopts -m 755
insinto /usr/X11R6/lib/bcast/plugins
doins plugins/*.plugin
dodoc COPYING
docinto html
dodoc docs/*.html docs/*.png docs/*.jpg
}
|