Lines 2-35
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= darkice |
3 |
PORTNAME= darkice |
4 |
PORTVERSION= 1.4 |
4 |
PORTVERSION= 1.4 |
5 |
PORTREVISION= 1 |
5 |
PORTREVISION= 2 |
6 |
CATEGORIES= audio net |
6 |
CATEGORIES= audio net |
7 |
MASTER_SITES= https://github.com/rafael2k/darkice/releases/download/v${PORTVERSION}/ |
7 |
MASTER_SITES= https://github.com/rafael2k/darkice/releases/download/v${PORTVERSION}/ |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= takefu@airport.fm |
10 |
COMMENT= IceCast, IceCast2, and ShoutCast live audio streamer |
10 |
COMMENT= IceCast, IceCast2, and ShoutCast live audio streamer |
11 |
|
11 |
|
12 |
LICENSE= GPLv3+ |
12 |
LICENSE= GPLv3+ |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
14 |
|
15 |
USES= compiler:c++11-lang pkgconfig |
15 |
USES= cpe pkgconfig |
|
|
16 |
CPE_VENDOR= Tyrell_Hungary |
17 |
CPE_PRODUCT= streaming_server |
16 |
USE_RC_SUBR= ${PORTNAME} |
18 |
USE_RC_SUBR= ${PORTNAME} |
17 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
18 |
CONFIGURE_ARGS= --without-alsa |
20 |
CONFIGURE_ARGS= --without-alsa |
19 |
CONFIGURE_ENV= ac_cv_prog_acx_pthread_config=no |
21 |
CONFIGURE_ENV= ac_cv_prog_acx_pthread_config=no |
20 |
|
|
|
21 |
SUB_FILES= pkg-message |
22 |
SUB_FILES= pkg-message |
22 |
|
23 |
|
23 |
OPTIONS_DEFINE= JACK PULSEAUDIO |
24 |
OPTIONS_DEFINE= JACK PULSEAUDIO |
24 |
OPTIONS_DEFAULT= VORBIS |
25 |
OPTIONS_DEFAULT= VORBIS |
25 |
OPTIONS_MULTI= CODEC |
26 |
OPTIONS_MULTI= CODEC |
26 |
OPTIONS_MULTI_CODEC= AACPLUS FAAC LAME OPUS TWOLAME VORBIS |
27 |
OPTIONS_MULTI_CODEC= FAAC LAME OPUS TWOLAME VORBIS |
27 |
|
28 |
|
28 |
AACPLUS_DESC= AAC HEv2 and libsamplerate support |
|
|
29 |
AACPLUS_LIB_DEPENDS= libaacplus.so:audio/libaacplus \ |
30 |
libsamplerate.so:audio/libsamplerate |
31 |
AACPLUS_CONFIGURE_ON= --with-aacplus --with-samplerate |
32 |
AACPLUS_CONFIGURE_OFF= --without-aacplus --without-samplerate |
33 |
FAAC_LIB_DEPENDS= libfaac.so:audio/faac |
29 |
FAAC_LIB_DEPENDS= libfaac.so:audio/faac |
34 |
FAAC_CONFIGURE_ON= --with-faac-prefix=${LOCALBASE} |
30 |
FAAC_CONFIGURE_ON= --with-faac-prefix=${LOCALBASE} |
35 |
FAAC_CONFIGURE_OFF= --without-faac |
31 |
FAAC_CONFIGURE_OFF= --without-faac |
Lines 38-54
JACK_CONFIGURE_WITH= jack
Link Here
|
38 |
LAME_LIB_DEPENDS= libmp3lame.so:audio/lame |
34 |
LAME_LIB_DEPENDS= libmp3lame.so:audio/lame |
39 |
LAME_CONFIGURE_ON= --with-lame-prefix=${LOCALBASE} |
35 |
LAME_CONFIGURE_ON= --with-lame-prefix=${LOCALBASE} |
40 |
LAME_CONFIGURE_OFF= --without-lame |
36 |
LAME_CONFIGURE_OFF= --without-lame |
41 |
OPUS_LIB_DEPENDS= libopus.so:audio/opus |
37 |
OPUS_LIB_DEPENDS= libopus.so:audio/opus\ |
|
|
38 |
libogg.so:audio/libogg |
42 |
OPUS_CONFIGURE_WITH= opus |
39 |
OPUS_CONFIGURE_WITH= opus |
43 |
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio |
40 |
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio |
44 |
PULSEAUDIO_CONFIGURE_WITH= pulseaudio |
41 |
PULSEAUDIO_CONFIGURE_WITH= pulseaudio |
45 |
TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame |
42 |
TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame |
46 |
TWOLAME_CONFIGURE_WITH= twolame |
43 |
TWOLAME_CONFIGURE_WITH= twolame |
47 |
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis |
44 |
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis\ |
|
|
45 |
libogg.so:audio/libogg |
48 |
VORBIS_CONFIGURE_WITH= vorbis |
46 |
VORBIS_CONFIGURE_WITH= vorbis |
49 |
|
47 |
|
|
|
48 |
SOURCE_URL= man/darkice.1 man/darkice.cfg.5 src/IceCast2.cpp src/main.cpp |
49 |
|
50 |
post-patch: |
50 |
post-patch: |
51 |
@${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in |
51 |
@${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in |
|
|
52 |
.for i in ${SOURCE_URL} |
53 |
@${REINPLACE_CMD} -e 's|http://code.google.com/p/darkice/|http://darkice.org/|' ${WRKSRC}/${i} |
54 |
.endfor |
52 |
|
55 |
|
53 |
do-install: |
56 |
do-install: |
54 |
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
57 |
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |