ports/104681: Add a few more OPTIONs to `multimedia/mplayer'
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Oct 22 17:50:17 UTC 2006
>Number: 104681
>Category: ports
>Synopsis: Add a few more OPTIONs to `multimedia/mplayer'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 22 17:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Alexey Dokuchaev
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
Asempra Technologies, Inc.
>Environment:
>Description:
It seems mplayer can be successfully build/linked with a few more
options than currently provided by port. Maintainer should probably
make sure all dependencies are correcly stated and work, but on the
first look they seem correct (work for me here).
>How-To-Repeat:
N/A
>Fix:
Index: Makefile
===================================================================
RCS file: /mnt/fbsd/development/FreeBSD-CVS/ports/multimedia/mplayer/Makefile,v
retrieving revision 1.144
diff -u -r1.144 Makefile
--- Makefile 6 Oct 2006 19:48:00 -0000 1.144
+++ Makefile 8 Oct 2006 15:08:21 -0000
@@ -119,9 +119,7 @@
--disable-libfame \
--disable-external-faad \
--disable-external-vidix \
- --disable-tv-v4l \
- --disable-liblzo \
- --disable-libcdio
+ --disable-tv-v4l
OPTIONS= DEBUG "Include debug symbols in mplayer's binary files" off
@@ -142,13 +140,19 @@
OPTIONS+= ARTS "Enable KDE sound system support" off
OPTIONS+= ESOUND "Enable GNOME esound support" off
OPTIONS+= POLYP "Enable polyp sound server support" off
+OPTIONS+= JACK "Enable JackIt audio server support" off
+OPTIONS+= OPENAL "Enable OpenAL sound support" off
OPTIONS+= LIBUNGIF "Enable gif support" on
OPTIONS+= AALIB "Enable aalib support" off
OPTIONS+= LIBCACA "Enable libcaca support" off
OPTIONS+= SVGALIB "Enable svgalib support" off
OPTIONS+= LIBDV "Enable libdv support" off
OPTIONS+= MAD "Enable mad MPEG audio engine support" off
+OPTIONS+= TWOLAME "Enable twolame MPEG audio codec support" off
OPTIONS+= DTS "Enable DTS audio codec support" on
+OPTIONS+= LIBMPCDEC "Enable libmpcdec support" off
+OPTIONS+= FAAC "Enable FAAC audio codec support" off
+OPTIONS+= LADSPA "Enable LADSPA plugin support" off
OPTIONS+= SPEEX "Enable speex audio codec support" off
OPTIONS+= TREMOR "Use built-in tremor instead of libvorbis" off
OPTIONS+= XMMS "Enable XMMS plugin support" off
@@ -161,7 +165,9 @@
OPTIONS+= LIVEMEDIA "Enable LIVE555 streaming support" off
OPTIONS+= FRIBIDI "Enable FriBiDi support" off
OPTIONS+= LIRC "Enable lirc support" off
+OPTIONS+= LIBCDIO "Enable libcdio support" off
OPTIONS+= CDPARANOIA "Enable cdparanoia support" off
+OPTIONS+= LIBLZO "Enable external liblzo library" off
.endif
WANT_GNOME= yes
@@ -318,6 +324,12 @@
CONFIGURE_ARGS+= --disable-fribidi
.endif
+.if defined(WITH_LIBCDIO) && !defined(WITH_CDPARANOIA)
+BUILD_DEPENDS+= ${LOCALBASE}/include/cdio/cdio.h:${PORTSDIR}/sysutils/libcdio
+.else
+CONFIGURE_ARGS+= --disable-libcdio
+.endif
+
.if defined(WITH_CDPARANOIA)
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
.else
@@ -352,6 +364,12 @@
CONFIGURE_ARGS+= --disable-lirc
.endif
+.if defined(WITH_TWOLAME)
+LIB_DEPENDS+= twolame.0:${PORTSDIR}/audio/twolame
+.else
+CONFIGURE_ARGS+= --disable-twolame
+.endif
+
.if defined(WITH_MAD)
LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad
@@ -408,6 +426,18 @@
CONFIGURE_ARGS+= --disable-polyp
.endif
+.if defined(WITH_JACK)
+LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
+.else
+CONFIGURE_ARGS+= --disable-jack
+.endif
+
+.if defined(WITH_OPENAL)
+LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+.else
+CONFIGURE_ARGS+= --disable-openal
+.endif
+
.if !defined(WITH_TREMOR)
CONFIGURE_ARGS+= --disable-internal-tremor
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
@@ -458,6 +488,24 @@
CONFIGURE_ARGS+= --disable-libdts
.endif
+.if defined(WITH_LIBMPCDEC)
+LIB_DEPENDS+= mpcdec.4:${PORTSDIR}/audio/libmpcdec
+.else
+CONFIGURE_ARGS+= --disable-musepack
+.endif
+
+.if defined(WITH_FAAC)
+LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
+.else
+CONFIGURE_ARGS+= --disable-faac
+.endif
+
+.if defined(WITH_LADSPA)
+RUN_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa
+.else
+CONFIGURE_ARGS+= --disable-ladspa
+.endif
+
.if !defined(WITHOUT_SPEEX)
CONFIGURE_ARGS+= --enable-speex
LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex
@@ -481,6 +529,12 @@
CONFIGURE_ARGS+=--disable-xanim
.endif
+.if defined(WITH_LIBLZO)
+LIB_DEPENDS+= lzo.1:${PORTSDIR}/archivers/lzo
+.else
+CONFIGURE_ARGS+= --disable-liblzo
+.endif
+
.if defined(WITH_DVD_DEVICE)
DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
.else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list