revert libvdpau/libva changes, this doesn't work as expected.

This commit is contained in:
maya 2017-03-17 09:10:14 +00:00
parent ffbf5c09ae
commit d64213799e
2 changed files with 2 additions and 18 deletions

View file

@ -1,21 +1,14 @@
# $NetBSD: available.mk,v 1.10 2017/03/16 23:07:28 maya Exp $
# $NetBSD: available.mk,v 1.11 2017/03/17 09:10:14 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
@ -26,4 +19,3 @@ VAAPI_AVAILABLE= yes
.elif ${OPSYS} == "Linux"
VAAPI_AVAILABLE= yes
.endif
.endif

View file

@ -1,17 +1,9 @@
# $NetBSD: available.mk,v 1.7 2017/03/16 23:07:28 maya Exp $
# $NetBSD: available.mk,v 1.8 2017/03/17 09:10:14 maya Exp $
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.libvdpau
PKG_SUPPORTED_OPTIONS+= x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
VDPAU_AVAILABLE= no
.if !empty(PKG_OPTIONS:Mx11)
.if ${OPSYS} != "Darwin" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
VDPAU_AVAILABLE= yes
.endif
.endif