aboutsummaryrefslogtreecommitdiff
path: root/audio/libshout
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-11-20 09:12:24 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-11-20 09:12:24 +0000
commit2b8bf87508a397247780679e7dc63ea4a15d10c9 (patch)
treef5c51c9de3e12414fafcbf4411b54a0dac4c62a7 /audio/libshout
parent544c0ed7d7ef05211e2c1d17a6b4db80d6e0af5d (diff)
downloadports-2b8bf87508a397247780679e7dc63ea4a15d10c9.tar.gz
ports-2b8bf87508a397247780679e7dc63ea4a15d10c9.zip
- Update to 2.4.0
- Add LICENSE_FILE - Add SPEEX and THEORA options Changes: http://www.icecast.org/news/libshout-release-2_4_0/
Notes
Notes: svn path=/head/; revision=401994
Diffstat (limited to 'audio/libshout')
-rw-r--r--audio/libshout/Makefile18
-rw-r--r--audio/libshout/distinfo4
2 files changed, 15 insertions, 7 deletions
diff --git a/audio/libshout/Makefile b/audio/libshout/Makefile
index 2c15843442a7..a099ff933c38 100644
--- a/audio/libshout/Makefile
+++ b/audio/libshout/Makefile
@@ -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@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>
diff --git a/audio/libshout/distinfo b/audio/libshout/distinfo
index a9d2d97caa3f..c7f53d55b258 100644
--- a/audio/libshout/distinfo
+++ b/audio/libshout/distinfo
@@ -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