/[gentoo-x86]/media-video/mpeg-movie/mpeg-movie-1.6.0.ebuild
Gentoo

Contents of /media-video/mpeg-movie/mpeg-movie-1.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sat Apr 27 12:13:06 2002 UTC (18 years, 5 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
cleanup

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/media-video/mpeg-movie/mpeg-movie-1.6.0.ebuild,v 1.10 2001/06/03 09:54:22 achim Exp $
5
6 P=mpeg-movie-1.6.0
7 A=mpeg_movie-1.6.0.tar.gz
8 S=${WORKDIR}/mpeg_movie
9 DESCRIPTION="Tools for MPEG-I movies"
10 SRC_URI="http://heroine.linuxave.net/${A}"
11 HOMEPAGE="http://heroine.linuxave.net/toys.html"
12
13 DEPEND="virtual/glibc
14 >=sys-devel/gcc-2.95.2
15 >=media-libs/jpeg-6b
16 >=media-libs/libsdl-1.1.5
17 virtual/x11"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 for i in video_in video_out
23 do
24 cd ${S}/${i}
25 cp Makefile Makefile.orig
26 sed -e "s:gnu/types\.h:bits/types\.h:" \
27 -e "s:stdio_lim\.h:bits/stdio_lim\.h:" \
28 -e "s:bytesex\.h::" \
29 -e "s:selectbits\.h::" \
30 -e "s:huge_val\.h:bits/huge_val\.h:" \
31 -e "s:mathcalls\.h:bits/mathcalls\.h:" \
32 -e "s:posix1_lim\.h:bits/posix1_lim\.h:" \
33 -e "s:posix2_lim\.h:bits/posix2_lim\.h:" \
34 -e "s:posix_opt\.h:bits/posix_opt\.h:" \
35 -e "s:local_lim\.h:bits/local_lim\.h:" \
36 -e "s:socketbits\.h::" \
37 -e "s:sockaddrcom\.h::" \
38 -e "s:errnos\.h::" \
39 -e "s:statbuf\.h::" \
40 -e "s:ipc_buf\.h::" \
41 -e "s:shm_buf\.h::" \
42 -e "s:timebits\.h::" \
43 -e "s:confname\.h:bits/confname\.h:" \
44 -e "s:sigset\.h:bits/sigset\.h:" \
45 -e "s:signum\.h:bits/signum\.h:" \
46 -e "s:sigaction\.h:bits/sigaction\.h:" \
47 -e "s:asm/sigcontext\.h:bits/sigcontext\.h:" \
48 -e "s:include/sigcontext\.h:include/bits/sigcontext\.h:" \
49 -e "s:/usr/lib/X11:/usr/X11R6/lib:" \
50 Makefile.orig > Makefile
51
52 done
53 cd ${S}/audio_out
54 cp GNUmake GNUmake.orig
55 sed -e "s:SDL_DIR += /usr/local:SDL_DIR += /usr:" GNUmake.orig > GNUmake
56 if [ "`use nas`" ] ; then
57 cp GNUmake GNUmake.orig
58 sed -e "s#^SDLLIB := -L#SDLLIB := -L/usr/X11R6/lib -lXt -L#" GNUmake.orig > GNUmake
59 fi
60
61 }
62 src_compile() {
63 try make
64
65 }
66
67 src_install () {
68
69 into /usr
70 newbin audio_in/encode mpeg_audio_encode
71 newbin audio_out/plaympeg mpeg_audio_play
72 newbin mplex_in/mplex mpeg_mplex
73 newbin mplex_out/dmplex mpeg_dmplex
74 newbin video_in/mpeg_encode mpeg_video_encode
75 dobin video_out/mpeg_play
76
77 dodoc docs/*.txt
78 docinto html
79 dodoc docs/index.html
80 docinto html/quicktime
81 dodoc quicktime4linux/src/docs/*.html
82 }
83
84
85
86
87

  ViewVC Help
Powered by ViewVC 1.1.20