The xvmc tracker used to be versionned with autotool but this seems to have been
lost in the meson switch.
Fixes: 22a817af8a89eb3c762f ("meson: build gallium xvmc state tracker")
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5708>
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+XVMC_MAJOR = 1
+XVMC_MINOR = 0
+
libxvmc_st = static_library(
'xvmc_st',
files('attributes.c', 'block.c', 'context.c', 'surface.c', 'subpicture.c'),
install : true,
install_dir : xvmc_drivers_path,
name_suffix : 'so',
+ version : '@0@.@1@.0'.format(XVMC_MAJOR, XVMC_MINOR),
)
foreach d : [[with_gallium_r600, 'r600'], [with_gallium_nouveau, 'nouveau']]
if d[0]
- xvmc_drivers += 'libXvMC@0@.so'.format(d[1])
+ xvmc_drivers += 'libXvMC@0@.so.@1@.@2@.0'.format(d[1], XVMC_MAJOR, XVMC_MINOR)
endif
endforeach