ports/128086: Add schroedinger (dirac) codec support for multimedia/ffmpeg

Eric L. Chen d9364104 at mail.nchu.edu.tw
Tue Oct 14 07:00:10 UTC 2008


>Number:         128086
>Category:       ports
>Synopsis:       Add schroedinger (dirac) codec support for multimedia/ffmpeg
>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:   Tue Oct 14 07:00:09 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Eric L. Chen
>Release:        7-STABLE
>Organization:
National Chung Hsing University
>Environment:
FreeBSD lihong-pc.tc.rubytech.com.tw 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #12: Mon Oct 13 10:46:31 CST 2008     root at lihong-pc.tc.rubytech.com.tw:/usr/obj/usr/src/sys/lihong-pc  amd64
>Description:
Add libschroedinger support for multimedia/ffmpeg to encode/decode dirac videos.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- multimedia/ffmpeg/Makefile.orig	2008-10-14 14:03:06.000000000 +0800
+++ multimedia/ffmpeg/Makefile	2008-10-14 14:08:09.000000000 +0800
@@ -34,7 +34,8 @@
 		THEORA	"libtheora support (implies OGG)" on \
 		VORBIS	"libvorbisenc support (implies OGG)" on \
 		X264	"X.264 codec" on \
-		XVID	"XVID codec" off
+		XVID	"XVID codec" off \
+		SCHROEDINGER "Schroedinger dirac codec" off
 
 COMPAT_HEADERS=	libavcodec/avcodec.h \
 	libavcodec/opt.h \
@@ -228,6 +229,14 @@
 CONFIGURE_ARGS+=	--disable-libxvid
 .endif
 
+## schroedinger
+.ifdef(WITH_SCHROEDINGER)
+LIB_DEPENDS+=		schroedinger-1.0.1:${PORTSDIR}/multimedia/schroedinger
+CONFIGURE_ARGS+=	--enable-libschroedinger
+.else
+CONFIGURE_ARGS+=	--disable-libschroedinger
+.endif
+
 pre-configure:
 .if defined(WITHOUT_OGG) && (!defined(WITHOUT_VORBIS) || !defined(WITHOUT_THEORA))
 	@${ECHO_MSG}	WITH_VORBIS or WITH_THEORA defined, libogg will be built


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



More information about the freebsd-ports-bugs mailing list