blob: f2b57203a6db43ce83333380c2f21750f73375e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: available.mk,v 1.10 2017/03/16 23:07:28 maya Exp $
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.libva
PKG_SUPPORTED_OPTIONS+= x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
# At the moment VAAPI is available only for XXX. The following
# condition is here to NOT list these platforms in multiple places,
# i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too.
VAAPI_AVAILABLE= no
.if !empty(PKG_OPTIONS:Mx11)
# The following should be kept up-to-date!
.if ${OPSYS} == "DragonFly"
VAAPI_AVAILABLE= yes
.elif ${OPSYS} == "FreeBSD"
VAAPI_AVAILABLE= yes
.elif ${OPSYS} == "NetBSD"
VAAPI_AVAILABLE= yes
.elif ${OPSYS} == "Linux"
VAAPI_AVAILABLE= yes
.endif
.endif
|