pkgsrc/multimedia/libva/available.mk

21 lines
565 B
Makefile

# $NetBSD: available.mk,v 1.11 2017/03/17 09:10:14 maya Exp $
.include "../../mk/bsd.prefs.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
# 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