| 1 | # $Id: Portfile 48358 2009-03-19 20:07:14Z jeremyhu@macports.org $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name faac |
|---|
| 5 | version 1.28 |
|---|
| 6 | revision 2 |
|---|
| 7 | categories audio |
|---|
| 8 | maintainers pguyot@kallisys.net openmaintainer |
|---|
| 9 | description ISO AAC audio encoder |
|---|
| 10 | long_description FAAC is an AAC audio encoder. FAAC currently supports MPEG-4 \ |
|---|
| 11 | LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW \ |
|---|
| 12 | MPEG-2 object types. It also supports multichannel and \ |
|---|
| 13 | gapless encoding. |
|---|
| 14 | |
|---|
| 15 | homepage http://www.audiocoding.com/ |
|---|
| 16 | platforms darwin |
|---|
| 17 | master_sites sourceforge |
|---|
| 18 | checksums md5 80763728d392c7d789cde25614c878f6 \ |
|---|
| 19 | sha1 d00b023a3642f81bb1fb13d962a65079121396ee \ |
|---|
| 20 | rmd160 03902393488f04223aabdc804bfe77bb32a61c94 |
|---|
| 21 | |
|---|
| 22 | configure.cflags-append "-D__unix__" |
|---|
| 23 | |
|---|
| 24 | configure.args-append --without-mp4v2 |
|---|
| 25 | |
|---|
| 26 | depends_build port:libtool \ |
|---|
| 27 | port:autoconf \ |
|---|
| 28 | port:automake |
|---|
| 29 | |
|---|
| 30 | patchfiles configure.in-patch |
|---|
| 31 | patch.pre_args -p1 |
|---|
| 32 | |
|---|
| 33 | use_autoreconf yes |
|---|
| 34 | autoreconf.args -fvi |
|---|
| 35 | |
|---|
| 36 | livecheck.version ${name}-${version} |
|---|
| 37 | livecheck.distname faac-src |
|---|
| 38 | |
|---|
| 39 | variant mp4v2 description {Using MP4v2 library for MP4 support} { |
|---|
| 40 | configure.args-delete --without-mp4v2 |
|---|
| 41 | configure.args-append --with-mp4v2 |
|---|
| 42 | depends_lib-append port:libmp4v2 |
|---|
| 43 | } |
|---|