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