1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mplayer-devel |
---|
6 | version 29181 |
---|
7 | revision 0 |
---|
8 | categories multimedia |
---|
9 | maintainers ecronin openmaintainer |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description MPlayer is a movie player which runs on many systems. |
---|
13 | long_description ${description} It plays most MPEG/VOB, AVI, Ogg/OGM, \ |
---|
14 | VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, \ |
---|
15 | NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, \ |
---|
16 | supported by many native, XAnim, and Win32 DLL codecs. \ |
---|
17 | You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV \ |
---|
18 | and even H.264 movies. |
---|
19 | homepage http://www.mplayerhq.hu/ |
---|
20 | |
---|
21 | livecheck.check none |
---|
22 | |
---|
23 | depends_build port:pkgconfig port:yasm |
---|
24 | depends_lib \ |
---|
25 | path:include/gif_lib.h:giflib \ |
---|
26 | port:jpeg \ |
---|
27 | port:libiconv \ |
---|
28 | port:libmng \ |
---|
29 | port:libpng \ |
---|
30 | port:live555 \ |
---|
31 | port:lzo2 \ |
---|
32 | port:ncurses \ |
---|
33 | port:x264 \ |
---|
34 | port:lame \ |
---|
35 | port:zlib \ |
---|
36 | port:fontconfig \ |
---|
37 | port:freetype \ |
---|
38 | port:bzip2 \ |
---|
39 | port:libmad \ |
---|
40 | port:speex \ |
---|
41 | port:libtheora \ |
---|
42 | port:libogg \ |
---|
43 | port:liboil \ |
---|
44 | port:dirac \ |
---|
45 | port:schroedinger \ |
---|
46 | port:faac \ |
---|
47 | port:xorg-libX11 |
---|
48 | |
---|
49 | fetch.type svn |
---|
50 | svn.tag ${version} |
---|
51 | svn.url svn://svn.mplayerhq.hu/mplayer/trunk |
---|
52 | worksrcdir trunk |
---|
53 | |
---|
54 | fetch { |
---|
55 | system "svn export -r${version} --ignore-externals svn://svn.mplayerhq.hu/mplayer/trunk ${worksrcpath}/" |
---|
56 | system "svn export -r1167 svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav/src ${worksrcpath}/libdvdnav/" |
---|
57 | system "svn export -r1167 svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread/src ${worksrcpath}/libdvdread4/" |
---|
58 | system "svn export -r18522 svn://svn.ffmpeg.org/ffmpeg/trunk/libavcodec ${worksrcpath}/libavcodec/" |
---|
59 | system "svn export -r18522 svn://svn.ffmpeg.org/ffmpeg/trunk/libavutil ${worksrcpath}/libavutil/" |
---|
60 | system "svn export -r18522 svn://svn.ffmpeg.org/ffmpeg/trunk/libavformat ${worksrcpath}/libavformat/" |
---|
61 | system "svn export -r18522 svn://svn.ffmpeg.org/ffmpeg/trunk/libpostproc ${worksrcpath}/libpostproc/" |
---|
62 | } |
---|
63 | # Do not use the following environment variables, otherwise the build phase |
---|
64 | # will fail. |
---|
65 | configure.cflags {} |
---|
66 | configure.cppflags {} |
---|
67 | configure.cxxflags {} |
---|
68 | configure.ldflags {} |
---|
69 | |
---|
70 | # Do not use pipes, otherwise the build phase will fail. |
---|
71 | configure.pipe no |
---|
72 | |
---|
73 | configure.args \ |
---|
74 | --disable-smb |
---|
75 | |
---|
76 | variant samba description {Enable Samba support} { |
---|
77 | depends_lib-append port:samba3 |
---|
78 | |
---|
79 | configure.args-append --enable-smb |
---|
80 | configure.args-delete --disable-smb |
---|
81 | } |
---|