Fri Feb 24 00:10:05 2017 UTC ()
libva: update to 1.7.3

rotate polarity of available.mk - BSDs and linux should work, but I've
only tested NetBSD. Only build tested, this package was updated due to
MesaLib configure requesting it.

Version 1.7.3 - 10.Nov.2016
* Bump VA API version to 0.39.4
* API: add support for bitrate control per temporal layer
* API: update the usage for framerate in VAEncMiscParameterFrameRate to support non-integer frame-rate
* Add has_prime_sharing flag in VADriverVTableWayland to indicate if buffer sharing with prime fd can
  be used in the backend driver

Version 1.7.2 - 05.Sep.2016
* Bump VA API version to 0.39.3
* API: add support for ROI
* Add support for VP9 encoder in VA tracer
* Refine test cases
* Fix the issue of not properly terminating the parsed environment values with '\0'
  https://bugs.freedesktop.org/show_bug.cgi?id=96677

Version 1.7.1 - 21.Jun.2016
* Bump VA API version to 0.39.2
* API: add support for VP9 8bit encode
* API: add support for low power/high performance encode
* API: add support for encoding ROI attribute
* API: add support for macroblock based rate control
* Fix VA tracer to support multiple contexts in one instance

Version 1.7.0 - 15.Mar.2016
* Bump VA API version to 0.39
* Add support for VP9 10bit decode API
* Allow libva to load the vaapi driver provided by Mesa Gallium for nouveau and radeon
* Fix libva-glx against OpenGL 3.1 or above

Version 1.6.2 - 15.Dec.2015
* Bump VA API version to 0.38.1
* Add new RT format for 16 bits per channel memory layout(P010,P016): VA_RT_FORMAT_YUV420_10BPP
* Add new fourcc codes: VA_FOURCC_P010, VA_FOURCC_P016, VA_FOURCC_YV16
* Fix crash if user doesn't have right to access the DRI device
* Fix uninitialized x11_screen driver context member for X11 output
  https://bugs.freedesktop.org/show_bug.cgi?id=61603
* Fix the issue of not to use LIBVA_DRIVER_NAME
  https://bugs.freedesktop.org/show_bug.cgi?id=72822
* Fix build issue with wayland
  https://bugs.freedesktop.org/show_bug.cgi?id=79478
* vainfo: Add option '--display'

Version 1.6.1 - 09.Sep.2015
* Add support for VP9 decode and HEVC encode in VA trace module
* Add VP9 profile to vainfo
* Enhance VA trace to dump VP8 encode parameters

Version 1.6.0 - 01.Jul.2015
* Bump VA API version to 0.38
* Add support for HEVC encode API
* Add support for VP9 decode API
* Add API (vaSetDriverName()) to allow the user to specify the loaded backend driver
* Add VAConfigAttribEncSkipFrame and corresponding structures to support
  sending skip frame parameters to the backend driver.
* Add support for querying slice decoding mode supported by the backend driver
* Fix quality issue in the JPEG encode demo

Version 1.5.1 - DD.Mar.2015
* API: correct the comment for num_token_partitions in struct  _VAEncPictureParameterBufferVP8
* VA/x11: fix double Unlocks/SyncHandle to avoid segmentation fault

Version 1.5.0 - 28.Dec.2014
* API: add support for HEVC decoding
* API: extend JPEG encoding data structures and add configuration attribute for JPEG encoding
* Add a unit test for JPEG encoding (Sirisha Muppavarapu)
* Add support for HEVC decoding and JPEG encoding in VA trace utility
* Fix out of tree builds (Emil Velikov)
* VA/X11: fix BadDrawable issue when calling vaTerminate() after the pixmaps have been destroyed (Lionel Landwerlin)

Version 1.4.1 - 24.Oct.2014
* Add support for DRM Render-Nodes (Andrey Larionov)

Version 1.4.0 - 30.Sep.2014
* API: add support for VP8 encoding
* API: add H.264 MVC profiles for decoding and encoding
* API: add buffer export interfaces for interop with 3rdparty APIs (EGL, OCL)
* API: add suppor for encoder quality level
* API: add attribute usage hint flag
* Fix build on 64-bit versions of Android (Qiming Shi)
* Assorted fixes to the VA fool and trace modules (Austin Yuan)

