ports/164639: enable enca charset detection engine in multimedia/mplayer

Marat N.Afanasyev amarat at ksu.ru
Mon Jan 30 16:00:23 UTC 2012


>Number:         164639
>Category:       ports
>Synopsis:       enable enca charset detection engine in 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:   Mon Jan 30 16:00:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Marat N.Afanasyev
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
home, sweet home
>Environment:
System: FreeBSD zealot.ksu.ru 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue May 24 13:36:48 MSD 2011 root at zealot.ksu.ru:/usr/obj/usr/src/sys/ZEALOT amd64


	
>Description:
	current port of multimedia/mplayer does not provide option to build itself 
	with enca charset detection
>How-To-Repeat:
	make -C /usr/ports/multimedia/mplayer configure | grep enca
>Fix:

	here's a patch to add enca to possible build options:

--- Makefile.orig	2012-01-30 19:22:16.000000000 +0400
+++ Makefile	2012-01-30 19:26:35.000000000 +0400
@@ -67,4 +67,5 @@
 OPTIONS+=	V4L "Enable Video4Linux TV support" off
 OPTIONS+=	LIBRTMP "Enable RTMPDump Streaming Media support" off
+OPTIONS+=	ENCA "Enable enca charset detection" off	
 
 MAN1=		mplayer.1
--- Makefile.options.orig	2012-01-30 19:25:37.000000000 +0400
+++ Makefile.options	2012-01-30 19:26:29.000000000 +0400
@@ -265,2 +265,9 @@
 .endif
 
+.if defined(WITH_ENCA)
+LIB_DEPENDS+=	enca.5:${PORTSDIR}/converters/enca
+CONFIGURE_ARGS+=	--enable-enca
+.else
+CONFIGURE_ARGS+=	--disable-enca
+.endif
+

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



More information about the freebsd-ports-bugs mailing list