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: 22a817af8a
("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>
This commit is contained in:
parent
a79ca675f3
commit
02d0b2d560
|
@ -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'),
|
||||
|
|
|
@ -50,11 +50,12 @@ libxvmc_gallium = shared_library(
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue