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 darkice |
---|
7 | version 1.2 |
---|
8 | categories audio |
---|
9 | platforms darwin freebsd |
---|
10 | maintainers syndicat.com:nd |
---|
11 | |
---|
12 | description live audio encoder and streamer |
---|
13 | |
---|
14 | long_description DarkIce is a live audio streamer. It records audio from \ |
---|
15 | an audio interface (e.g. sound card), encodes it and \ |
---|
16 | sends it to a streaming server (i.e. IceCast, ShoutCast...). |
---|
17 | |
---|
18 | homepage http://www.darkice.org/ |
---|
19 | master_sites googlecode \ |
---|
20 | ${homepage}download/ |
---|
21 | |
---|
22 | checksums sha256 b3fba9be2d9c72f36b0659cd9ce0652c8f973b5c6498407f093da9a364fdb254 \ |
---|
23 | rmd160 cc627a716efc49275f3dc3e56011c4d62d0b176d |
---|
24 | |
---|
25 | |
---|
26 | default_variants +jack +lame |
---|
27 | |
---|
28 | variant jack description {Add JACK Audio connectivity} { |
---|
29 | depends_lib-append \ |
---|
30 | port:jack |
---|
31 | configure.args-append \ |
---|
32 | --with-jack-prefix=${prefix} \ |
---|
33 | --with-jack |
---|
34 | } |
---|
35 | |
---|
36 | variant lame description {Add LAME encoding} { |
---|
37 | depends_lib-append \ |
---|
38 | port:lame |
---|
39 | configure.args-append \ |
---|
40 | --with-lame-prefix=${prefix} \ |
---|
41 | --with-lame |
---|
42 | } |
---|
43 | |
---|
44 | variant twolame description {Add TWOLAME encoding} { |
---|
45 | depends_lib-append \ |
---|
46 | port:twolame |
---|
47 | configure.args-append \ |
---|
48 | --with-twolame-prefix=${prefix} \ |
---|
49 | --with-twolame |
---|
50 | } |
---|
51 | |
---|
52 | variant faac description {Add FAAC encoding} { |
---|
53 | depends_lib-append \ |
---|
54 | port:faac |
---|
55 | configure.args-append \ |
---|
56 | --with-faac-prefix=${prefix} \ |
---|
57 | --with-faac |
---|
58 | } |
---|
59 | |
---|
60 | variant vorbis description {Add OGG-VORBIS encoding} { |
---|
61 | depends_lib-append \ |
---|
62 | port:libvorbis |
---|
63 | configure.args-append \ |
---|
64 | --with-vorbis-prefix=${prefix} \ |
---|
65 | --with-vorbis |
---|
66 | } |
---|
67 | |
---|
68 | variant samplerate description {Add Samplerate encoding} { |
---|
69 | depends_lib-append \ |
---|
70 | port:libsamplerate |
---|
71 | configure.args-append \ |
---|
72 | --with-samplerate-prefix=${prefix} \ |
---|
73 | --with-samplerate |
---|
74 | } |
---|
75 | |
---|
76 | variant opus description {Add OPUS encoding} { |
---|
77 | depends_lib-append \ |
---|
78 | port:libopus |
---|
79 | configure.args-append \ |
---|
80 | --with-opus-prefix=${prefix} \ |
---|
81 | --with-opus |
---|
82 | } |
---|
83 | |
---|