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