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

Last change on this file since 37840 was 37840, checked in by ecronin@…, 12 years ago

multimedia/transcode: Fix brokenness due to use of 'cd' command. Closes #15637

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.7 KB
Line 
1# $Id: Portfile 37840 2008-06-25 16:56:28Z ecronin@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       {
47            system "cd ${worksrcpath} && \
48                    LIBTOOLIZE=glibtoolize autoreconf -i -f"
49            }
50
51platforms       darwin
52
53configure.args  --disable-mmx \
54                --disable-altivec \
55                --with-libavcodec-prefix=${prefix} \
56                --with-libmpeg2-prefix=${prefix} \
57                --with-libdvdread-prefix=${prefix} \
58                --with-libjpeg-prefix=${prefix} \
59                --with-lame-prefix=${prefix}
60
61# Optional components
62
63variant a52dec {
64    depends_lib-append port:a52dec
65    configure.args-append --enable-a52 --enable-a52-default-decoder --with-a52-prefix=${prefix}
66}
67
68variant faac {
69    depends_lib-append port:faac
70    configure.args-append --enable-faac --with-faac-prefix=${prefix}
71}
72
73variant faad2 {
74    depends_lib-append port:faad2
75    configure.args-append --enable-faad --with-faad-prefix=${prefix}
76}
77
78variant freetype {
79    depends_lib-append port:freetype
80    configure.args-append --enable-freetype2 --with-freetype2-prefix=${prefix}
81}
82
83variant imagemagick {
84    depends_lib-append port:ImageMagick
85    configure.args-append --enable-imagemagick --with-imagemagick-prefix=${prefix}
86}
87
88variant libdv {
89    depends_lib-append port:libdv
90    configure.args-append --enable-libdv --with-libdv-prefix=${prefix}
91}
92
93variant libogg {
94    depends_lib-append port:libogg
95    configure.args-append --enable-ogg --with-ogg-prefix=${prefix}
96}
97
98variant libsdl {
99    depends_lib-append port:libsdl
100    configure.args-append --enable-sdl --with-sdl-prefix=${prefix}
101}
102
103variant libtheora {
104    depends_lib-append port:libtheora
105    configure.args-append --enable-theora --with-theora-prefix=${prefix}
106}
107
108variant libvorbis {
109    depends_lib-append port:libvorbis
110    configure.args-append --enable-vorbis --with-vorbis-prefix=${prefix}
111}
112
113variant libxml2 {
114    depends_lib-append port:libxml2
115    configure.args-append --enable-libxml2 --with-libxml2-prefix=${prefix}
116}
117
118variant x264 {
119    depends_lib-append port:x264
120    configure.args-append --enable-x264 --with-x264-prefix=${prefix}
121}
122
123variant xvid {
124    depends_lib-append port:XviD
125    configure.args-append --enable-xvid --with-xvid-prefix=${prefix}
126}
127
Note: See TracBrowser for help on using the repository browser.