mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
- Make lame support optional and off by default since lame can't be packaged.
This commit is contained in:
parent
bbe5c09f35
commit
48af825351
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126893
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user