Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2011 17:03:07 +0100 (CET)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/154939: [update] multimedia/mplayer add optional bluray support
Message-ID:  <201102211603.p1LG376p000583@freefall.freebsd.org>
Resent-Message-ID: <201102211610.p1LGADHr001115@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154939
>Category:       ports
>Synopsis:       [update] multimedia/mplayer add optional bluray support
>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:   Mon Feb 21 16:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.1-STABLE FreeBSD 8.1-STABLE #2 r215627: Sun Nov 21 13:36:51 UTC 2010 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
Now that there is multimedia/libbluray available add optional blu-ray support.
Note, currently only BD+ free discs are supported.
>How-To-Repeat:
	
>Fix:

	

--- mplayer.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/mplayer/Makefile,v
retrieving revision 1.201
diff -u -r1.201 Makefile
--- Makefile	19 Jan 2011 01:58:24 -0000	1.201
+++ Makefile	21 Feb 2011 15:55:00 -0000
@@ -13,6 +13,7 @@
 .include "${.CURDIR}/Makefile.shared"
 
 OPTIONS=	DEBUG "Include debug symbols in mplayer's binaries" off
+OPTIONS+=	BLURAY "Build with libbluray suport" off
 OPTIONS+=	RTCPU "Allow runtime CPU detection" on
 OPTIONS+=	OCFLAGS "Use optimized compiler flags" on
 OPTIONS+=	IPV6 "Include inet6 network support" on
Index: Makefile.options
===================================================================
RCS file: /home/pcvs/ports/multimedia/mplayer/Makefile.options,v
retrieving revision 1.18
diff -u -r1.18 Makefile.options
--- Makefile.options	9 Feb 2011 06:01:50 -0000	1.18
+++ Makefile.options	21 Feb 2011 15:55:00 -0000
@@ -133,6 +133,13 @@
 CONFIGURE_ARGS+=	--disable-pulse
 .endif
 
+.if defined(WITH_BLURAY)
+LIB_DEPENDS+=		bluray.0:${PORTSDIR}/multimedia/libbluray
+CONFIGURE_ARGS+=	--enable-bluray
+.else
+CONFIGURE_ARGS+=	--disable-bluray
+.endif
+
 .if defined(WITH_SMB)
 LIB_DEPENDS+=		smbclient.0:${PORTSDIR}/net/samba-libsmbclient
 .else
--- mplayer.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102211603.p1LG376p000583>