6606f5cf32
Forward ported the existing patches that were not upstream yet. Also added patches for cfmakeraw and log10(int) amgiguity to fix build on SunOS. From the changelog since 0.17.1 15-07-2013 Darkice 1.2 released o Issue #75: Added Ogg/Opus support. Patch by Doug Kelly dougk.ff7@gmail.com o Fix 'Ring Ruffer' reports. - Increased buffer for jack to 5 seconds - prevent darkice termination by jack, report no fatal problem when we have a ringbuffer overflow, can happen during startup If we can not handle input audio fast enough we just ignore the buffer and skip it, and just report it. - new multithreaded connector code, now handles encoders in parallel and does not spin waiting, cpu load will be very much lower now Codes uses 2 condition variables to report data availability and consumer thread availability - Hopes are that glitching reports will be a thing of the past - minor compiler warnings fixed (Fix by Edwin van den Oetelaar) o Issue #56: Wrong icecast2 password isn't properly reported, fixed. thanks to Filipe Roque <flip.roque@gmail.com> o Issue #57: BufferedSink makes streams invalid, fixed. thanks to Alban Peignier <alban.peignier@gmail.com> o Issue #30: Segmentation Fault when creating file with fileAddDate, fixed thanks to Filipe Roque <flip.roque@gmail.com> 27-10-2011 Darkice 1.1 released o Updated aac+ encoding to use libaacplus-2.0.0 api. thanks to Sergiy <piratfm@gmail.com> o Added pulseaudio support closes ticket #25 thanks to Filipe Roque <flip.roque@gmail.com> and and Johann Fot <johann.fot@dunkelfuerst.com> o Added rtprio parameter and revisited realtime priority closes ticket #21 thanks to Adrian Knoth <adi@drcomp.erfurt.thur.de> o Fixed a call to a deprecated jack call closes ticket #22 thanks to Adrian Knoth again. 09-05-2010 Darkice 1.0 released o fixed a bug in BufferedSink.cpp that leads to some buffers being written twice, causing corruption of datastream, closes ticked #20 thanks to Edwin van den Oetelaar <oetelaar.automatisering@gmail.com> o implemented samplerate conversion for all codecs using libsamplerate, and keeping internal aflibConverter as fallback, thanks to Sergiy <piratfm@gmail.com> o bugfix: fix for alsa driver - closes ticked #8 thanks to Clemens Ladisch <clemens@ladisch.de> 14-11-2009 Darkice 0.20.1 released o added rc.darkice init script thanks to Niels Dettenbach <nd@syndicat.com> o bugfix: fix for gcc 4.4 05-11-2009 Darkice 0.20 released o new maintainer: Rafael Diniz <rafael@riseup.net> o added AAC HEv2 encoding support (branch darkice-aacp merged) through libaacplus, http://tipok.org.ua/ru/node/17 thanks to tipok <piratfm@gmail.com> and others for the contribution. o bugfix: the configure script recognizes Ogg Vorbis shared objects now, not just static libraries. Thanks to omroepvenray. o bugfix: enabling jack source compilation on Debian Lenny, thanks to Alessandro Beretta <alessandro.baretta@radiomaria.org> 07-07-2008 Darkice 0.19 released o added mount point option for Darwin Streaming Server thanks to Pierre Souchay <pierre@souchay.net> o fix for some reliablity issues when using a Jack source thanks to Pierre Souchay <pierre@souchay.net> o enable easier finding of jack libraries on MacOS X, thanks to Daniel Hazelbaker <daniel@highdesertchurch.com> o added ability to specify name of jack device created by darkice, thanks to Alessandro Beretta <alessandro.baretta@radiomaria.org> 26-04-2007 DarkIce 0.18.1 released o enable real-time scheduling for non-super-users, if they have the proper operating system permissions, thanks to Jens Maurer <Jens.Maurer@gmx.net> o fix to enable compliation of the Serial ULAW code on MacOS X, thanks to Elod Horvath <elod@itfais.com> o fix to solve Shoutcast login failures, introduced in 0.18 05-03-2007 DarkIce 0.18 released o added serial ulaw input device support, thanks to Clyde Stubbs <clyde@htsoft.com> o improvements on reconnecting: added TCP connection keep-alive to TCP sockets added graceful sleep when trying to reconnect o added user-defined date formatting for the fileAddDate options, thanks to dsk <derrick@csociety.org> o added logging facility - [file-X] targets will cut the saved file and rename it as needed when darkice recieves the SIGUSR1 signal o added default configuration file handling - if no configuration file is specified, /etc/darkice.cfg is used o fix to enable compiling on 64 bit platforms thanks to Alexander Vlasov <zulu@galaradio.com> and Mariusz Mazur <mmazur@kernel.pl> o fix to enable file dump feature using ogg vorbis. thanks to dsk <derrick@csociety.org> o fix to enable compiling with jack installed at arbitrary locations
49 lines
1.6 KiB
Makefile
49 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2014/02/22 14:51:03 wiedi Exp $
|
|
#
|
|
|
|
DISTNAME= darkice-1.2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://darkice.googlecode.com/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://darkice.tyrell.hu/
|
|
COMMENT= IceCast, IceCast2 and ShoutCast live audio streamer
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
|
|
CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
|
|
CONFIGURE_ARGS+= --with-lame-prefix=${BUILDLINK_PREFIX.lame}
|
|
CONFIGURE_ARGS+= --with-twolame-prefix=${BUILDLINK_PREFIX.twolame}
|
|
CONFIGURE_ARGS+= --with-faac-prefix=${BUILDLINK_PREFIX.faac}
|
|
CONFIGURE_ARGS+= --without-jack
|
|
LIBS+= ${LIBOSSAUDIO:Q}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/darkice
|
|
HTMLDIR= ${PREFIX}/share/doc/darkice
|
|
|
|
CONF_FILES= ${EGDIR}/darkice.conf ${PKG_SYSCONFDIR}/darkice.conf
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/darkice.cfg \
|
|
${DESTDIR}${EGDIR}/darkice.conf
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/darkice ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/darkice.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/man/darkice.cfg.5 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/darkice.conf.5
|
|
|
|
.include "../../audio/faac/buildlink3.mk"
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../audio/twolame/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|