diff options
author | maya <maya@pkgsrc.org> | 2017-02-24 00:10:04 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2017-02-24 00:10:04 +0000 |
commit | 8d288fb69cd724b80a83964f6f871dd8e7567282 (patch) | |
tree | c69b39b0d4eb824ab0c432f7319b5901a6265b0a /multimedia | |
parent | 490bef991ca6eb063f6e925159a0eb79dd5a1d58 (diff) | |
download | pkgsrc-8d288fb69cd724b80a83964f6f871dd8e7567282.tar.gz |
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)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libva/Makefile | 5 | ||||
-rw-r--r-- | multimedia/libva/PLIST | 16 | ||||
-rw-r--r-- | multimedia/libva/available.mk | 8 | ||||
-rw-r--r-- | multimedia/libva/distinfo | 14 | ||||
-rw-r--r-- | multimedia/libva/patches/patch-ab | 18 | ||||
-rw-r--r-- | multimedia/libva/patches/patch-ad | 76 | ||||
-rw-r--r-- | multimedia/libva/patches/patch-configure.ac | 15 |
7 files changed, 36 insertions, 116 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile index 2051310472c..1fe33e3cd2c 100644 --- a/multimedia/libva/Makefile +++ b/multimedia/libva/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2015/09/16 12:28:53 tnn Exp $ +# $NetBSD: Makefile,v 1.10 2017/02/24 00:10:04 maya Exp $ # -DISTNAME= libva-1.1.0 -PKGREVISION= 2 +DISTNAME= libva-1.7.3 CATEGORIES= multimedia MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/libva/ EXTRACT_SUFX= .tar.bz2 diff --git a/multimedia/libva/PLIST b/multimedia/libva/PLIST index a10b1bc6867..f55d9420ed9 100644 --- a/multimedia/libva/PLIST +++ b/multimedia/libva/PLIST @@ -1,18 +1,30 @@ -@comment $NetBSD: PLIST,v 1.4 2015/04/28 06:57:59 tnn Exp $ +@comment $NetBSD: PLIST,v 1.5 2017/02/24 00:10:04 maya Exp $ include/va/va.h include/va/va_backend.h ${PLIST.egl}include/va/va_backend_egl.h include/va/va_backend_glx.h include/va/va_backend_tpi.h +include/va/va_backend_vpp.h +include/va/va_compat.h +include/va/va_dec_hevc.h include/va/va_dec_jpeg.h +include/va/va_dec_vp8.h +include/va/va_dec_vp9.h include/va/va_dri2.h include/va/va_dricommon.h -${PLIST.egl}include/va/va_egl.h include/va/va_drm.h include/va/va_drmcommon.h +${PLIST.egl}include/va/va_egl.h +include/va/va_enc_h264.h +include/va/va_enc_hevc.h +include/va/va_enc_jpeg.h +include/va/va_enc_mpeg2.h +include/va/va_enc_vp8.h +include/va/va_enc_vp9.h include/va/va_glx.h include/va/va_tpi.h include/va/va_version.h +include/va/va_vpp.h include/va/va_x11.h lib/libva-drm.la ${PLIST.egl}lib/libva-egl.la diff --git a/multimedia/libva/available.mk b/multimedia/libva/available.mk index db499c1c0e7..f8b30b4cb6d 100644 --- a/multimedia/libva/available.mk +++ b/multimedia/libva/available.mk @@ -1,4 +1,4 @@ -# $NetBSD: available.mk,v 1.4 2016/02/25 23:35:44 jperkin Exp $ +# $NetBSD: available.mk,v 1.5 2017/02/24 00:10:04 maya Exp $ .include "../../mk/bsd.prefs.mk" @@ -7,11 +7,7 @@ # i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too. # The following should be kept up-to-date! -.if ${OPSYS} == "Linux" -VAAPI_AVAILABLE= yes -.elif ${OPSYS} == "FreeBSD" -VAAPI_AVAILABLE= yes -.elif ${OPSYS} == "OpenBSD" +.if ${OPSYS} != "Darwin" VAAPI_AVAILABLE= yes .else VAAPI_AVAILABLE= no diff --git a/multimedia/libva/distinfo b/multimedia/libva/distinfo index 079caddb6ec..82d5de55509 100644 --- a/multimedia/libva/distinfo +++ b/multimedia/libva/distinfo @@ -1,12 +1,10 @@ -$NetBSD: distinfo,v 1.4 2015/11/03 23:54:29 agc Exp $ +$NetBSD: distinfo,v 1.5 2017/02/24 00:10:04 maya Exp $ -SHA1 (libva-1.1.0.tar.bz2) = af6e912ea86a6378992f5783390ab9cb8e5cadf9 -RMD160 (libva-1.1.0.tar.bz2) = a496111e5d942065ab7ad639cc4579d1be202aca -SHA512 (libva-1.1.0.tar.bz2) = 3ae73e789a26b6d2eee0a38a5e1dc7f06430dbca5ca73785295ca5a1bcc0bdc0ca2423e481e1304203471b55369faf62b2a234daa6370edc7ca8013affb6eaee -Size (libva-1.1.0.tar.bz2) = 728879 bytes +SHA1 (libva-1.7.3.tar.bz2) = 18e46f3d5a0e971eb0ec9fe14bc021e69eb13fb8 +RMD160 (libva-1.7.3.tar.bz2) = d29e432f666df9df8b312c45cd7d9ec2f6ef6e3c +SHA512 (libva-1.7.3.tar.bz2) = ecc1ba17e2afea2efe4d36e8d9358d420015b3ad9d2a510ee2b263274c889caf39915a8b8da2d16329184bf4f42d0cbd124af3d070b83235b6a7453afd30b3a0 +Size (libva-1.7.3.tar.bz2) = 824490 bytes SHA1 (patch-aa) = 3e4966037c46fada25cc869b672a7e78dda5b04b -SHA1 (patch-ab) = b98ce4693eda7f06459be78e69e1b05b9253ca78 SHA1 (patch-ac) = 776cd2f381ec974bf25054b949912a713d832ae3 -SHA1 (patch-ad) = c2fc89791700ef1c7a93b732a6c08b32c133d6c7 -SHA1 (patch-configure.ac) = b4cf0e0dc275fcf13c537255723597401bbeb622 +SHA1 (patch-ad) = d19b14007a7b031a6b8d2ec2607057b2dea839c9 SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251 diff --git a/multimedia/libva/patches/patch-ab b/multimedia/libva/patches/patch-ab deleted file mode 100644 index 8f62b19b8d5..00000000000 --- a/multimedia/libva/patches/patch-ab +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2011/01/19 04:15:41 jmcneill Exp $ - -Fix v4l2 header path on NetBSD. - ---- va/va_backend_tpi.h.orig 2011-01-19 01:42:46.000000000 +0000 -+++ va/va_backend_tpi.h -@@ -32,7 +32,11 @@ - #include <va/va.h> - #include <va/va_backend.h> - -+#if defined(__linux__) - #include <linux/videodev2.h> -+#elif defined(__NetBSD__) -+#include <sys/videoio.h> -+#endif - - struct VADriverVTableTPI - { diff --git a/multimedia/libva/patches/patch-ad b/multimedia/libva/patches/patch-ad index 06be2da6eee..5a7c8dd779d 100644 --- a/multimedia/libva/patches/patch-ad +++ b/multimedia/libva/patches/patch-ad @@ -1,67 +1,15 @@ -$NetBSD: patch-ad,v 1.2 2013/04/14 00:30:02 cheusov Exp $ +$NetBSD: patch-ad,v 1.3 2017/02/24 00:10:05 maya Exp $ -Don't hardcode -ldl +Don't build va_trace.c - it requires linux-specific stuff, +and is used for tracing (and doesn't seem necessary). ---- va/Makefile.am.orig 2012-09-28 14:04:28.000000000 +0000 +--- va/Makefile.am.orig 2016-11-10 00:34:35.000000000 +0000 +++ va/Makefile.am -@@ -57,13 +57,13 @@ libvainclude_HEADERS = $(libva_source_h - noinst_HEADERS = $(libva_source_h_priv) - libva_la_SOURCES = $(libva_source_c) - libva_la_LDFLAGS = $(LDADD) -no-undefined --libva_la_LIBADD = $(LIBVA_LIBS) -ldl -+libva_la_LIBADD = $(LIBVA_LIBS) - - lib_LTLIBRARIES += libva-tpi.la - libva_tpi_la_SOURCES = va_tpi.c - libva_tpi_la_LDFLAGS = $(LDADD) -no-undefined - libva_tpi_la_DEPENDENCIES = libva.la --libva_tpi_la_LIBADD = libva.la -ldl -+libva_tpi_la_LIBADD = libva.la - - if USE_DRM - SUBDIRS += drm -@@ -72,7 +72,7 @@ libva_drm_la_SOURCES = - libva_drm_la_LDFLAGS = $(LDADD) - libva_drm_la_DEPENDENCIES = libva.la drm/libva_drm.la - libva_drm_la_LIBADD = libva.la drm/libva_drm.la \ -- $(LIBVA_LIBS) $(DRM_LIBS) -ldl -+ $(LIBVA_LIBS) $(DRM_LIBS) - endif - - if USE_X11 -@@ -83,7 +83,7 @@ libva_x11_la_SOURCES = - libva_x11_la_LDFLAGS = $(LDADD) - libva_x11_la_DEPENDENCIES = libva.la x11/libva_x11.la - libva_x11_la_LIBADD = libva.la x11/libva_x11.la \ -- $(LIBVA_LIBS) $(X11_LIBS) $(XEXT_LIBS) $(XFIXES_LIBS) $(DRM_LIBS) -ldl -+ $(LIBVA_LIBS) $(X11_LIBS) $(XEXT_LIBS) $(XFIXES_LIBS) $(DRM_LIBS) - endif - - if USE_GLX -@@ -93,7 +93,7 @@ libva_glx_la_SOURCES = - libva_glx_la_LDFLAGS = $(LDADD) - libva_glx_la_DEPENDENCIES = libva.la glx/libva_glx.la libva-x11.la - libva_glx_la_LIBADD = libva.la glx/libva_glx.la libva-x11.la \ -- $(GLX_LIBS) -ldl -+ $(GLX_LIBS) - endif - - if USE_EGL -@@ -103,7 +103,7 @@ libva_egl_la_SOURCES = - libva_egl_la_LDFLAGS = $(LDADD) - libva_egl_la_DEPENDENCIES = libva.la egl/libva_egl.la libva-x11.la - libva_egl_la_LIBADD = libva.la egl/libva_egl.la libva-x11.la \ -- $(EGL_LIBS) -ldl -+ $(EGL_LIBS) - endif - - if USE_WAYLAND -@@ -113,7 +113,7 @@ libva_wayland_la_SOURCES = - libva_wayland_la_LDFLAGS = $(LDADD) - libva_wayland_la_DEPENDENCIES = libva.la wayland/libva_wayland.la - libva_wayland_la_LIBADD = libva.la wayland/libva_wayland.la \ -- $(WAYLAND_LIBS) $(DRM_LIBS) -ldl -+ $(WAYLAND_LIBS) $(DRM_LIBS) - endif - - DIST_SUBDIRS = x11 glx egl drm wayland +@@ -33,7 +33,6 @@ libva_source_c = \ + va.c \ + va_compat.c \ + va_fool.c \ +- va_trace.c \ + $(NULL) + + libva_source_h = \ diff --git a/multimedia/libva/patches/patch-configure.ac b/multimedia/libva/patches/patch-configure.ac deleted file mode 100644 index 268c7188faf..00000000000 --- a/multimedia/libva/patches/patch-configure.ac +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-configure.ac,v 1.2 2013/04/14 00:30:02 cheusov Exp $ - -automake-1.13 compat. - ---- configure.ac.orig 2012-10-04 13:30:51.000000000 +0000 -+++ configure.ac -@@ -86,7 +86,7 @@ AC_CONFIG_SRCDIR([Makefile.am]) - AC_CONFIG_MACRO_DIR([m4]) - AM_INIT_AUTOMAKE([dist-bzip2]) - --AM_CONFIG_HEADER([config.h]) -+AC_CONFIG_HEADERS([config.h]) - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - - TODAY="`LC_ALL=C date +'%a, %d %b %Y %X %z'`" |