ports/53430: maintainer-update: multimedia/transcode: add experimental DivX 5 support

Hendrik Scholz hendrik at scholz.net
Tue Jun 17 22:20:15 UTC 2003


>Number:         53430
>Category:       ports
>Synopsis:       maintainer-update: multimedia/transcode: add experimental DivX 5 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 17 15:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD goanna.lan.raisdorf.net 5.1-RELEASE FreeBSD 5.1-RELEASE #4: Sat Jun 7 12:12:29 CEST 2003 hscholz at goanna.lan.raisdorf.net:/usr/src/sys/i386/compile/GOANNA i386


	
>Description:

transcode 0.6.7 offers a experimental support for DivX 5.0.5 decoding using
divx4linux-20030428. This feature has not been enabled in the previous
upgrade to 0.6.7 since it needed some testing and is still experimental!

This patch needs ports/53418 (my divx4linux upgrade) to be committed.
The suggested compile fix for the current version wouldn't help since the
new version is needed.

>How-To-Repeat:
	
>Fix:

	

--- transcode-0.6.7-1.divx.patch begins here ---
diff -urP transcode-0.6.7/Makefile transcode/Makefile
--- transcode-0.6.7/Makefile	Wed Jun  4 18:55:25 2003
+++ transcode/Makefile	Tue Jun 17 23:47:55 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	transcode
 PORTVERSION=	0.6.7
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.zebra.fh-weingarten.de/~transcode/pre/
 
@@ -97,6 +98,10 @@
 WITH_LZO=	yes
 .endif
 
+.if exists(${LINUXBASE}/usr/lib/libdivxdecore.so)
+WITH_DIVX5=	yes
+.endif
+
 .if defined(WITH_IMAGEMAGICK)
 LIB_DEPENDS+=	Magick.5:${PORTSDIR}/graphics/ImageMagick
 PLIST_SUB+=	WITH_IMAGEMAGICK=""
@@ -222,6 +227,12 @@
 PLIST_SUB+=	WITH_SUBRIP="@comment "
 .endif
 
+.if defined(WITH_DIVX5)
+BUILD_DEPENDS+=	${LINUXBASE}/usr/lib/libdivxdecore.so:${PORTSDIR}/multimedia/linux-divx4linux
+CONFIGURE_ENV+= CFLAGS="-I${LINUXBASE}/usr/include/divx" CPPFLAGS="-I${LINUXBASE}/usr/include/divx"
+.else
+.endif
+
 pre-everything::
 .if !defined(WITH_OPTIMIZED_CFLAGS)
 	@${ECHO_MSG}
@@ -302,6 +313,10 @@
 .if !defined(WITH_SUBRIP)
 	@${ECHO_MSG}
 	@${ECHO_MSG} "You can enable compilation of subtitleripper by defining WITH_SUBRIP."
+.endif
+.if !defined(WITH_DIVX5)
+	@${ECHO_MSG}
+	@${ECHO_MSG} "You can enable experimental DivX 5 support by defining WITH_DIVX5."
 .endif
 
 post-patch:
--- transcode-0.6.7-1.divx.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list