1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mplayer-devel |
---|
6 | version 28755 |
---|
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 | |
---|
34 | fetch.type svn |
---|
35 | svn.tag ${version} |
---|
36 | svn.url svn://svn.mplayerhq.hu/mplayer/trunk |
---|
37 | worksrcdir trunk |
---|
38 | |
---|
39 | # Do not use the following environment variables, otherwise the build phase |
---|
40 | # will fail. |
---|
41 | configure.cflags {} |
---|
42 | configure.cppflags {} |
---|
43 | configure.cxxflags {} |
---|
44 | configure.ldflags {} |
---|
45 | |
---|
46 | # Do not use pipes, otherwise the build phase will fail. |
---|
47 | configure.pipe no |
---|
48 | |
---|
49 | configure.args \ |
---|
50 | --disable-smb \ |
---|
51 | --with-extraincdir=${prefix}/lib/live \ |
---|
52 | --with-extralibdir=${prefix}lib/samba3 |
---|
53 | |
---|
54 | variant samba description {Enable Samba support} { |
---|
55 | depends_lib-append port:samba3 |
---|
56 | |
---|
57 | configure.args-append --enable-smb |
---|
58 | configure.args-delete --disable-smb |
---|
59 | } |
---|