Version 1.3.1 - 09.May.2014
* API: fix VA_ENC_PACKED_HEADER_RAW_DATA value
* API: add STE filter to the VPP pipeline
* Update doxygen tags in libva
* Fix doc/Makefile.am
* A workaround for https://bugs.freedesktop.org/show_bug.cgi?id=76755

Version 1.3.0 - 24.Mar.2014
* API: add support for VP8 decoding
* API: drop VAEntrypointMax enumeration
* Enhancement for VA trace utility

Version 1.2.1 - 27.Jun.2013
* Fix https://bugs.freedesktop.org/show_bug.cgi?id=66221
* Add back VA_DRIVER_INIT_FUNC definition for testing

Version 1.2.0 - 25.Jun.2013
* API: new H.264 encoding API for Main and High profiles
* API: add support for MPEG-2 encoding
* API: add video processing interfaces
* API: add vaQuerySurfaceAttributes() to query surface attributes supported by the underlying drivers.
* API: new version of vaCreateSurfaces()
* API: add new surface attributes to enable VA surface creation from external buffer
* API: add new RT formats and fourcc codes
* Refine VA trace utility
* Refine H.264 encoding test cases {avcenc, h264enc}
* A new test case for MPEG-2 encoding
* A lot of bug fixes

Version 1.1.1 - 19.Mar.2013
* Support wayland 1.0 protocol (Rob Bradford)
* Automake 1.13 fixups (Armin K)


(maya)
diff -r1.9 -r1.10 pkgsrc/multimedia/libva/Makefile
diff -r1.4 -r1.5 pkgsrc/multimedia/libva/PLIST
diff -r1.4 -r1.5 pkgsrc/multimedia/libva/available.mk
diff -r1.4 -r1.5 pkgsrc/multimedia/libva/distinfo
diff -r1.1.1.1 -r0 pkgsrc/multimedia/libva/patches/patch-ab
diff -r1.2 -r1.3 pkgsrc/multimedia/libva/patches/patch-ad
diff -r1.2 -r0 pkgsrc/multimedia/libva/patches/patch-configure.ac

cvs diff -r1.9 -r1.10 pkgsrc/multimedia/libva/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/libva/Makefile 2015/09/16 12:28:53 1.9
+++ pkgsrc/multimedia/libva/Makefile 2017/02/24 00:10:04 1.10
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.9 2015/09/16 12:28:53 tnn Exp $ 1# $NetBSD: Makefile,v 1.10 2017/02/24 00:10:04 maya Exp $
2# 2#
3 3
4DISTNAME= libva-1.1.0 4DISTNAME= libva-1.7.3
5PKGREVISION= 2 
6CATEGORIES= multimedia 5CATEGORIES= multimedia
7MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/libva/ 6MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/libva/
8EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.freedesktop.org/wiki/Software/vaapi 10HOMEPAGE= http://www.freedesktop.org/wiki/Software/vaapi
12COMMENT= Video Acceleration API 11COMMENT= Video Acceleration API
13LICENSE= mit 12LICENSE= mit
14 13
15GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 15USE_LIBTOOL= yes
17USE_TOOLS+= autoreconf autoconf automake gmake pkg-config 16USE_TOOLS+= autoreconf autoconf automake gmake pkg-config
18 17

cvs diff -r1.4 -r1.5 pkgsrc/multimedia/libva/PLIST (expand / switch to unified diff)

