Contents of /trunk/extras/transcode/transcode-1.0.6-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 2788 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 2788 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/transcode/transcode-1.0.6-r1.smage2,v 1.3 2008/08/11 16:10:51 niro Exp $ |
2 | |
3 | PNAME="transcode" |
4 | PVER="1.0.6" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="media-video" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="A video-stream processing tool." |
11 | HOMEPAGE="http://www.transcoding.org/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= dev-libs/lzo-2 |
15 | >= dev-libs/libxml2-2 |
16 | >= media-gfx/imagemagick-6.4 |
17 | >= media-libs/freetype-2 |
18 | >= media-libs/libjpeg-6b |
19 | >= media-libs/libdvdread-0.9.7 |
20 | >= media-libs/libfame-0.9.1 |
21 | >= media-sound/lame-3.97 |
22 | >= media-libs/libogg-1.1 |
23 | >= media-libs/libvorbis-1.1 |
24 | >= media-libs/libmpeg2-0.4 |
25 | >= media-libs/libmpeg3-1.7 |
26 | >= media-video/mjpegtools-1.8 |
27 | >= media-libs/a52dec-0.7 |
28 | >= media-video/ffmpeg-2008 |
29 | >= media-libs/xvid-1.1 |
30 | >= media-libs/libsdl-1.2 |
31 | >= x11-libs/libXaw-1 |
32 | >= x11-libs/libXv-1 |
33 | >= x11-libs/gtk1+-1.2" |
34 | |
35 | SDEPEND=">= virtual/kernel-headers |
36 | >= sys-apps/sed-4" |
37 | |
38 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
39 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
40 | |
41 | SRC_URI=( |
42 | http://fromani.exit1.org/${SRCFILE} |
43 | mirror://${PNAME}/${SRCFILE} |
44 | mirror://${PNAME}/${PNAME}-1.0.3-bigdir.patch |
45 | ) |
46 | |
47 | src_prepare() |
48 | { |
49 | munpack ${SRCFILE} || die |
50 | cd ${SRCDIR} |
51 | |
52 | # allow big directory pathes - upstream |
53 | mpatch ${PNAME}-1.0.3-bigdir.patch || die |
54 | |
55 | # fix doc dir |
56 | sed -i -e "s:\$(datadir)/doc/transcode:\$(datadir)/doc/${PNAME}-${PVER}:" \ |
57 | Makefile.am \ |
58 | docs/Makefile.am \ |
59 | docs/html/Makefile.am \ |
60 | docs/release-notes/Makefile.am \ |
61 | || die |
62 | |
63 | # fix hardcoded libdir |
64 | sed -i "s:^\(deflib=\).*:\1/$(mlibdir):" configure.in || die |
65 | |
66 | # fix linking issues with >=imagemagick-6.4 |
67 | sed -i "s:^ Magick,: MagickCore,:g" configure.in || die |
68 | |
69 | # rebuild makefiles and configure |
70 | autoreconf --verbose --install --force || die |
71 | } |
72 | |
73 | src_compile() |
74 | { |
75 | cd ${SRCDIR} |
76 | |
77 | mconfigure \ |
78 | --with-mod-path=/usr/$(mlibdir)/transcode \ |
79 | --with-libpostproc-builddir=/usr/$(mlibdir) \ |
80 | --disable-iconv \ |
81 | --enable-mmx \ |
82 | --enable-sse \ |
83 | --enable-sse2 \ |
84 | --enable-3dnow \ |
85 | --enable-netstream \ |
86 | --enable-freetype2 \ |
87 | --enable-imagemagick \ |
88 | --enable-libjpeg \ |
89 | --enable-libdvdread \ |
90 | --enable-v4l \ |
91 | --enable-lame \ |
92 | --enable-nuv \ |
93 | --enable-ogg \ |
94 | --enable-vorbis \ |
95 | --enable-lzo \ |
96 | --with-lzo-includes=/usr/include/lzo \ |
97 | --enable-libmpeg2 \ |
98 | --enable-libmpeg3 \ |
99 | --enable-libxml2 \ |
100 | --enable-mjpegtools \ |
101 | --enable-libfame \ |
102 | --enable-a52 \ |
103 | --enable-a52-default-decoder \ |
104 | --enable-sdl \ |
105 | --enable-gtk \ |
106 | --with-x \ |
107 | --with-default-xvid=xvid4 \ |
108 | --disable-avifile \ |
109 | --disable-xio \ |
110 | || die |
111 | |
112 | mmake || die |
113 | } |
114 | |
115 | src_install () |
116 | { |
117 | cd ${SRCDIR} |
118 | |
119 | mmake DESTDIR=${BINDIR} install || die |
120 | |
121 | # causes dvdrip to hang |
122 | rm ${BINDIR}/usr/$(mlibdir)/transcode/filter_logo.* || die |
123 | rm ${BINDIR}/usr/$(mlibdir)/transcode/filter_compare.* || die |
124 | |
125 | minstalldocs AUTHORS ChangeLog Copyright LICENSE README || die |
126 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |