1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name mumble |
---|
5 | version 1.1.7 |
---|
6 | categories aqua audio |
---|
7 | maintainers nomaintainer |
---|
8 | description low-latency voice chat for gaming |
---|
9 | long_description \ |
---|
10 | Mumble is an open source, low-latency, high quality \ |
---|
11 | voice chat software primarily intended for use while gaming. |
---|
12 | homepage http://mumble.sourceforge.net/ |
---|
13 | platforms macosx |
---|
14 | |
---|
15 | master_sites sourceforge:mumble |
---|
16 | checksums md5 5a382d5c065bb264abfe240ca6f03ddc |
---|
17 | distname mumble-${version} |
---|
18 | |
---|
19 | livecheck.check regex |
---|
20 | livecheck.url ${homepage} |
---|
21 | livecheck.regex ">Latest version: (.*?)<" |
---|
22 | |
---|
23 | depends_lib \ |
---|
24 | port:qt4-mac \ |
---|
25 | port:openssl \ |
---|
26 | port:portaudio |
---|
27 | |
---|
28 | depends_build \ |
---|
29 | port:boost |
---|
30 | |
---|
31 | configure.cmd qmake-mac |
---|
32 | configure.pre_args CONFIG+=\" |
---|
33 | configure.post_args \" DEFINES+=NO_UPDATE_CHECK |
---|
34 | configure.args release no-dbus no-universal no-server |
---|
35 | |
---|
36 | variant dbus description {Build DBus support} { |
---|
37 | configure.args-delete no-dbus |
---|
38 | } |
---|
39 | |
---|
40 | variant universal { |
---|
41 | configure.args-delete no-universal |
---|
42 | } |
---|
43 | |
---|
44 | pre-build { |
---|
45 | system "sed -i '' -e 's,a.setLibraryPaths(QStringList());,a.setLibraryPaths(QStringList(\"${prefix}/libexec/qt4-mac/plugins\"));,' ${worksrcpath}/src/mumble/main.cpp" |
---|
46 | } |
---|
47 | |
---|
48 | build { |
---|
49 | system "cd ${worksrcpath} && make" |
---|
50 | } |
---|
51 | |
---|
52 | destroot { |
---|
53 | set appPath ${destroot}/Applications/MacPorts |
---|
54 | file mkdir ${appPath} |
---|
55 | file copy ${worksrcpath}/release/Mumble.app ${appPath}/Mumble.app |
---|
56 | file copy ${worksrcpath}/release/plugins ${appPath}/Mumble.app/Contents/Plugins |
---|
57 | } |
---|