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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name ssrc |
---|
7 | version 1.30 |
---|
8 | categories audio |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license LGPL-2.1 |
---|
12 | |
---|
13 | description A fast and high quality sampling rate converter SSRC |
---|
14 | |
---|
15 | long_description SSRC converts sampling rate of PCM wav file. Also, this program has \ |
---|
16 | a function to apply dither to its output and extend perceived dynamic range. \ |
---|
17 | Sampling rates of 44.1kHz and 48kHz are populary used, but ratio of these \ |
---|
18 | two frequency is 147:160, and it's not a small numbers. Therefore, sampling \ |
---|
19 | rate conversion without degradation of sound quality requires filter with very \ |
---|
20 | large order, and it's difficult to achive both quality and speed. This program \ |
---|
21 | achived relatively fast and high quality with two different kinds of filters \ |
---|
22 | combined skillfully. |
---|
23 | |
---|
24 | homepage http://shibatch.sourceforge.net/ |
---|
25 | master_sites ${homepage}download |
---|
26 | |
---|
27 | extract.suffix .tgz |
---|
28 | |
---|
29 | checksums sha1 0bd83caf06b34a9aae6c0e576aadcb20e62e82e0 \ |
---|
30 | rmd160 ffc0e0e8d7edfd8e3761e8a7523ede9bb496b3ca |
---|
31 | |
---|
32 | use_configure no |
---|
33 | |
---|
34 | variant universal {} |
---|
35 | if {[variant_isset universal]} { |
---|
36 | set archflags ${configure.universal_cflags} |
---|
37 | } else { |
---|
38 | set archflags ${configure.cc_archflags} |
---|
39 | } |
---|
40 | |
---|
41 | build.args CC=${configure.cc} CFLAGS="${configure.cflags} ${archflags}" |
---|
42 | |
---|
43 | destroot { |
---|
44 | xinstall -m 755 -W ${worksrcpath} \ |
---|
45 | ssrc \ |
---|
46 | ssrc_hp \ |
---|
47 | ${destroot}${prefix}/bin |
---|
48 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
49 | xinstall -m 644 -W ${worksrcpath} \ |
---|
50 | LGPL.txt \ |
---|
51 | history.txt \ |
---|
52 | ssrc.txt \ |
---|
53 | ${destroot}${prefix}/share/doc/${name} |
---|
54 | } |
---|
55 | |
---|
56 | livecheck.type regex |
---|
57 | livecheck.regex ${name}-(\[0-9.\]+)\\. |
---|