Contents of /trunk/extras/transcode/transcode-1.1.5-r1.smage2
Parent Directory | Revision Log
Revision 4360 -
(show annotations)
(download)
Wed Dec 2 23:20:26 2009 UTC (14 years, 5 months ago) by niro
File size: 2762 byte(s)
Wed Dec 2 23:20:26 2009 UTC (14 years, 5 months ago) by niro
File size: 2762 byte(s)
-removed deprecated patches
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://download.berlios.de/tcforge/${SRCFILE} |
44 | http://fromani.exit1.org/${SRCFILE} |
45 | mirror://${PNAME}/${SRCFILE} |
46 | ) |
47 | |
48 | UP2DATE="updatecmd_berlios tcforge ${PNAME}" |
49 | |
50 | src_prepare() |
51 | { |
52 | munpack ${SRCFILE} || die |
53 | cd ${SRCDIR} |
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 | --enable-deprecated \ |
81 | --enable-experimental \ |
82 | --disable-iconv \ |
83 | --enable-mmx \ |
84 | --enable-sse \ |
85 | --enable-sse2 \ |
86 | --enable-3dnow \ |
87 | --enable-netstream \ |
88 | --enable-freetype2 \ |
89 | --enable-imagemagick \ |
90 | --enable-libjpeg \ |
91 | --enable-libdvdread \ |
92 | --enable-v4l \ |
93 | --enable-lame \ |
94 | --enable-nuv \ |
95 | --enable-ogg \ |
96 | --enable-vorbis \ |
97 | --enable-lzo \ |
98 | --with-lzo-includes=/usr/include/lzo \ |
99 | --enable-libmpeg2 \ |
100 | --enable-libmpeg3 \ |
101 | --enable-libxml2 \ |
102 | --enable-mjpegtools \ |
103 | --enable-libfame \ |
104 | --enable-a52 \ |
105 | --enable-a52-default-decoder \ |
106 | --enable-sdl \ |
107 | --enable-x264 \ |
108 | --enable-theora \ |
109 | --with-x \ |
110 | --with-default-xvid=xvid4 \ |
111 | --disable-avifile \ |
112 | --disable-xio \ |
113 | || die |
114 | |
115 | mmake || die |
116 | } |
117 | |
118 | src_install () |
119 | { |
120 | cd ${SRCDIR} |
121 | |
122 | mmake DESTDIR=${BINDIR} install || die |
123 | |
124 | # causes dvdrip to hang |
125 | rm ${BINDIR}/usr/$(mlibdir)/transcode/filter_logo.* || die |
126 | rm ${BINDIR}/usr/$(mlibdir)/transcode/filter_compare.* || die |
127 | |
128 | minstalldocs AUTHORS ChangeLog Copyright LICENSE README || die |
129 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |