diff --git a/gst-libs/gst/allocators/meson.build b/gst-libs/gst/allocators/meson.build index fc8b69659c..6f9bf21b96 100644 --- a/gst-libs/gst/allocators/meson.build +++ b/gst-libs/gst/allocators/meson.build @@ -14,6 +14,7 @@ gstallocators = library('gstallocators-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : [gst_dep], ) diff --git a/gst-libs/gst/app/meson.build b/gst-libs/gst/app/meson.build index c6597ba9e0..98ded453f9 100644 --- a/gst-libs/gst/app/meson.build +++ b/gst-libs/gst/app/meson.build @@ -24,6 +24,7 @@ gstapp = library('gstapp-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : [gst_base_dep], ) diff --git a/gst-libs/gst/audio/meson.build b/gst-libs/gst/audio/meson.build index dea2757732..cff5ae0bc4 100644 --- a/gst-libs/gst/audio/meson.build +++ b/gst-libs/gst/audio/meson.build @@ -145,6 +145,7 @@ gstaudio = library('gstaudio-@0@'.format(api_version), link_with : simd_dependencies, version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : gstaudio_deps, ) diff --git a/gst-libs/gst/fft/meson.build b/gst-libs/gst/fft/meson.build index 924ab7e7a6..40a670039e 100644 --- a/gst-libs/gst/fft/meson.build +++ b/gst-libs/gst/fft/meson.build @@ -31,6 +31,7 @@ gstfft = library('gstfft-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : [gst_dep, libm], ) diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index 92027a2048..51a26035a9 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -872,6 +872,7 @@ if build_gstgl include_directories : [configinc, libsinc, gl_includes], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : [gst_base_dep, video_dep, allocators_dep, gmodule_dep, gl_lib_deps, gl_platform_deps, gl_winsys_deps, gl_misc_deps]) diff --git a/gst-libs/gst/pbutils/meson.build b/gst-libs/gst/pbutils/meson.build index 1bc537da0f..b8b930918d 100644 --- a/gst-libs/gst/pbutils/meson.build +++ b/gst-libs/gst/pbutils/meson.build @@ -54,6 +54,7 @@ pbutils = library('gstpbutils-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : gstpbutils_deps, ) diff --git a/gst-libs/gst/riff/meson.build b/gst-libs/gst/riff/meson.build index 9662e71a44..290d49e81f 100644 --- a/gst-libs/gst/riff/meson.build +++ b/gst-libs/gst/riff/meson.build @@ -20,6 +20,7 @@ gstriff = library('gstriff-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : riff_deps, ) diff --git a/gst-libs/gst/rtp/meson.build b/gst-libs/gst/rtp/meson.build index d6fabf45d6..b466da56cc 100644 --- a/gst-libs/gst/rtp/meson.build +++ b/gst-libs/gst/rtp/meson.build @@ -38,6 +38,7 @@ gst_rtp = library('gstrtp-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : gstrtp_deps, ) diff --git a/gst-libs/gst/rtsp/meson.build b/gst-libs/gst/rtsp/meson.build index 005cc9feaf..86c1e5b384 100644 --- a/gst-libs/gst/rtsp/meson.build +++ b/gst-libs/gst/rtsp/meson.build @@ -45,6 +45,7 @@ gst_rtsp = library('gstrtsp-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : gstrtsp_deps, ) diff --git a/gst-libs/gst/sdp/meson.build b/gst-libs/gst/sdp/meson.build index ca61072d4c..59ffdbc108 100644 --- a/gst-libs/gst/sdp/meson.build +++ b/gst-libs/gst/sdp/meson.build @@ -15,6 +15,7 @@ gstsdp = library('gstsdp-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : rtsp_deps, ) diff --git a/gst-libs/gst/tag/meson.build b/gst-libs/gst/tag/meson.build index 010140b330..423869cbde 100644 --- a/gst-libs/gst/tag/meson.build +++ b/gst-libs/gst/tag/meson.build @@ -79,6 +79,7 @@ gsttag = library('gsttag-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : tag_deps, ) diff --git a/gst-libs/gst/video/meson.build b/gst-libs/gst/video/meson.build index 9225a2e0d3..2f9aacb25c 100644 --- a/gst-libs/gst/video/meson.build +++ b/gst-libs/gst/video/meson.build @@ -124,6 +124,7 @@ gstvideo = library('gstvideo-@0@'.format(api_version), include_directories: [configinc, libsinc], version : libversion, soversion : soversion, + darwin_versions : osxversion, install : true, dependencies : gstvideo_deps, ) diff --git a/meson.build b/meson.build index 92288682ae..b5fe51e39f 100644 --- a/meson.build +++ b/meson.build @@ -27,8 +27,9 @@ api_version = '1.0' soversion = 0 # maintaining compatibility with the previous libtool versioning # current = minor * 100 + micro -# FIXME: should be able to convert string to int somehow so we can just do maths -libversion = '@0@.@1@.0'.format(soversion, gst_version_minor * 100 + gst_version_micro) +curversion = gst_version_minor * 100 + gst_version_micro +libversion = '@0@.@1@.0'.format(soversion, curversion) +osxversion = curversion + 1 plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir'))