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)diff -r1.9 -r1.10 pkgsrc/multimedia/libva/Makefile
(maya)
@@ -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 | |||
4 | DISTNAME= libva-1.1.0 | 4 | DISTNAME= libva-1.7.3 | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= multimedia | 5 | CATEGORIES= multimedia | |
7 | MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/libva/ | 6 | MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/libva/ | |
8 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.freedesktop.org/wiki/Software/vaapi | 10 | HOMEPAGE= http://www.freedesktop.org/wiki/Software/vaapi | |
12 | COMMENT= Video Acceleration API | 11 | COMMENT= Video Acceleration API | |
13 | LICENSE= mit | 12 | LICENSE= mit | |
14 | 13 | |||
15 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
17 | USE_TOOLS+= autoreconf autoconf automake gmake pkg-config | 16 | USE_TOOLS+= autoreconf autoconf automake gmake pkg-config | |
18 | 17 |
@@ -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 $ | |
2 | include/va/va.h | 2 | include/va/va.h | |
3 | include/va/va_backend.h | 3 | include/va/va_backend.h | |
4 | ${PLIST.egl}include/va/va_backend_egl.h | 4 | ${PLIST.egl}include/va/va_backend_egl.h | |
5 | include/va/va_backend_glx.h | 5 | include/va/va_backend_glx.h | |
6 | include/va/va_backend_tpi.h | 6 | include/va/va_backend_tpi.h | |
7 | include/va/va_backend_vpp.h | |||
8 | include/va/va_compat.h | |||
9 | include/va/va_dec_hevc.h | |||
7 | include/va/va_dec_jpeg.h | 10 | include/va/va_dec_jpeg.h | |
11 | include/va/va_dec_vp8.h | |||
12 | include/va/va_dec_vp9.h | |||
8 | include/va/va_dri2.h | 13 | include/va/va_dri2.h | |
9 | include/va/va_dricommon.h | 14 | include/va/va_dricommon.h | |
10 | ${PLIST.egl}include/va/va_egl.h | |||
11 | include/va/va_drm.h | 15 | include/va/va_drm.h | |
12 | include/va/va_drmcommon.h | 16 | include/va/va_drmcommon.h | |
17 | ${PLIST.egl}include/va/va_egl.h | |||
18 | include/va/va_enc_h264.h | |||
19 | include/va/va_enc_hevc.h | |||
20 | include/va/va_enc_jpeg.h | |||
21 | include/va/va_enc_mpeg2.h | |||
22 | include/va/va_enc_vp8.h | |||
23 | include/va/va_enc_vp9.h | |||
13 | include/va/va_glx.h | 24 | include/va/va_glx.h | |
14 | include/va/va_tpi.h | 25 | include/va/va_tpi.h | |
15 | include/va/va_version.h | 26 | include/va/va_version.h | |
27 | include/va/va_vpp.h | |||
16 | include/va/va_x11.h | 28 | include/va/va_x11.h | |
17 | lib/libva-drm.la | 29 | lib/libva-drm.la | |
18 | ${PLIST.egl}lib/libva-egl.la | 30 | ${PLIST.egl}lib/libva-egl.la | |
19 | lib/libva-glx.la | 31 | lib/libva-glx.la | |
20 | lib/libva-tpi.la | 32 | lib/libva-tpi.la | |
21 | lib/libva-x11.la | 33 | lib/libva-x11.la | |
22 | lib/libva.la | 34 | lib/libva.la | |
23 | lib/pkgconfig/libva-drm.pc | 35 | lib/pkgconfig/libva-drm.pc | |
24 | ${PLIST.egl}lib/pkgconfig/libva-egl.pc | 36 | ${PLIST.egl}lib/pkgconfig/libva-egl.pc | |
25 | lib/pkgconfig/libva-glx.pc | 37 | lib/pkgconfig/libva-glx.pc | |
26 | lib/pkgconfig/libva-tpi.pc | 38 | lib/pkgconfig/libva-tpi.pc | |
27 | lib/pkgconfig/libva-x11.pc | 39 | lib/pkgconfig/libva-x11.pc | |
28 | lib/pkgconfig/libva.pc | 40 | lib/pkgconfig/libva.pc |
@@ -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" | |
11 | VAAPI_AVAILABLE= yes | |||
12 | .elif ${OPSYS} == "FreeBSD" | |||
13 | VAAPI_AVAILABLE= yes | |||
14 | .elif ${OPSYS} == "OpenBSD" | |||
15 | VAAPI_AVAILABLE= yes | 11 | VAAPI_AVAILABLE= yes | |
16 | .else | 12 | .else | |
17 | VAAPI_AVAILABLE= no | 13 | VAAPI_AVAILABLE= no | |
18 | .endif | 14 | .endif |
@@ -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 | |||
3 | SHA1 (libva-1.1.0.tar.bz2) = af6e912ea86a6378992f5783390ab9cb8e5cadf9 | 3 | SHA1 (libva-1.7.3.tar.bz2) = 18e46f3d5a0e971eb0ec9fe14bc021e69eb13fb8 | |
4 | RMD160 (libva-1.1.0.tar.bz2) = a496111e5d942065ab7ad639cc4579d1be202aca | 4 | RMD160 (libva-1.7.3.tar.bz2) = d29e432f666df9df8b312c45cd7d9ec2f6ef6e3c | |
5 | SHA512 (libva-1.1.0.tar.bz2) = 3ae73e789a26b6d2eee0a38a5e1dc7f06430dbca5ca73785295ca5a1bcc0bdc0ca2423e481e1304203471b55369faf62b2a234daa6370edc7ca8013affb6eaee | 5 | SHA512 (libva-1.7.3.tar.bz2) = ecc1ba17e2afea2efe4d36e8d9358d420015b3ad9d2a510ee2b263274c889caf39915a8b8da2d16329184bf4f42d0cbd124af3d070b83235b6a7453afd30b3a0 | |
6 | Size (libva-1.1.0.tar.bz2) = 728879 bytes | 6 | Size (libva-1.7.3.tar.bz2) = 824490 bytes | |
7 | SHA1 (patch-aa) = 3e4966037c46fada25cc869b672a7e78dda5b04b | 7 | SHA1 (patch-aa) = 3e4966037c46fada25cc869b672a7e78dda5b04b | |
8 | SHA1 (patch-ab) = b98ce4693eda7f06459be78e69e1b05b9253ca78 | |||
9 | SHA1 (patch-ac) = 776cd2f381ec974bf25054b949912a713d832ae3 | 8 | SHA1 (patch-ac) = 776cd2f381ec974bf25054b949912a713d832ae3 | |
10 | SHA1 (patch-ad) = c2fc89791700ef1c7a93b732a6c08b32c133d6c7 | 9 | SHA1 (patch-ad) = d19b14007a7b031a6b8d2ec2607057b2dea839c9 | |
11 | SHA1 (patch-configure.ac) = b4cf0e0dc275fcf13c537255723597401bbeb622 | |||
12 | SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251 | 10 | SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251 |
@@ -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 | |||
3 | Don't hardcode -ldl | 3 | Don't build va_trace.c - it requires linux-specific stuff, | |
4 | and 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 |