--- pkgsrc/multimedia/libva/PLIST 2015/04/28 06:57:59 1.4
+++ pkgsrc/multimedia/libva/PLIST 2017/02/24 00:10:04 1.5
@@ -1,28 +1,40 @@ @@ -1,28 +1,40 @@
1@comment $NetBSD: PLIST,v 1.4 2015/04/28 06:57:59 tnn Exp $ 1@comment $NetBSD: PLIST,v 1.5 2017/02/24 00:10:04 maya Exp $
2include/va/va.h 2include/va/va.h
3include/va/va_backend.h 3include/va/va_backend.h
4${PLIST.egl}include/va/va_backend_egl.h 4${PLIST.egl}include/va/va_backend_egl.h
5include/va/va_backend_glx.h 5include/va/va_backend_glx.h
6include/va/va_backend_tpi.h 6include/va/va_backend_tpi.h
 7include/va/va_backend_vpp.h
 8include/va/va_compat.h
 9include/va/va_dec_hevc.h
7include/va/va_dec_jpeg.h 10include/va/va_dec_jpeg.h
 11include/va/va_dec_vp8.h
 12include/va/va_dec_vp9.h
8include/va/va_dri2.h 13include/va/va_dri2.h
9include/va/va_dricommon.h 14include/va/va_dricommon.h
10${PLIST.egl}include/va/va_egl.h 
11include/va/va_drm.h 15include/va/va_drm.h
12include/va/va_drmcommon.h 16include/va/va_drmcommon.h
 17${PLIST.egl}include/va/va_egl.h
 18include/va/va_enc_h264.h
 19include/va/va_enc_hevc.h
 20include/va/va_enc_jpeg.h
 21include/va/va_enc_mpeg2.h
 22include/va/va_enc_vp8.h
 23include/va/va_enc_vp9.h
13include/va/va_glx.h 24include/va/va_glx.h
14include/va/va_tpi.h 25include/va/va_tpi.h
15include/va/va_version.h 26include/va/va_version.h
 27include/va/va_vpp.h
16include/va/va_x11.h 28include/va/va_x11.h
17lib/libva-drm.la 29lib/libva-drm.la
18${PLIST.egl}lib/libva-egl.la 30${PLIST.egl}lib/libva-egl.la
19lib/libva-glx.la 31lib/libva-glx.la
20lib/libva-tpi.la 32lib/libva-tpi.la
21lib/libva-x11.la 33lib/libva-x11.la
22lib/libva.la 34lib/libva.la
23lib/pkgconfig/libva-drm.pc 35lib/pkgconfig/libva-drm.pc
24${PLIST.egl}lib/pkgconfig/libva-egl.pc 36${PLIST.egl}lib/pkgconfig/libva-egl.pc
25lib/pkgconfig/libva-glx.pc 37lib/pkgconfig/libva-glx.pc
26lib/pkgconfig/libva-tpi.pc 38lib/pkgconfig/libva-tpi.pc
27lib/pkgconfig/libva-x11.pc 39lib/pkgconfig/libva-x11.pc
28lib/pkgconfig/libva.pc 40lib/pkgconfig/libva.pc

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

--- pkgsrc/multimedia/libva/available.mk 2016/02/25 23:35:44 1.4
+++ pkgsrc/multimedia/libva/available.mk 2017/02/24 00:10:04 1.5
@@ -1,18 +1,14 @@ @@ -1,18 +1,14 @@
1# $NetBSD: available.mk,v 1.4 2016/02/25 23:35:44 jperkin Exp $ 1# $NetBSD: available.mk,v 1.5 2017/02/24 00:10:04 maya Exp $
2 2
3.include "../../mk/bsd.prefs.mk" 3.include "../../mk/bsd.prefs.mk"
4 4
5# At the moment VAAPI is available only for XXX. The following 5# At the moment VAAPI is available only for XXX. The following
6# condition is here to NOT list these platforms in multiple places, 6# condition is here to NOT list these platforms in multiple places,
7# i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too. 7# i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too.
8 8
9# The following should be kept up-to-date! 9# The following should be kept up-to-date!
10.if ${OPSYS} == "Linux" 10.if ${OPSYS} != "Darwin"
11VAAPI_AVAILABLE= yes 
12.elif ${OPSYS} == "FreeBSD" 
13VAAPI_AVAILABLE= yes 
14.elif ${OPSYS} == "OpenBSD" 
15VAAPI_AVAILABLE= yes 11VAAPI_AVAILABLE= yes
16.else 12.else
17VAAPI_AVAILABLE= no 13VAAPI_AVAILABLE= no
18.endif 14.endif

cvs diff -r1.4 -r1.5 pkgsrc/multimedia/libva/distinfo (expand / switch to unified diff)

--- pkgsrc/multimedia/libva/distinfo 2015/11/03 23:54:29 1.4
+++ pkgsrc/multimedia/libva/distinfo 2017/02/24 00:10:04 1.5
@@ -1,12 +1,10 @@ @@ -1,12 +1,10 @@
1$NetBSD: distinfo,v 1.4 2015/11/03 23:54:29 agc Exp $ 1$NetBSD: distinfo,v 1.5 2017/02/24 00:10:04 maya Exp $
2 2
3SHA1 (libva-1.1.0.tar.bz2) = af6e912ea86a6378992f5783390ab9cb8e5cadf9 3SHA1 (libva-1.7.3.tar.bz2) = 18e46f3d5a0e971eb0ec9fe14bc021e69eb13fb8
4RMD160 (libva-1.1.0.tar.bz2) = a496111e5d942065ab7ad639cc4579d1be202aca 4RMD160 (libva-1.7.3.tar.bz2) = d29e432f666df9df8b312c45cd7d9ec2f6ef6e3c
5SHA512 (libva-1.1.0.tar.bz2) = 3ae73e789a26b6d2eee0a38a5e1dc7f06430dbca5ca73785295ca5a1bcc0bdc0ca2423e481e1304203471b55369faf62b2a234daa6370edc7ca8013affb6eaee 5SHA512 (libva-1.7.3.tar.bz2) = ecc1ba17e2afea2efe4d36e8d9358d420015b3ad9d2a510ee2b263274c889caf39915a8b8da2d16329184bf4f42d0cbd124af3d070b83235b6a7453afd30b3a0
6Size (libva-1.1.0.tar.bz2) = 728879 bytes 6Size (libva-1.7.3.tar.bz2) = 824490 bytes
7SHA1 (patch-aa) = 3e4966037c46fada25cc869b672a7e78dda5b04b 7SHA1 (patch-aa) = 3e4966037c46fada25cc869b672a7e78dda5b04b
8SHA1 (patch-ab) = b98ce4693eda7f06459be78e69e1b05b9253ca78 
9SHA1 (patch-ac) = 776cd2f381ec974bf25054b949912a713d832ae3 8SHA1 (patch-ac) = 776cd2f381ec974bf25054b949912a713d832ae3
10SHA1 (patch-ad) = c2fc89791700ef1c7a93b732a6c08b32c133d6c7 9SHA1 (patch-ad) = d19b14007a7b031a6b8d2ec2607057b2dea839c9
11SHA1 (patch-configure.ac) = b4cf0e0dc275fcf13c537255723597401bbeb622 
12SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251 10SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251

File Deleted: pkgsrc/multimedia/libva/patches/Attic/patch-ab

cvs diff -r1.2 -r1.3 pkgsrc/multimedia/libva/patches/Attic/patch-ad (expand / switch to unified diff)

--- pkgsrc/multimedia/libva/patches/Attic/patch-ad 2013/04/14 00:30:02 1.2
+++ pkgsrc/multimedia/libva/patches/Attic/patch-ad 2017/02/24 00:10:05 1.3
@@ -1,67 +1,15 @@ @@ -1,67 +1,15 @@
1$NetBSD: patch-ad,v 1.2 2013/04/14 00:30:02 cheusov Exp $ 1$NetBSD: patch-ad,v 1.3 2017/02/24 00:10:05 maya Exp $
2 2
3Don't hardcode -ldl 3Don't build va_trace.c - it requires linux-specific stuff,
 4and is used for tracing (and doesn't seem necessary).
4 5
5--- va/Makefile.am.orig 2012-09-28 14:04:28.000000000 +0000 6--- va/Makefile.am.orig 2016-11-10 00:34:35.000000000 +0000
6+++ va/Makefile.am 7+++ va/Makefile.am
7@@ -57,13 +57,13 @@ libvainclude_HEADERS = $(libva_source_h 8@@ -33,7 +33,6 @@ libva_source_c = \
8 noinst_HEADERS = $(libva_source_h_priv) 9 va.c \
9 libva_la_SOURCES = $(libva_source_c) 10 va_compat.c \
10 libva_la_LDFLAGS = $(LDADD) -no-undefined 11 va_fool.c \
11-libva_la_LIBADD = $(LIBVA_LIBS) -ldl 12- va_trace.c \
12+libva_la_LIBADD = $(LIBVA_LIBS) 13 $(NULL)
13  14
14 lib_LTLIBRARIES += libva-tpi.la 15 libva_source_h = \
15 libva_tpi_la_SOURCES = va_tpi.c 
16 libva_tpi_la_LDFLAGS = $(LDADD) -no-undefined 
17 libva_tpi_la_DEPENDENCIES = libva.la  
18-libva_tpi_la_LIBADD = libva.la -ldl 
19+libva_tpi_la_LIBADD = libva.la 
20  
21 if USE_DRM 
22 SUBDIRS += drm 
23@@ -72,7 +72,7 @@ libva_drm_la_SOURCES = 
24 libva_drm_la_LDFLAGS = $(LDADD) 
25 libva_drm_la_DEPENDENCIES = libva.la drm/libva_drm.la 
26 libva_drm_la_LIBADD = libva.la drm/libva_drm.la \ 
27- $(LIBVA_LIBS) $(DRM_LIBS) -ldl 
28+ $(LIBVA_LIBS) $(DRM_LIBS) 
29 endif 
30  
31 if USE_X11 
32@@ -83,7 +83,7 @@ libva_x11_la_SOURCES =  
33 libva_x11_la_LDFLAGS = $(LDADD) 
34 libva_x11_la_DEPENDENCIES = libva.la x11/libva_x11.la 
35 libva_x11_la_LIBADD = libva.la x11/libva_x11.la \ 
36- $(LIBVA_LIBS) $(X11_LIBS) $(XEXT_LIBS) $(XFIXES_LIBS) $(DRM_LIBS) -ldl 
37+ $(LIBVA_LIBS) $(X11_LIBS) $(XEXT_LIBS) $(XFIXES_LIBS) $(DRM_LIBS) 
38 endif 
39  
40 if USE_GLX 
41@@ -93,7 +93,7 @@ libva_glx_la_SOURCES = 
42 libva_glx_la_LDFLAGS = $(LDADD) 
43 libva_glx_la_DEPENDENCIES = libva.la glx/libva_glx.la libva-x11.la 
44 libva_glx_la_LIBADD = libva.la glx/libva_glx.la libva-x11.la \ 
45- $(GLX_LIBS) -ldl 
46+ $(GLX_LIBS) 
47 endif 
48  
49 if USE_EGL 
50@@ -103,7 +103,7 @@ libva_egl_la_SOURCES = 
51 libva_egl_la_LDFLAGS = $(LDADD) 
52 libva_egl_la_DEPENDENCIES = libva.la egl/libva_egl.la libva-x11.la 
53 libva_egl_la_LIBADD = libva.la egl/libva_egl.la libva-x11.la \ 
54- $(EGL_LIBS) -ldl 
55+ $(EGL_LIBS) 
56 endif 
57  
58 if USE_WAYLAND 
59@@ -113,7 +113,7 @@ libva_wayland_la_SOURCES = 
60 libva_wayland_la_LDFLAGS = $(LDADD) 
61 libva_wayland_la_DEPENDENCIES = libva.la wayland/libva_wayland.la 
62 libva_wayland_la_LIBADD = libva.la wayland/libva_wayland.la \ 
63- $(WAYLAND_LIBS) $(DRM_LIBS) -ldl 
64+ $(WAYLAND_LIBS) $(DRM_LIBS) 
65 endif 
66  
67 DIST_SUBDIRS = x11 glx egl drm wayland 

File Deleted: pkgsrc/multimedia/libva/patches/Attic/patch-configure.ac