summaryrefslogtreecommitdiff
path: root/multimedia/libvdpau/available.mk
blob: 8a01c985b9b97e9bf498baf0fe039f6807df9ad7 (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
# $NetBSD: available.mk,v 1.5 2017/01/23 18:20:59 adam Exp $

.include "../../mk/bsd.prefs.mk"

# At the moment VDPAU is available only for Linux, FreeBSD and
# [Open]Solaris.  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.

#.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
#VDPAU_AVAILABLE=	yes
#.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
#VDPAU_AVAILABLE=	yes
#.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") \
#  && !empty(OS_VERSION:M5.1[0-9]*)
#VDPAU_AVAILABLE=	yes
#.else
VDPAU_AVAILABLE=	no
#.endif

# XXX even these restrictions seem arbitrary
.if ${OPSYS} != "Darwin" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
VDPAU_AVAILABLE=	yes
.endif