1 | |
---|
2 | PortSystem 1.0 |
---|
3 | name mpd |
---|
4 | version 0.12.2 |
---|
5 | categories audio |
---|
6 | maintainers ehainry@free.fr |
---|
7 | description Music Player Daemon |
---|
8 | long_description \ |
---|
9 | Music Player Daemon (MPD) allows remote access for playing music \ |
---|
10 | (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing \ |
---|
11 | playlists. MPD is designed for integrating a computer into a stereo \ |
---|
12 | system that provides control for music playback over a local network. \ |
---|
13 | It also makes a great desktop music player, especially if you are a \ |
---|
14 | console junkie, like frontend options, or restart X often. |
---|
15 | homepage http://www.musicpd.org/ |
---|
16 | platforms darwin |
---|
17 | master_sites ${homepage}/uploads/files/ |
---|
18 | checksums md5 6c724ed2efb70f8d2e3adfc370efe2ea |
---|
19 | sha1 7aa35a7c0c0e1251b191abd80ed7f884cb5218f8 |
---|
20 | depends_lib lib:libmad.0:libmad \ |
---|
21 | lib:libid3tag.0:libid3tag \ |
---|
22 | port:libiconv port:pkgconfig port:zlib \ |
---|
23 | port:libogg port:libvorbis \ |
---|
24 | port:libao |
---|
25 | configure.args --mandir=${prefix}/share/man --enable-id3 --enable-ao \ |
---|
26 | --disable-flac --disable-aac |
---|
27 | configure.env CFLAGS="-I${prefix}/include" \ |
---|
28 | LDFLAGS="-L${prefix}/lib" |
---|
29 | default_variants +aac |
---|
30 | variant aac { |
---|
31 | depends_lib-append port:faad2 |
---|
32 | configure.args-delete --disable-aac |
---|
33 | configure.args-append --enable-aac |
---|
34 | } |
---|
35 | variant flac { |
---|
36 | # variant flac is broken: it does not compile with flac > 1.1.2 |
---|
37 | depends_lib-append port:flac |
---|
38 | configure.args-delete --disable-flac |
---|
39 | configure.args-append --enable-flac |
---|
40 | } |
---|
41 | platform macosx { |
---|
42 | configure.args-delete --enable-ao |
---|
43 | configure.args-append --disable-ao |
---|
44 | depends_lib-delete port:libao |
---|
45 | } |
---|
46 | |
---|
47 | |
---|