ports/67873: MPlayer port does not detect fribidi
Amir Shalem
amir at boom.org.il
Sat Jun 12 10:50:51 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list