ports/153491: [PATCH] multimedia/ffmpeg: Add VDPAU option

Bernhard Froehlich decke at FreeBSD.org
Tue Dec 28 14:40:14 UTC 2010


>Number:         153491
>Category:       ports
>Synopsis:       [PATCH] multimedia/ffmpeg: Add VDPAU option
>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:   Tue Dec 28 14:40:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Bernhard Froehlich
>Release:        FreeBSD 8.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD chii.bluelife.at 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #4: Tue Dec 28 11:31:59 CET 2010
>Description:
- Add VDPAU option (default off)

Port maintainer (mm at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ffmpeg-0.6.1_3,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/ffmpeg.orig/Makefile /usr/ports/multimedia/ffmpeg/Makefile
--- /usr/ports/multimedia/ffmpeg.orig/Makefile	2010-12-21 10:16:50.000000000 +0100
+++ /usr/ports/multimedia/ffmpeg/Makefile	2010-12-28 15:24:12.000000000 +0100
@@ -43,6 +43,7 @@
 		SPEEX	"Speex audio decoder" off \
 		SSSE3	"Enable ssse3 support" on \
 		THEORA	"Theora encoder (implies OGG)" on \
+		VDPAU	"NVidia vdpau support" off \
 		VORBIS	"Vorbis encoder via libvorbis (implies OGG)" on \
 		VP8	"VP8 codec via libvpx" on \
 		X264	"H.264 encoder" on \
@@ -271,6 +272,14 @@
 CONFIGURE_ARGS+=	--disable-libtheora
 .endif
 
+# vdpau
+.ifndef(WITHOUT_VDPAU)
+LIB_DEPENDS+=	vdpau.1:${PORTSDIR}/multimedia/libvdpau
+CONFIGURE_ARGS+=	--enable-vdpau
+.else
+CONFIGURE_ARGS+=	--disable-vdpau
+.endif
+
 # vorbis
 .ifndef(WITHOUT_VORBIS)
 LIB_DEPENDS+=	vorbisenc.2:${PORTSDIR}/audio/libvorbis
--- ffmpeg-0.6.1_3,1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list