Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2004 13:33:50 +0300 (IDT)
From:      Amir Shalem <amir@boom.org.il>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67873: MPlayer port does not detect fribidi
Message-ID:  <20040612103350.52A8A5D09@active.ath.cx>
Resent-Message-ID: <200406121050.i5CAoMOQ036052@freefall.freebsd.org>

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

>Number:         67873
>Category:       ports
>Synopsis:       MPlayer port does not detect fribidi
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 12 10:50:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Amir Shalem
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
None
>Environment:
System: FreeBSD active.ath.cx 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed May 5 21:12:19 IDT 2004 amir@active.ath.cx:/usr/obj/usr/src/sys/ACTIVE i386


	
>Description:
	Add fribidi auto detection to mplayer,
	needed for viewing hebrew subtitiles.

	note: fribidi is disabled by default in mplayer
>How-To-Repeat:

>Fix:
--- multimedia/mplayer/Makefile.orig	Sat Jun 12 13:20:28 2004
+++ multimedia/mplayer/Makefile	Sat Jun 12 13:28:52 2004
@@ -135,6 +135,9 @@
 # 	because of conflicting glib versions, so it it is disabled if
 # 	mplayer is built with gtk1 graphical user interface
 #
+# WITH_FRIBIDI
+# default: autodetect
+#
 # WITH_CDPARANOIA
 # default: autodetect
 #
@@ -272,6 +275,10 @@
 #WITH_RTC=	yes
 #.endif
 
+.if exists(${LOCALBASE}/lib/libfribidi.so.0)
+WITH_FRIBIDI=	yes
+.endif
+
 .if exists(${LOCALBASE}/lib/libartsc.so.0)
 WITH_ARTS=	yes
 .endif
@@ -417,6 +424,14 @@
 CONFIGURE_ARGS+=	--enable-arts
 .else
 CONFIGURE_ARGS+=	--disable-arts
+.endif
+
+.if defined(WITH_FRIBIDI)
+LIB_DEPENDS+=	fribidi.0:${PORTSDIR}/converters/fribidi
+
+CONFIGURE_ARGS+=	--enable-fribidi
+.else
+CONFIGURE_ARGS+=	--disable-fribidi
 .endif
 
 .if defined(WITH_CDPARANOIA)

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



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