mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
meson: Maintain macOS ABI through dylib versioning
Requires Meson 0.48, but the feature will be ignored on older versions so it's safe to add it without bumping the requirement. Documentation: https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
This commit is contained in:
parent
515e2d765a
commit
cea5e3fcdb
15 changed files with 17 additions and 1 deletions
|
@ -4,6 +4,7 @@ gstadaptivedemux = library('gstadaptivedemux-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstbase_dep, gsturidownloader_dep],
|
||||
)
|
||||
|
|
|
@ -9,6 +9,7 @@ gstbadaudio = library('gstbadaudio-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstaudio_dep, gstbase_dep],
|
||||
)
|
||||
|
|
|
@ -17,6 +17,7 @@ gstbasecamerabin = library('gstbasecamerabinsrc-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstapp_dep],
|
||||
)
|
||||
|
|
|
@ -45,6 +45,7 @@ gstcodecparsers = library('gstcodecparsers-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstbase_dep, libm],
|
||||
)
|
||||
|
|
|
@ -8,6 +8,7 @@ gstinsertbin = library('gstinsertbin-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gst_dep],
|
||||
)
|
||||
|
|
|
@ -18,6 +18,7 @@ gstphotography = library('gstphotography-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gst_dep],
|
||||
)
|
||||
|
|
|
@ -12,6 +12,7 @@ gstisoff = library('gstisoff-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstbase_dep],
|
||||
)
|
||||
|
|
|
@ -35,6 +35,7 @@ gstmpegts = library('gstmpegts-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gst_dep],
|
||||
)
|
||||
|
|
|
@ -17,6 +17,7 @@ if opencv_dep.found()
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstbase_dep, gstvideo_dep, opencv_dep],
|
||||
)
|
||||
|
|
|
@ -29,6 +29,7 @@ gstplayer = library('gstplayer-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep,
|
||||
gsttag_dep, gstpbutils_dep],
|
||||
|
|
|
@ -16,6 +16,7 @@ gsturidownloader = library('gsturidownloader-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstbase_dep],
|
||||
)
|
||||
|
|
|
@ -14,6 +14,7 @@ gstbadvideo = library('gstbadvideo-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gstvideo_dep, gstbase_dep],
|
||||
)
|
||||
|
|
|
@ -13,6 +13,7 @@ if use_wayland
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : [gst_dep, gstvideo_dep]
|
||||
)
|
||||
|
|
|
@ -45,6 +45,7 @@ gstwebrtc = library('gstwebrtc-' + api_version,
|
|||
include_directories : [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
darwin_versions : osxversion,
|
||||
install : true,
|
||||
dependencies : gstwebrtc_dependencies,
|
||||
)
|
||||
|
|
|
@ -23,7 +23,9 @@ api_version = '1.0'
|
|||
soversion = 0
|
||||
# maintaining compatibility with the previous libtool versioning
|
||||
# current = minor * 100 + micro
|
||||
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'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue