Sun Jan 9 00:27:57 2022 UTC ()
libva: update to 2.13.0

Changes, excluding bug/doc/ci/trace fixes:
2.13.0
  add: (sep_layer) add new surface format fourcc XYUV
2.12.0
  add: Report the capability of vaCopy support
  add: Report the capability of sub device
  add: Add config attributes to advertise HEVC/H.265 encoder features
  add: Video processing HVS Denoise: Added 4 modes
  add: Introduce VASurfaceAttribDRMFormatModifiers
  add: Add 3DLUT Filter in Video Processing.
2.11.0
  add: LibVA Protected Content API
  add: Add a configuration attribute to advertise AV1d LST feature
  fix: wayland: don't try to authenticate with render nodes
  trace: Add details data dump for mpeg2 IQ matrix.
2.10.0
  add: Pass offset and size of pred_weight_table
  add: add vaCopy interface to copy surface and buffer
  add: add definition for different execution
  add: New parameters for transport controlled BRC were added
  add: add FreeBSD support
  add: add a bufer type to adjust context priority dynamically
2.9.0
  Add SCC fields trace for HEVC SCC encoding.
  Add FOURCC code for Y212 and Y412 format.
  Add interpolation method for scaling.
  add attributes for context priority setting
  Add vaSyncBuffer for output buffers synchronization
  Add vaSyncSurface2 with timeout
2.8.0
  add fourcc code for P012 format
  add definition to enforce both reflist not empty
  change the return value to be UNIMPLEMENTED when the function pointer is NULL
  remove check of vaPutSurface implementation
  Add new slice structure flag for CAPS reporting
  VA/X11: VAAPI driver mapping for iris DRI driver
  VA/X11: enable driver candidate selection for DRI2
  Add SCC flags to enable/disable features
  Add VAProfileHEVCSccMain444_10 for HEVC
  change the compatible list to be dynamic one
2.7.1
  VA/X11: enable driver candidate selection for DRI2
  VA/X11: VAAPI driver mapping for iris DRI driver
2.7.0
  Add av1 decode interfaces
  Add 2 FourCC for 10bit RGB(without Alpha) format: X2R10G10B10 and X2B10G10R10.


(tnn)
diff -r1.23 -r1.24 pkgsrc/multimedia/libva/Makefile
diff -r1.9 -r1.10 pkgsrc/multimedia/libva/PLIST
diff -r1.16 -r1.17 pkgsrc/multimedia/libva/distinfo
diff -r1.2 -r0 pkgsrc/multimedia/libva/patches/patch-va_Makefile.am
diff -r1.1 -r0 pkgsrc/multimedia/libva/patches/patch-va_glx_va__glx__private.h
diff -r1.4 -r0 pkgsrc/multimedia/libva/patches/patch-va_va__trace.c

cvs diff -r1.23 -r1.24 pkgsrc/multimedia/libva/Makefile (expand / switch to context diff)
--- pkgsrc/multimedia/libva/Makefile 2021/12/02 16:58:47 1.23
+++ pkgsrc/multimedia/libva/Makefile 2022/01/09 00:27:57 1.24
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.23 2021/12/02 16:58:47 tnn Exp $
+# $NetBSD: Makefile,v 1.24 2022/01/09 00:27:57 tnn Exp $
 
-DISTNAME=	libva-2.6.1
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+DISTNAME=	libva-2.13.0
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_GITHUB:=intel/}
-EXTRACT_SUFX=	.tar.gz
-GITHUB_TAG=	2.6.1
+EXTRACT_SUFX=	.tar.bz2
 
 MAINTAINER=	pkgsrc-users@NetBSD.org
 HOMEPAGE=	https://github.com/intel/libva
@@ -13,7 +13,7 @@
 
 GNU_CONFIGURE=	yes
 USE_LIBTOOL=	yes
-USE_TOOLS+=	autoreconf autoconf automake gmake pkg-config
+USE_TOOLS+=	gmake pkg-config
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -30,22 +30,20 @@
 
 CONFIGURE_ARGS+=	--enable-shared
 CONFIGURE_ARGS+=	--with-drivers-path=${DRIVER_SEARCH_PATH:Q}
+# Might be useful to have this but I'll leave it to
+# someone else to enable. -tnn
+CONFIGURE_ARGS+=	--disable-wayland
+# To avoid a PLIST mismatch with base Xorg
+CONFIGURE_ARGS+=	--disable-glx
 
 LIBS+=			${BUILDLINK_LDADD.dl}
 
