Sat Sep 23 18:11:40 2023 UTC ()
Pullup ticket #6797 - requested by nia
multimedia/libva: NetBSD 8 build fix

Revisions pulled up:
- multimedia/libva/available.mk                                 1.12

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Sat Aug  5 08:09:54 UTC 2023

   Modified Files:
   	pkgsrc/multimedia/libva: available.mk

   Log Message:
   libva: Limited availability on NetBSD 8 these days


(bsiegert)
diff -r1.11 -r1.11.52.1 pkgsrc/multimedia/libva/available.mk

cvs diff -r1.11 -r1.11.52.1 pkgsrc/multimedia/libva/available.mk (expand / switch to unified diff)

--- pkgsrc/multimedia/libva/available.mk 2017/03/17 09:10:14 1.11
+++ pkgsrc/multimedia/libva/available.mk 2023/09/23 18:11:40 1.11.52.1
@@ -1,21 +1,24 @@ @@ -1,21 +1,24 @@
1# $NetBSD: available.mk,v 1.11 2017/03/17 09:10:14 maya Exp $ 1# $NetBSD: available.mk,v 1.11.52.1 2023/09/23 18:11:40 bsiegert Exp $
2 2
3 3
4.include "../../mk/bsd.prefs.mk" 4.include "../../mk/bsd.prefs.mk"
5 5
6# At the moment VAAPI is available only for XXX. The following 6# At the moment VAAPI is available only for XXX. The following
7# condition is here to NOT list these platforms in multiple places, 7# condition is here to NOT list these platforms in multiple places,
8# i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too. 8# i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too.
9 9
10VAAPI_AVAILABLE= no 10VAAPI_AVAILABLE= no
11 11
12# The following should be kept up-to-date! 12# The following should be kept up-to-date!
13.if ${OPSYS} == "DragonFly" 13.if ${OPSYS} == "DragonFly"
14VAAPI_AVAILABLE= yes 14VAAPI_AVAILABLE= yes
15.elif ${OPSYS} == "FreeBSD" 15.elif ${OPSYS} == "FreeBSD"
16VAAPI_AVAILABLE= yes 16VAAPI_AVAILABLE= yes
17.elif ${OPSYS} == "NetBSD" 17.elif ${OPSYS} == "NetBSD"
 18# Requires xcb/dri3.h, not shipped with NetBSD 8
 19. if ${OPSYS_VERSION} > 090000 || ${X11_TYPE} == "modular"
18VAAPI_AVAILABLE= yes 20VAAPI_AVAILABLE= yes
 21. endif
19.elif ${OPSYS} == "Linux" 22.elif ${OPSYS} == "Linux"
20VAAPI_AVAILABLE= yes 23VAAPI_AVAILABLE= yes
21.endif 24.endif