1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name phonon |
---|
6 | version 4.2 |
---|
7 | revision 863771-svn |
---|
8 | categories kde4 |
---|
9 | maintainers nomaintainer |
---|
10 | description Cross Platform Multimedia API used by KDE4 |
---|
11 | long_description Cross Platform Multimedia API used by KDE4 |
---|
12 | homepage http://phonon.kde.org |
---|
13 | platforms darwin |
---|
14 | master_sites http://anonsvn.kde.org |
---|
15 | distname 4.2 |
---|
16 | |
---|
17 | fetch.type svn |
---|
18 | svn.url svn://anonsvn.kde.org/home/kde/branches/${name}/${version} |
---|
19 | |
---|
20 | depends_lib port:qt4-mac |
---|
21 | |
---|
22 | depends_build port:cmake port:automoc4 |
---|
23 | |
---|
24 | use_parallel_build yes |
---|
25 | |
---|
26 | worksrcdir build |
---|
27 | pre-configure { file mkdir ${worksrcpath} } |
---|
28 | configure.cmd cmake |
---|
29 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
30 | -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ |
---|
31 | -DCMAKE_BUILD_TYPE:STRING=Release \ |
---|
32 | -DCMAKE_SYSTEM_PREFIX_PATH:STRING=\"/opt/local\;/usr\" \ |
---|
33 | -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ |
---|
34 | -Wno-dev |
---|
35 | |
---|
36 | variant universal description "Compile for ppc and intel architectures" { |
---|
37 | configure.universal_args-delete --disable-dependency-tracking |
---|
38 | configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\" |
---|
39 | } |
---|
40 | |
---|
41 | variant debug description "Enable debug binaries" { |
---|
42 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
43 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
44 | |
---|
45 | } |
---|