pkgsrc/audio/icecast/Makefile

65 lines
1.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2006/02/05 23:08:10 joerg Exp $
#
Update to 2.3.0. Slightly based on PR 31558 by Eric Schnoebelen. **** New features for 2.3.0 **** - Streaming support for ogg speex, ogg flac, ogg midi - intro file support - per mount settable Intro files will play when a listener first connects to a stream. This is designed for station jingles and the like. If you don't broadcast in ogg vorbis, you must make sure the bitrate/samplerate/number of channels match up to your stream. - on-demand relays, global and per-relay settable On demand relays only connect to the relayed content when there are listeners attached to the relay. This can save bandwidth in certain cases. - fallback to file, extends on the intro file handling. With this feature, you can specify a "fallback file" which will be played in a loop and sent your currently connected listeners in the event of a source client disconnect. This means your listeners stay connected while you fix your disconnect problem. Same rules regarding bitrate/samplerate/ number of channels apply as with intro files. - new mount-level settings 1. public, type/subtype, genre settings, stream description, stream url, stream name, bitrate (override what is sent from the source client) 2. mp3 metadata interval 3. on-[dis]connect scripts can be stated per-mount, invoked at source start/stop and take 1 arg which is the mountpoint. - New URL listener authenticator. This delegates your listener authorization to an external application. URL calls are made on listener connect/disconnect as well as source connect/disconnect. It is meant for large broadcasters who have existing authentication systems that need to be integrated into. Included is an example php-based application that can be used in conjunction with the url authenticator to manage a simple subscription-based broadcast. - HTPasswd authenticator uses in-memory structures now. - On demand files now can be fed through an authenticator - Update to admin/web xslt interface - Icecast can now be installed as a win32 service **** Fixes for 2.3.0 **** - real/helix works - win32 access log correct - stats client is stable now (curl -X STATS http://admin@host:port/) - show mountpoints on stats that are inactive but have an active fallback - more updates over HUP possible - improved stability under heavy load - moving clients will no longer sometimes deadlock the server - avoid small writes to reduce TCP overhead. pkg changes: Enable theora, speex. make libxml2 dependency explicit.
2005-10-13 00:26:59 +02:00
DISTNAME= icecast-2.3.0
PKGREVISION= 1
2004-01-08 21:49:39 +01:00
CATEGORIES= audio
MASTER_SITES= http://svn.xiph.org/releases/icecast/
2004-01-08 21:49:39 +01:00
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.icecast.org/
COMMENT= Live streaming audio server
2004-01-08 21:49:39 +01:00
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
2004-01-08 21:49:39 +01:00
BUILD_DEFS+= ICECAST_CHROOTDIR
PKG_SYSCONFSUBDIR= icecast
2004-01-08 21:49:39 +01:00
RCD_SCRIPTS= icecast
ICECAST_LOGDIR?= ${ICECAST_CHROOTDIR}/log
2004-01-08 21:49:39 +01:00
ICECAST_USER?= icecast
ICECAST_GROUP?= icecast
PKG_GROUPS= ${ICECAST_GROUP}
PKG_USERS= ${ICECAST_USER}:${ICECAST_GROUP}::Icecast2\ user
EGDIR= ${PREFIX}/share/examples/icecast
2004-01-08 21:49:39 +01:00
CONF_FILES= ${EGDIR}/icecast.xml ${PKG_SYSCONFDIR}/icecast.xml
OWN_DIRS_PERMS= ${ICECAST_CHROOTDIR} ${ICECAST_USER} ${ICECAST_GROUP} 770
OWN_DIRS_PERMS+= ${ICECAST_LOGDIR} ${ICECAST_USER} ${ICECAST_GROUP} 770
2003-10-18 15:08:48 +02:00
2004-01-08 21:49:39 +01:00
post-extract:
@${MV} ${WRKSRC}/conf/icecast.xml.in ${WRKSRC}/conf/icecast.fixme
2002-08-01 08:40:50 +02:00
2004-01-08 21:49:39 +01:00
post-install:
@( \
${SED} \
-e "s,@BASEDIR@,${ICECAST_CHROOTDIR},g" \
-e "s,@LOGDIR@,log/,g" \
-e "s,@WEBROOT@,${PREFIX}/share/icecast/web,g" \
-e "s,@ADMINROOT@,${PREFIX}/share/icecast/admin,g" \
-e "s,@PIDDIR@,${ICECAST_CHROOTDIR},g" \
-e "s,@ICECAST_USER@,${ICECAST_USER},g" \
-e "s,@ICECAST_GROUP@,${ICECAST_GROUP},g" \
${WRKSRC}/conf/icecast.fixme > ${WRKSRC}/conf/icecast.xml; \
${INSTALL_DATA_DIR} ${EGDIR}; \
${INSTALL_DATA} ${WRKSRC}/conf/icecast.xml ${EGDIR} \
)
2004-02-19 12:51:48 +01:00
.include "../../audio/libvorbis/buildlink3.mk"
Update to 2.3.0. Slightly based on PR 31558 by Eric Schnoebelen. **** New features for 2.3.0 **** - Streaming support for ogg speex, ogg flac, ogg midi - intro file support - per mount settable Intro files will play when a listener first connects to a stream. This is designed for station jingles and the like. If you don't broadcast in ogg vorbis, you must make sure the bitrate/samplerate/number of channels match up to your stream. - on-demand relays, global and per-relay settable On demand relays only connect to the relayed content when there are listeners attached to the relay. This can save bandwidth in certain cases. - fallback to file, extends on the intro file handling. With this feature, you can specify a "fallback file" which will be played in a loop and sent your currently connected listeners in the event of a source client disconnect. This means your listeners stay connected while you fix your disconnect problem. Same rules regarding bitrate/samplerate/ number of channels apply as with intro files. - new mount-level settings 1. public, type/subtype, genre settings, stream description, stream url, stream name, bitrate (override what is sent from the source client) 2. mp3 metadata interval 3. on-[dis]connect scripts can be stated per-mount, invoked at source start/stop and take 1 arg which is the mountpoint. - New URL listener authenticator. This delegates your listener authorization to an external application. URL calls are made on listener connect/disconnect as well as source connect/disconnect. It is meant for large broadcasters who have existing authentication systems that need to be integrated into. Included is an example php-based application that can be used in conjunction with the url authenticator to manage a simple subscription-based broadcast. - HTPasswd authenticator uses in-memory structures now. - On demand files now can be fed through an authenticator - Update to admin/web xslt interface - Icecast can now be installed as a win32 service **** Fixes for 2.3.0 **** - real/helix works - win32 access log correct - stats client is stable now (curl -X STATS http://admin@host:port/) - show mountpoints on stats that are inactive but have an active fallback - more updates over HUP possible - improved stability under heavy load - moving clients will no longer sometimes deadlock the server - avoid small writes to reduce TCP overhead. pkg changes: Enable theora, speex. make libxml2 dependency explicit.
2005-10-13 00:26:59 +02:00
.include "../../audio/speex/buildlink3.mk"
2004-02-19 12:51:48 +01:00
.include "../../converters/libiconv/buildlink3.mk"
Update to 2.3.0. Slightly based on PR 31558 by Eric Schnoebelen. **** New features for 2.3.0 **** - Streaming support for ogg speex, ogg flac, ogg midi - intro file support - per mount settable Intro files will play when a listener first connects to a stream. This is designed for station jingles and the like. If you don't broadcast in ogg vorbis, you must make sure the bitrate/samplerate/number of channels match up to your stream. - on-demand relays, global and per-relay settable On demand relays only connect to the relayed content when there are listeners attached to the relay. This can save bandwidth in certain cases. - fallback to file, extends on the intro file handling. With this feature, you can specify a "fallback file" which will be played in a loop and sent your currently connected listeners in the event of a source client disconnect. This means your listeners stay connected while you fix your disconnect problem. Same rules regarding bitrate/samplerate/ number of channels apply as with intro files. - new mount-level settings 1. public, type/subtype, genre settings, stream description, stream url, stream name, bitrate (override what is sent from the source client) 2. mp3 metadata interval 3. on-[dis]connect scripts can be stated per-mount, invoked at source start/stop and take 1 arg which is the mountpoint. - New URL listener authenticator. This delegates your listener authorization to an external application. URL calls are made on listener connect/disconnect as well as source connect/disconnect. It is meant for large broadcasters who have existing authentication systems that need to be integrated into. Included is an example php-based application that can be used in conjunction with the url authenticator to manage a simple subscription-based broadcast. - HTPasswd authenticator uses in-memory structures now. - On demand files now can be fed through an authenticator - Update to admin/web xslt interface - Icecast can now be installed as a win32 service **** Fixes for 2.3.0 **** - real/helix works - win32 access log correct - stats client is stable now (curl -X STATS http://admin@host:port/) - show mountpoints on stats that are inactive but have an active fallback - more updates over HUP possible - improved stability under heavy load - moving clients will no longer sometimes deadlock the server - avoid small writes to reduce TCP overhead. pkg changes: Enable theora, speex. make libxml2 dependency explicit.
2005-10-13 00:26:59 +02:00
.include "../../multimedia/libtheora/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
2004-02-19 12:51:48 +01:00
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
2004-01-08 21:49:39 +01:00
2004-02-19 12:51:48 +01:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"