Page MenuHomeFreeBSD

libva update to 2.0.0, shlib bump to dependent ports and fix of two dependent ports

Authored by madpilot on Oct 22 2017, 9:39 PM.
Referenced Files
Unknown Object (File)
Mon, Sep 25, 6:20 AM
Unknown Object (File)
Mon, Sep 25, 5:55 AM
Unknown Object (File)
Wed, Aug 30, 2:59 AM
Unknown Object (File)
Aug 15 2023, 5:25 AM
Unknown Object (File)
Aug 14 2023, 5:55 PM
Unknown Object (File)
Aug 14 2023, 1:46 PM
Unknown Object (File)
Aug 5 2023, 6:32 AM
Unknown Object (File)
Aug 4 2023, 2:17 AM



This patch updates libva and it's drivers to a new 2.0.0 version, which bumps the shlib version, breaks ABI and also has an API change.

The patch also simplifies the ports a little and fixes the DEBUG option when present in the ports I manage.

The multimedia/mpv and multimedia/gstreamer1-vaapi ports needed fixing to compile due to the API changes. The patches I used are taken from thee upstream repositories:

If I forgot some dependent port please report that to me so I can bump PORTREVISION there too.

Test Plan

I have tested all the ports I'm touching in my poudriere on head, 11.1 and 10.4 with success.

I have tested the libva port and drivers using vainfo with vlc on my PCs checking hardware features are actually used.

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

Updated patch.

First patch was missing one patch file in gstreamer1-vaapi port.

This revision is now accepted and ready to land.Oct 22 2017, 9:45 PM


Thanks for the heads up!

30–31 ↗(On Diff #34238)

This is really, really wrong.

If one wants to enable debug, one can set either of:


But don't change OPTIONS_DEFAULT from external variables.

madpilot added inline comments.
30–31 ↗(On Diff #34238)

I can see. I'll remove this stanza.


Removed wrong stanza modifying OPTIONS_DEFAULTS depending on external variable.

Update diff to latest ports tree snapshot.

Update patch to ports tree r453973

This revision was not accepted when it landed; it landed in state Needs Review.Dec 12 2017, 9:30 PM
Closed by commit rP456184: - Update libva to 2.0.0 (authored by madpilot). · Explain Why
This revision was automatically updated to reflect the committed changes.