-PKGCONFIG_OVERRIDE+=	libva-drm.pc.in
-PKGCONFIG_OVERRIDE+=	libva-egl.pc.in
-PKGCONFIG_OVERRIDE+=	libva-glx.pc.in
-PKGCONFIG_OVERRIDE+=	libva-tpi.pc.in
-PKGCONFIG_OVERRIDE+=	libva-x11.pc.in
-PKGCONFIG_OVERRIDE+=	libva.pc.in
+PKGCONFIG_OVERRIDE+=	pkgconfig/libva-drm.pc.in
+PKGCONFIG_OVERRIDE+=	pkgconfig/libva-glx.pc.in
+PKGCONFIG_OVERRIDE+=	pkgconfig/libva-wayland.pc.in
+PKGCONFIG_OVERRIDE+=	pkgconfig/libva-x11.pc.in
+PKGCONFIG_OVERRIDE+=	pkgconfig/libva.pc.in
 
-
-pre-configure:
-	cd ${WRKSRC} && autoreconf -i
-
-# To avoid a PLIST mismatch with base Xorg
-CONFIGURE_ARGS+=	--disable-glx
 
 .include "../../x11/libXfixes/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"

cvs diff -r1.9 -r1.10 pkgsrc/multimedia/libva/PLIST (expand / switch to context diff)
--- pkgsrc/multimedia/libva/PLIST 2018/11/23 08:05:04 1.9
+++ pkgsrc/multimedia/libva/PLIST 2022/01/09 00:27:57 1.10
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.9 2018/11/23 08:05:04 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.10 2022/01/09 00:27:57 tnn Exp $
 include/va/va.h
 include/va/va_backend.h
+include/va/va_backend_prot.h
 include/va/va_backend_vpp.h
 include/va/va_compat.h
+include/va/va_dec_av1.h
 include/va/va_dec_hevc.h
 include/va/va_dec_jpeg.h
 include/va/va_dec_vp8.h
@@ -21,6 +23,7 @@
 include/va/va_fei.h
 include/va/va_fei_h264.h
 include/va/va_fei_hevc.h
+include/va/va_prot.h
 include/va/va_str.h
 include/va/va_tpi.h
 include/va/va_version.h

cvs diff -r1.16 -r1.17 pkgsrc/multimedia/libva/distinfo (expand / switch to context diff)
--- pkgsrc/multimedia/libva/distinfo 2021/10/26 11:01:10 1.16
+++ pkgsrc/multimedia/libva/distinfo 2022/01/09 00:27:57 1.17
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 11:01:10 nia Exp $
+$NetBSD: distinfo,v 1.17 2022/01/09 00:27:57 tnn Exp $
 
-BLAKE2s (libva-2.6.1.tar.gz) = 6daed383fc422b5f6c8e1c588609fbd14731ce809e337bdd57c31663fc2fdd91
+BLAKE2s (libva-2.13.0.tar.bz2) = d014c9118ddd34eebb90af8caa6354cb0994b1e27f2c84207f5f9e9d1fd10236
-SHA512 (libva-2.6.1.tar.gz) = 29dd4df9da5f9a02149dadfc30cb5edfde63f2d912a99ef8dc4eecb983a09d2cd0451d61bad2b9bec0a25a6c2d2c60d644a2251e2141623fdf0a08eb3e70569a
+SHA512 (libva-2.13.0.tar.bz2) = 25c384f4dc577328af67892c055ca1c832b98e2e36c495678c0fb8d5375dfd5b28257d575dca13c0f46d04e66643f729331ddaaa55d48bcc3df28eb3b6f343eb
-Size (libva-2.6.1.tar.gz) = 228850 bytes
+Size (libva-2.13.0.tar.bz2) = 495736 bytes
-SHA1 (patch-va_Makefile.am) = af963e8279aacf706b6442372ce7cb1436395c74
-SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251
-SHA1 (patch-va_va__trace.c) = 478f23fb0c5e7cf6a8adc421921af715a62231ef

File Deleted: pkgsrc/multimedia/libva/patches/Attic/patch-va_Makefile.am

File Deleted: pkgsrc/multimedia/libva/patches/Attic/patch-va_glx_va__glx__private.h

File Deleted: pkgsrc/multimedia/libva/patches/Attic/patch-va_va__trace.c