ports/86473: multimedia/mplayer build option added

Byung-Hee HWANG bh at izb.knu.ac.kr
Thu Sep 22 17:10:08 UTC 2005


>Number:         86473
>Category:       ports
>Synopsis:       multimedia/mplayer build option added
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 22 17:10:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Byung-Hee HWANG
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
InZealBomb
>Environment:
System: FreeBSD viola.izb.knu.ac.kr 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Sep 21  18:38:58 KST 2005 bh at viola.izb.knu.ac.kr:/usr/obj/usr/src/sys/GENERIC i386
>Description:
        Some AVI format is need DTS decoding.
        Build option (--enable-libdts) added for that.
>How-To-Repeat:
>Fix:
        This is the diff file. That's very simple :-)

--- Makefile.diff begins here ---
? Makefile.diff
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mplayer/Makefile,v
retrieving revision 1.120
diff -u -r1.120 Makefile
--- Makefile	31 Aug 2005 11:34:33 -0000	1.120
+++ Makefile	22 Sep 2005 16:39:53 -0000
@@ -241,6 +241,9 @@
 # WITH_XMMS
 # default: autodetect
 #
+# WITH_DTS
+# default: autodetect
+#
 # WITH_LANG
 # default: en
 # Enables language support bg, cz, de, dk, en, es, fr, gr, hu, it, ko, nl, no, pl, pt_BR, ro, ru, sk, tr, uk, zh
@@ -442,6 +445,10 @@
 WITH_XMMS=	yes
 .endif
 
+.if exists(${LOCALBASE}/lib/libdts.a)
+WITH_DTS=	yes
+.endif
+
 .if exists(${LOCALBASE}/lib/liblzo.so)
 WITH_LZO=	yes
 .endif
@@ -735,6 +742,11 @@
 .if defined(WITH_XMMS)
 CONFIGURE_ARGS+=	--enable-xmms
 LIB_DEPENDS+=	xmms.4:${PORTSDIR}/multimedia/xmms
+.endif
+
+.if defined(WITH_DTS)
+CONFIGURE_ARGS+=	--enable-libdts
+BUILD_DEPENDS+=	${LOCALBASE}/lib/libdts.a:${PORTSDIR}/multimedia/libdts
 .endif
 
 .if defined(WITH_FREETYPE)
--- Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 multimedia/mplayer build option added
 From: Byung-Hee HWANG <bh at izb.knu.ac.kr>
 Reply-To: Byung-Hee HWANG <bh at izb.knu.ac.kr>
 Cc: freebsd-ports-bugs at freebsd.org
 X-send-pr-version: 3.113
 X-GNATS-Notify:
 Reply-To: Byung-Hee HWANG <bh at izb.knu.ac.kr>
 Cc: freebsd-ports-bugs at freebsd.org
 X-send-pr-version: 3.113
 X-GNATS-Notify:



More information about the freebsd-ports-bugs mailing list