2013-08-21 19:42:57 +02:00
|
|
|
# Created by: Zach Zurflu <zach@pabst.bendnet.com>
|
2000-06-07 19:15:03 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libshout
|
2015-11-21 07:32:43 +01:00
|
|
|
PORTVERSION= 2.4.1
|
2000-06-07 19:15:03 +02:00
|
|
|
CATEGORIES= audio net
|
2014-05-05 16:51:06 +02:00
|
|
|
MASTER_SITES= http://downloads.xiph.org/releases/${PORTNAME}/ \
|
|
|
|
LOCAL/sunpoet
|
2000-06-07 19:15:03 +02:00
|
|
|
|
2012-02-02 02:26:41 +01:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2008-11-08 16:13:27 +01:00
|
|
|
COMMENT= Connect and transmit data to an Icecast media streaming server
|
2003-10-10 10:07:11 +02:00
|
|
|
|
2014-05-05 16:51:06 +02:00
|
|
|
LICENSE= LGPL20
|
2015-11-20 10:12:24 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2000-06-07 19:15:03 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libogg.so:audio/libogg \
|
|
|
|
libvorbis.so:audio/libvorbis
|
2014-05-05 16:51:06 +02:00
|
|
|
|
|
|
|
CONFLICTS= libshout2-[0-9]*
|
|
|
|
|
2015-11-20 10:12:24 +01:00
|
|
|
OPTIONS_DEFINE= DOCS SPEEX THEORA
|
|
|
|
OPTIONS_DEFAULT=SPEEX THEORA
|
2014-07-25 17:36:31 +02:00
|
|
|
|
2000-06-07 19:15:03 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-10-02 17:31:31 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2016-11-19 18:02:35 +01:00
|
|
|
USES= gmake libtool pathfix pkgconfig ssl
|
2014-05-05 16:51:06 +02:00
|
|
|
|
|
|
|
PORTDOCS= *
|
2008-11-08 16:13:27 +01:00
|
|
|
|
2015-11-20 10:12:24 +01:00
|
|
|
SPEEX_CONFIGURE_ENABLE= speex
|
2016-04-01 15:29:15 +02:00
|
|
|
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex
|
2015-11-20 10:12:24 +01:00
|
|
|
THEORA_CONFIGURE_ENABLE=theora
|
2016-04-01 15:29:15 +02:00
|
|
|
THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora
|
2015-11-20 10:12:24 +01:00
|
|
|
|
2008-11-08 16:13:27 +01:00
|
|
|
post-patch:
|
2015-11-20 10:12:24 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^DATA = / s| $$(ckport_DATA)||; /^install-data-am:/ s| install-ckportDATA||' ${WRKSRC}/Makefile.in
|
2014-05-05 16:51:06 +02:00
|
|
|
@${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
|
2015-11-20 10:12:24 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|#ifdef IPV6_V6ONLY|#if defined(__BSD_VISIBLE) \&\& defined(IPV6_V6ONLY)|' ${WRKSRC}/src/common/net/sock.c
|
2014-05-05 16:51:06 +02:00
|
|
|
|
2000-06-07 19:15:03 +02:00
|
|
|
.include <bsd.port.mk>
|