1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 78859 2011-05-24 15:57:51Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | #PortGroup muniversal 1.0 |
---|
6 | |
---|
7 | name baresip |
---|
8 | version 0.3.0 |
---|
9 | revision 1 |
---|
10 | categories net |
---|
11 | platforms darwin |
---|
12 | maintainers db.org:aeh |
---|
13 | |
---|
14 | description portable and modular SIP User-Agent \ |
---|
15 | with audio and video support |
---|
16 | |
---|
17 | long_description ${name} is a ${description}. |
---|
18 | |
---|
19 | homepage http://www.creytiv.com/ |
---|
20 | master_sites ${homepage}pub/ |
---|
21 | |
---|
22 | checksums sha1 7be0c3c62a1f98beab9317842c84e72b829b67cf \ |
---|
23 | rmd160 6150b2c6f93990fb787aa7c512156818b4928254 |
---|
24 | |
---|
25 | depends_lib port:libre port:librem \ |
---|
26 | port:spandsp-devel \ |
---|
27 | path:bin/ffmpeg:ffmpeg |
---|
28 | |
---|
29 | # ffmpeg is not universal |
---|
30 | universal_variant no |
---|
31 | |
---|
32 | use_configure no |
---|
33 | |
---|
34 | build.args PREFIX=${prefix} \ |
---|
35 | SYSROOT_ALT=${prefix} \ |
---|
36 | MOD_AUTODETECT= \ |
---|
37 | USE_CONS=1 \ |
---|
38 | USE_COREAUDIO=1 \ |
---|
39 | USE_FFMPEG=1 \ |
---|
40 | USE_G711=1 \ |
---|
41 | USE_G722=1 \ |
---|
42 | USE_OPENGL=1 \ |
---|
43 | USE_QTCAPTURE=1 \ |
---|
44 | USE_STDIO=1 \ |
---|
45 | USE_UUID=1 \ |
---|
46 | LIBRE_MK=${prefix}/share/re/re.mk \ |
---|
47 | LIBRE_INC=${prefix}/include/re \ |
---|
48 | LIBRE_SO=${prefix}/lib \ |
---|
49 | EXTRA_CFLAGS=-I${prefix}/include/rem |
---|
50 | destroot.args ${build.args} |
---|
51 | |
---|
52 | if {[tbool configure.ccache]} { |
---|
53 | build.env-append CCACHE=ccache |
---|
54 | } |
---|
55 | |
---|
56 | #if {[variant_isset universal]} { |
---|
57 | # foreach arch ${configure.universal_archs} { |
---|
58 | # lappend merger_build_env(${arch}) CC='${configure.cc} -arch ${arch}' |
---|
59 | # lappend merger_destroot_env(${arch}) CC='${configure.cc} -arch ${arch}' |
---|
60 | # } |
---|
61 | #} else { |
---|
62 | build.env-append CC='${configure.cc} ${configure.cc_archflags}' |
---|
63 | destroot.env-append CC='${configure.cc} ${configure.cc_archflags}' |
---|
64 | #} |
---|