aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2014-02-11 07:54:11 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2014-02-11 07:54:11 +0000
commit992897319c5116252117cf4891e4e7ae4dbc8aea (patch)
tree998d89a48b68bccd487e3d57a7022cf109bf3ead /multimedia
parent4fa23b642ac32b4bb3e890bd2a95ca36f4d7d23c (diff)
downloadports-992897319c5116252117cf4891e4e7ae4dbc8aea.tar.gz
ports-992897319c5116252117cf4891e4e7ae4dbc8aea.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/tvheadend/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile
index 9df0fa5a74b5..fa31c4d5a95e 100644
--- a/multimedia/tvheadend/Makefile
+++ b/multimedia/tvheadend/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tvheadend
PORTVERSION= 3.4.0.20130726.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= multimedia
MASTER_SITES= http://people.freebsd.org/~decke/distfiles/
DISTNAME= decke-${PORTNAME}-8a8c1a8
@@ -33,15 +33,20 @@ GROUPS= ${TVHGROUP}
SUB_LIST+= TVHUSER="${TVHUSER}" \
TVHGROUP="${TVHGROUP}"
-OPTIONS_DEFINE= AVAHI DVBCSA FFMPEG
-OPTIONS_DEFAULT=DVBCSA FFMPEG
+OPTIONS_DEFINE= AVAHI DVBCSA
+OPTIONS_DEFAULT=DVBCSA
DVBCSA_DESC= Replace internal ffdecsa with dvbcsa
CONFIGURE_ENV+= PLATFORM=freebsd
-CONFIGURE_ARGS+=--disable-dvbscan --disable-zlib
+CONFIGURE_ARGS+=--disable-dvbscan --disable-zlib --disable-libav
CFLAGS+= -I${LOCALBASE}/include -Wno-conversion -Wno-int-to-pointer-cast
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo -lssl -lz
+AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app
+
+DVBCSA_LIB_DEPENDS= libdvbcsa.so:${PORTSDIR}/multimedia/libdvbcsa
+DVBCSA_CONFIGURE_ENABLE= dvbcsa
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900000
@@ -58,16 +63,6 @@ CFLAGS+= -Wno-microsoft \
-Wno-tautological-constant-out-of-range-compare
.endif
-AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app
-
-DVBCSA_LIB_DEPENDS= libdvbcsa.so:${PORTSDIR}/multimedia/libdvbcsa
-DVBCSA_CONFIGURE_ON= --enable-dvbcsa
-DVBCSA_CONFIGURE_OFF= --disable-dvbcsa
-
-FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
-FFMPEG_CONFIGURE_ON= --enable-libav
-FFMPEG_CONFIGURE_OFF= --disable-libav
-
post-patch:
@${REINPLACE_CMD} 's|-g||' \
${WRKSRC}/Makefile