source: trunk/dports/multimedia/transcode/Portfile @ 35280

Last change on this file since 35280 was 35280, checked in by jmr@…, 13 years ago

transcode: update from maintainer, see #14764.

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