Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jan 2011 20:29:39 +0300
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/153767: [patch] multimedia/xbmc: add VAAPI option
Message-ID:  <86fwt4vczg.fsf@gmail.com>
Resent-Message-ID: <201101071730.p07HUDrK066231@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153767
>Category:       ports
>Synopsis:       [patch] multimedia/xbmc: add VAAPI 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:   Fri Jan 07 17:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
depends on ports/153725
>Description:
Track libva dependency as use_vaapi=auto by default.

However, this port already supports VDPAU and there is no port
for another va driver besides vdpau-video.
>How-To-Repeat:
>Fix:
Beware, neither plist nor the feature itself was tested.

--- a.diff begins here ---
Index: multimedia/xbmc/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/xbmc/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- multimedia/xbmc/Makefile	29 Dec 2010 20:39:31 -0000	1.1
+++ multimedia/xbmc/Makefile	7 Jan 2011 17:19:40 -0000
@@ -83,6 +83,7 @@ OPTIONS=	AVAHI		"Enable Avahi support"		
 		NONFREE		"Enable non-free components (rar, ccx, ffmpeg)"	off \
 		PULSE		"Enable PulseAudio support"		off \
 		RTMP		"RTMP support via librtmp"		off \
+		VAAPI		"Enable VAAPI support"			off \
 		VDPAU		"Enable VDPAU support"			off \
 		WEBSERVER	"Build Internal Webserver"		off
 
@@ -157,6 +158,13 @@ LIB_DEPENDS+=	rtmp.0:${PORTSDIR}/multime
 CONFIGURE_ARGS+=	--disable-rtmp
 .endif
 
+.if defined(WITH_VAAPI)
+LIB_DEPENDS+=	va.1:${PORTSDIR}/multimedia/libva
+CONFIGURE_ARGS+=	--enable-vaapi
+.else
+CONFIGURE_ARGS+=	--disable-vaapi
+.endif
+
 .if defined(WITH_VDPAU)
 LIB_DEPENDS+=	vdpau.1:${PORTSDIR}/multimedia/libvdpau
 CONFIGURE_ARGS+=	--enable-vdpau
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fwt4vczg.fsf>