diff options
author | Emmanuel Vadot <[email protected]> | 2020-07-01 11:54:32 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-03 09:25:52 +0000 |
commit | 02d0b2d5604d4a9e0ddfa8234db4c92682de0e69 (patch) | |
tree | ea44b0ad26e48ef1f7f4c0d55e77ba1fe302d2d1 /src/gallium | |
parent | a79ca675f3d61d22853657831d8b1c3a6b27e9fa (diff) |
meson: Add versioning for xvmc tracker
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 <[email protected]>
Signed-off-by: Emmanuel Vadot <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5708>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/frontends/xvmc/meson.build | 3 | ||||
-rw-r--r-- | src/gallium/targets/xvmc/meson.build | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/frontends/xvmc/meson.build b/src/gallium/frontends/xvmc/meson.build index 6ed9f30248b..75a2716a239 100644 --- a/src/gallium/frontends/xvmc/meson.build +++ b/src/gallium/frontends/xvmc/meson.build @@ -18,6 +18,9 @@ # 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'), diff --git a/src/gallium/targets/xvmc/meson.build b/src/gallium/targets/xvmc/meson.build index 6ae5a4f7282..9fa0f659c17 100644 --- a/src/gallium/targets/xvmc/meson.build +++ b/src/gallium/targets/xvmc/meson.build @@ -50,11 +50,12 @@ libxvmc_gallium = shared_library( install : true, install_dir : xvmc_drivers_path, name_suffix : 'so', + version : '@0@.@[email protected]'.format(XVMC_MAJOR, XVMC_MINOR), ) foreach d : [[with_gallium_r600, 'r600'], [with_gallium_nouveau, 'nouveau']] if d[0] - xvmc_drivers += 'libXvMC@[email protected]'.format(d[1]) + xvmc_drivers += 'libXvMC@[email protected].@1@.@[email protected]'.format(d[1], XVMC_MAJOR, XVMC_MINOR) endif endforeach |