svn commit: r401994 - head/audio/libshout
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Nov 20 09:12:26 UTC 2015
Author: sunpoet
Date: Fri Nov 20 09:12:24 2015
New Revision: 401994
URL: https://svnweb.freebsd.org/changeset/ports/401994
Log:
- Update to 2.4.0
- Add LICENSE_FILE
- Add SPEEX and THEORA options
Changes: http://www.icecast.org/news/libshout-release-2_4_0/
Modified:
head/audio/libshout/Makefile
head/audio/libshout/distinfo
Modified: head/audio/libshout/Makefile
==============================================================================
--- head/audio/libshout/Makefile Fri Nov 20 09:12:20 2015 (r401993)
+++ head/audio/libshout/Makefile Fri Nov 20 09:12:24 2015 (r401994)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libshout
-PORTVERSION= 2.3.1
+PORTVERSION= 2.4.0
CATEGORIES= audio net
MASTER_SITES= http://downloads.xiph.org/releases/${PORTNAME}/ \
LOCAL/sunpoet
@@ -11,26 +11,34 @@ MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Connect and transmit data to an Icecast media streaming server
LICENSE= LGPL20
+LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex \
- libtheora.so:${PORTSDIR}/multimedia/libtheora \
+LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
libvorbis.so:${PORTSDIR}/audio/libvorbis
CONFLICTS= libshout2-[0-9]*
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS SPEEX THEORA
+OPTIONS_DEFAULT=SPEEX THEORA
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+USE_OPENSSL= yes
USES= gmake libtool pathfix pkgconfig
PORTDOCS= *
+SPEEX_CONFIGURE_ENABLE= speex
+SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex
+THEORA_CONFIGURE_ENABLE=theora
+THEORA_LIB_DEPENDS= libtheora.so:${PORTSDIR}/multimedia/libtheora
+
post-patch:
+ @${REINPLACE_CMD} -e '/^DATA = / s| $$(ckport_DATA)||; /^install-data-am:/ s| install-ckportDATA||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-ffast-math||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^Requires: |Requires.private: |' ${WRKSRC}/shout.pc.in
@${REINPLACE_CMD} -e '/^AM_CPPFLAGS = / s|^\(.*\) \(@XIPH_CPPFLAGS@\) \(.*\)$$|\1 \3 \2|' ${WRKSRC}/examples/Makefile.in
- @${REINPLACE_CMD} -e 's|#ifdef IPV6_V6ONLY|#if defined(__BSD_VISIBLE) \&\& defined(IPV6_V6ONLY)|' ${WRKSRC}/src/net/sock.c
+ @${REINPLACE_CMD} -e 's|#ifdef IPV6_V6ONLY|#if defined(__BSD_VISIBLE) \&\& defined(IPV6_V6ONLY)|' ${WRKSRC}/src/common/net/sock.c
.include <bsd.port.mk>
Modified: head/audio/libshout/distinfo
==============================================================================
--- head/audio/libshout/distinfo Fri Nov 20 09:12:20 2015 (r401993)
+++ head/audio/libshout/distinfo Fri Nov 20 09:12:24 2015 (r401994)
@@ -1,2 +1,2 @@
-SHA256 (libshout-2.3.1.tar.gz) = cf3c5f6b4a5e3fcfbe09fb7024aa88ad4099a9945f7cb037ec06bcee7a23926e
-SIZE (libshout-2.3.1.tar.gz) = 464229
+SHA256 (libshout-2.4.0.tar.gz) = b735b0e07360afb45dcadc098a4105a8d3ef50368168723911c5387bcf037868
+SIZE (libshout-2.4.0.tar.gz) = 515074
More information about the svn-ports-all
mailing list