ports/153767: [patch] multimedia/xbmc: add VAAPI option
Anonymous
swell.k at gmail.com
Fri Jan 7 17:30:14 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list