aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-01-20 13:42:26 +0800
committerahze <ahze@FreeBSD.org>2005-01-20 13:42:26 +0800
commit4cce2303073ed3a57fb36c8207541a6d4aa79af2 (patch)
tree74f13caa706274d9cabc02120d6fdd2895d55ad3 /multimedia
parent47114584f14375470c5d8fa602e293bb206c7896 (diff)
downloadfreebsd-ports-gnome-4cce2303073ed3a57fb36c8207541a6d4aa79af2.tar.gz
freebsd-ports-gnome-4cce2303073ed3a57fb36c8207541a6d4aa79af2.tar.zst
freebsd-ports-gnome-4cce2303073ed3a57fb36c8207541a6d4aa79af2.zip
- Make lame support optional and off by default since lame can't be packaged.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libquicktime/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/libquicktime/Makefile b/multimedia/libquicktime/Makefile
index dc07049992f6..dcb95013446b 100644
--- a/multimedia/libquicktime/Makefile
+++ b/multimedia/libquicktime/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ahze@FreeBSD.org
COMMENT= A library for reading and writing quicktime files
LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
- mp3lame.0:${PORTSDIR}/audio/lame \
vorbis.3:${PORTSDIR}/audio/libvorbis \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
@@ -33,6 +32,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
CONFIGURE_ARGS= --disable-firewire
CFLAGS+= -fPIC
+OPTIONS= LAME "Enable Lame mp3 encoding support" Off
+
MAN1= lqtplay.1
PORTDOCS= codecs.html \
qt4l_building.html \
@@ -48,6 +49,10 @@ PORTDOCS= codecs.html \
.include <bsd.port.pre.mk>
+.if defined(WITH_LAME) || exists(${LOCALBASE}/lib/libmp3lame.a)
+LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+.endif
+
.if ${MACHINE_CPU:Mmmx}
CONFIGURE_ARGS+= --enable-mmx
LIB_DEPENDS+= jpeg-mmx.62:${PORTSDIR}/graphics/jpeg-mmx