head 1.12; access; symbols pkgsrc-2023Q4:1.12.0.4 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.2 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.11.0.52 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.11.0.50 pkgsrc-2023Q1-base:1.11 pkgsrc-2022Q4:1.11.0.48 pkgsrc-2022Q4-base:1.11 pkgsrc-2022Q3:1.11.0.46 pkgsrc-2022Q3-base:1.11 pkgsrc-2022Q2:1.11.0.44 pkgsrc-2022Q2-base:1.11 pkgsrc-2022Q1:1.11.0.42 pkgsrc-2022Q1-base:1.11 pkgsrc-2021Q4:1.11.0.40 pkgsrc-2021Q4-base:1.11 pkgsrc-2021Q3:1.11.0.38 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.36 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.11.0.34 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.11.0.32 pkgsrc-2020Q4-base:1.11 pkgsrc-2020Q3:1.11.0.30 pkgsrc-2020Q3-base:1.11 pkgsrc-2020Q2:1.11.0.26 pkgsrc-2020Q2-base:1.11 pkgsrc-2020Q1:1.11.0.6 pkgsrc-2020Q1-base:1.11 pkgsrc-2019Q4:1.11.0.28 pkgsrc-2019Q4-base:1.11 pkgsrc-2019Q3:1.11.0.24 pkgsrc-2019Q3-base:1.11 pkgsrc-2019Q2:1.11.0.22 pkgsrc-2019Q2-base:1.11 pkgsrc-2019Q1:1.11.0.20 pkgsrc-2019Q1-base:1.11 pkgsrc-2018Q4:1.11.0.18 pkgsrc-2018Q4-base:1.11 pkgsrc-2018Q3:1.11.0.16 pkgsrc-2018Q3-base:1.11 pkgsrc-2018Q2:1.11.0.14 pkgsrc-2018Q2-base:1.11 pkgsrc-2018Q1:1.11.0.12 pkgsrc-2018Q1-base:1.11 pkgsrc-2017Q4:1.11.0.10 pkgsrc-2017Q4-base:1.11 pkgsrc-2017Q3:1.11.0.8 pkgsrc-2017Q3-base:1.11 pkgsrc-2017Q2:1.11.0.4 pkgsrc-2017Q2-base:1.11 pkgsrc-2017Q1:1.11.0.2 pkgsrc-2017Q1-base:1.11 pkgsrc-2016Q4:1.4.0.8 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.6 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.4 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.2 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.2.0.22 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.20 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.18 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.16 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.14 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.12 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.10 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.8 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.6 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.4 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2; locks; strict; comment @# @; 1.12 date 2023.08.05.08.09.54; author nia; state Exp; branches; next 1.11; commitid DkaxR2tKTgu0xzzE; 1.11 date 2017.03.17.09.10.14; author maya; state Exp; branches 1.11.52.1; next 1.10; commitid iWjnV4LoHa39PSJz; 1.10 date 2017.03.16.23.07.28; author maya; state Exp; branches; next 1.9; commitid QefZLvC62mrcuPJz; 1.9 date 2017.03.16.19.29.39; author maya; state Exp; branches; next 1.8; commitid jZnPZWbjFInihOJz; 1.8 date 2017.02.24.17.07.51; author maya; state Exp; branches; next 1.7; commitid o1VRtkxpwXuQ8eHz; 1.7 date 2017.02.24.16.44.03; author maya; state Exp; branches; next 1.6; commitid EHMoFQONOXF5YdHz; 1.6 date 2017.02.24.03.25.36; author maya; state Exp; branches; next 1.5; commitid vpeWaVpyvmX0A9Hz; 1.5 date 2017.02.24.00.10.04; author maya; state Exp; branches; next 1.4; commitid OgccdtPFTXT2v8Hz; 1.4 date 2016.02.25.23.35.44; author jperkin; state Exp; branches; next 1.3; commitid waVdldVGZuQa1mWy; 1.3 date 2016.02.25.15.49.44; author jperkin; state Exp; branches; next 1.2; commitid bbeeIE36ggYnrjWy; 1.2 date 2013.04.14.01.07.56; author cheusov; state Exp; branches; next 1.1; 1.1 date 2013.04.14.00.30.02; author cheusov; state Exp; branches; next ; 1.11.52.1 date 2023.09.23.18.11.40; author bsiegert; state Exp; branches; next ; commitid OliBXUwDoi8QhVFE; desc @@ 1.12 log @libva: Limited availability on NetBSD 8 these days @ text @# $NetBSD: available.mk,v 1.11 2017/03/17 09:10:14 maya Exp $ .include "../../mk/bsd.prefs.mk" # At the moment VAAPI is available only for XXX. The following # condition is here to NOT list these platforms in multiple places, # i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too. VAAPI_AVAILABLE= no # The following should be kept up-to-date! .if ${OPSYS} == "DragonFly" VAAPI_AVAILABLE= yes .elif ${OPSYS} == "FreeBSD" VAAPI_AVAILABLE= yes .elif ${OPSYS} == "NetBSD" # Requires xcb/dri3.h, not shipped with NetBSD 8 . if ${OPSYS_VERSION} > 090000 || ${X11_TYPE} == "modular" VAAPI_AVAILABLE= yes . endif .elif ${OPSYS} == "Linux" VAAPI_AVAILABLE= yes .endif @ 1.11 log @revert libvdpau/libva changes, this doesn't work as expected. @ text @d1 1 a1 1 # $NetBSD: available.mk,v 1.10 2017/03/16 23:07:28 maya Exp $ d18 2 d21 1 @ 1.11.52.1 log @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 @ text @d1 1 a1 1 # $NetBSD$ a17 2 # Requires xcb/dri3.h, not shipped with NetBSD 8 . if ${OPSYS_VERSION} > 090000 || ${X11_TYPE} == "modular" a18 1 . endif @ 1.10 log @libva, libvdpau: use options correctly.. fixes libvdpau build, pointed out by paulg @ text @d1 1 a1 1 # $NetBSD: available.mk,v 1.9 2017/03/16 19:29:39 maya Exp $ a5 6 PKG_OPTIONS_VAR= PKG_OPTIONS.libva PKG_SUPPORTED_OPTIONS+= x11 PKG_SUGGESTED_OPTIONS= x11 .include "../../mk/bsd.options.mk" a11 1 .if !empty(PKG_OPTIONS:Mx11) a21 1 .endif @ 1.9 log @libva: Similar to libvdpau, add an x11 option to make it easier to disable libva dependencies for non-X11 users. feel free to suggest alternatives. PR pkg/52021 @ text @d1 2 a2 1 # $NetBSD: available.mk,v 1.8 2017/02/24 17:07:51 maya Exp $ d6 1 @ 1.8 log @libva: sort malformed conditional in available.mk, sorry. @ text @d1 1 a1 1 # $NetBSD: available.mk,v 1.7 2017/02/24 16:44:03 maya Exp $ d5 5 d14 3 d26 1 a26 2 .else VAAPI_AVAILABLE= no @ 1.7 log @libva: clean up va_trace.c patch, hard-code gallium, appease libtool. have an else case for the va_trace.c else patch, it seems to work fine. not sure if the thread id needs to exist for anything, but provide it anyway. if we don't hard-code galilum, in the case of nouveau, it'll attempt to use nouveau - which doesn't define __vaDriverInit_0_39. only gallium does, so force it. this way it works without specifying env LIBVA_DRIVER_NAME. don't use -ldl in the makefile, it makes libtool angry (restoring old patch-ad), although I haven't checked whether it works without the patch. the available.mk file is probably bogus, and I'd really like to only rule out platforms if a problem shows up (rather than assume one exists), but I won't change the world order. tested with mpv --vo=vaapi (after adding libva as a dependency), nvidia GTX 770 (nouveau) on NetBSD. it claims to be using vaapi and plays a video fine. bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: available.mk,v 1.6 2017/02/24 03:25:36 maya Exp $ d12 1 a12 1 .if ${OPSYS} == "FreeBSD" @ 1.6 log @libva: put a temp bandaid on the giant mess I created (sorry) a circular dependency of MesaLib - now libva will not depend on it, this breaks stuff but unbreaks the tree ASAP add a patch so va_trace.c should compile on freebsd, dragonflybsd, linux and netbsd -- excluding it is a bad idea (undefined references, oops) indirectly put openbsd as a broken platform for now still fails at runtime with mpv. bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: available.mk,v 1.5 2017/02/24 00:10:04 maya Exp $ d10 2 @ 1.5 log @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) @ text @d1 1 a1 1 # $NetBSD: available.mk,v 1.4 2016/02/25 23:35:44 jperkin Exp $ d10 5 a14 1 .if ${OPSYS} != "Darwin" @ 1.4 log @Revert OPSYSVARS change, variables don't support lazy evaluation. @ text @d1 1 a1 1 # $NetBSD: available.mk,v 1.2 2013/04/14 01:07:56 cheusov Exp $ d10 1 a10 5 .if ${OPSYS} == "Linux" VAAPI_AVAILABLE= yes .elif ${OPSYS} == "FreeBSD" VAAPI_AVAILABLE= yes .elif ${OPSYS} == "OpenBSD" @ 1.3 log @Use OPSYSVARS. @ text @d3 2 d10 9 a18 5 OPSYSVARS+= VAAPI_AVAILABLE VAAPI_AVAILABLE.Linux= yes VAAPI_AVAILABLE.FreeBSD= yes VAAPI_AVAILABLE.OpenBSD= yes VAAPI_AVAILABLE.*= no @ 1.2 log @Enable VAAPI only on Linux, FreeBSD and OpenBSD(unsure) @ text @d1 1 a1 3 # $NetBSD: available.mk,v 1.1 2013/04/14 00:30:02 cheusov Exp $ .include "../../mk/bsd.prefs.mk" d8 5 a12 9 .if ${OPSYS} == "Linux" VAAPI_AVAILABLE= yes .elif ${OPSYS} == "FreeBSD" VAAPI_AVAILABLE= yes .elif ${OPSYS} == "OpenBSD" VAAPI_AVAILABLE= yes .else VAAPI_AVAILABLE= no .endif @ 1.1 log @Updated to 1.1.0. A lot of changes since 1.0.6, see NEWS file. @ text @d1 1 a1 1 # $NetBSD$ d9 2 a10 1 # Enable VAAPI everywhere for now d12 7 @