1 | PortSystem 1.0 |
---|
2 | name transcode |
---|
3 | version 1.1.0-pre-01 |
---|
4 | categories multimedia |
---|
5 | maintainers cremes@mac.com, liontooth@cogweb.net |
---|
6 | description Video and audio processing tools |
---|
7 | long_description transcode is a suite of tools, all of which are \ |
---|
8 | command line utilities, for transcoding various \ |
---|
9 | video, audio, and container formats, running on a \ |
---|
10 | platform that supports shared libraries and threads.\ |
---|
11 | \ |
---|
12 | Decoding and encoding is done by modules that are \ |
---|
13 | responsible for feeding transcode with raw video/ \ |
---|
14 | audio streams (import modules) and encoding the frames \ |
---|
15 | (export modules). \ |
---|
16 | \ |
---|
17 | It includes a variety of video and audio filters, \ |
---|
18 | including (but not limited to) video de-interlacing, \ |
---|
19 | audio resampling, framerate conversion, different \ |
---|
20 | resizing algorithms, smoothing, sharpening, denoisifying, \ |
---|
21 | and cutting. |
---|
22 | |
---|
23 | homepage http://www.transcoding.org |
---|
24 | |
---|
25 | fetch.type cvs |
---|
26 | cvs.root :pserver:cvs@cvs.exit1.org:/cvstc |
---|
27 | #cvs.tag HEAD |
---|
28 | cvs.date 20070516 |
---|
29 | cvs.module ${name} |
---|
30 | worksrcdir ${name} |
---|
31 | |
---|
32 | depends_lib port:automake \ |
---|
33 | port:autoconf \ |
---|
34 | port:libtool \ |
---|
35 | port:ffmpeg \ |
---|
36 | port:libmpeg2 \ |
---|
37 | port:libdvdread \ |
---|
38 | port:libjpeg \ |
---|
39 | port:lame |
---|
40 | |
---|
41 | pre-configure { cd ${worksrcpath} |
---|
42 | system "LIBTOOLIZE=glibtoolize autoreconf -i -f" |
---|
43 | } |
---|
44 | |
---|
45 | platforms darwin |
---|
46 | |
---|
47 | configure.args --disable-mmx \ |
---|
48 | --disable-altivec \ |
---|
49 | --with-libavcodec-prefix=${prefix} \ |
---|
50 | --with-libmpeg2-prefix=${prefix} \ |
---|
51 | --with-libdvdread-prefix=${prefix} \ |
---|
52 | --with-libjpeg-prefix=${prefix} \ |
---|
53 | --with-lame-prefix=${prefix} |
---|
54 | |
---|
55 | # Optional components |
---|
56 | |
---|
57 | variant a52dec { |
---|
58 | depends_lib-append port:a52dec |
---|
59 | configure.args-append --enable-a52 --enable-a52-default-decoder --with-a52-prefix=${prefix} |
---|
60 | } |
---|
61 | |
---|
62 | variant faac { |
---|
63 | depends_lib-append port:faac |
---|
64 | configure.args-append --enable-faac --with-faac-prefix=${prefix} |
---|
65 | } |
---|
66 | |
---|
67 | variant faad2 { |
---|
68 | depends_lib-append port:faad2 |
---|
69 | configure.args-append --enable-faad --with-faad-prefix=${prefix} |
---|
70 | } |
---|
71 | |
---|
72 | variant freetype { |
---|
73 | depends_lib-append port:freetype |
---|
74 | configure.args-append --enable-freetype2 --with-freetype2-prefix=${prefix} |
---|
75 | } |
---|
76 | |
---|
77 | variant imagemagick { |
---|
78 | depends_lib-append port:ImageMagick |
---|
79 | configure.args-append --enable-imagemagick --with-imagemagick-prefix=${prefix} |
---|
80 | } |
---|
81 | |
---|
82 | variant libdv { |
---|
83 | depends_lib-append port:libdv |
---|
84 | configure.args-append --enable-libdv --with-libdv-prefix=${prefix} |
---|
85 | } |
---|
86 | |
---|
87 | variant libogg { |
---|
88 | depends_lib-append port:libogg |
---|
89 | configure.args-append --enable-ogg --with-ogg-prefix=${prefix} |
---|
90 | } |
---|
91 | |
---|
92 | variant libsdl { |
---|
93 | depends_lib-append port:libsdl |
---|
94 | configure.args-append --enable-sdl --with-sdl-prefix=${prefix} |
---|
95 | } |
---|
96 | |
---|
97 | variant libtheora { |
---|
98 | depends_lib-append port:libtheora |
---|
99 | configure.args-append --enable-theora --with-theora-prefix=${prefix} |
---|
100 | } |
---|
101 | |
---|
102 | variant libvorbis { |
---|
103 | depends_lib-append port:libvorbis |
---|
104 | configure.args-append --enable-vorbis --with-vorbis-prefix=${prefix} |
---|
105 | } |
---|
106 | |
---|
107 | variant libxml2 { |
---|
108 | depends_lib-append port:libxml2 |
---|
109 | configure.args-append --enable-libxml2 --with-libxml2-prefix=${prefix} |
---|
110 | } |
---|
111 | |
---|
112 | variant x264 { |
---|
113 | depends_lib-append port:x264 |
---|
114 | configure.args-append --enable-x264 --with-x264-prefix=${prefix} |
---|
115 | } |
---|
116 | |
---|
117 | variant xvid { |
---|
118 | depends_lib-append port:XviD |
---|
119 | configure.args-append --enable-xvid --with-xvid-prefix=${prefix} |
---|
120 | } |
---|
121 | |
---|