mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
gst-full: declare dependency
Declare the gstreamer-full dependency which can be used later by 3rd party applications. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/203>
This commit is contained in:
parent
30ea94f40c
commit
b4256c219d
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
project('All GStreamer modules', 'c',
|
project('All GStreamer modules', 'c',
|
||||||
version : '1.19.0.1',
|
version : '1.19.0.1',
|
||||||
meson_version : '>= 0.52.0',
|
meson_version : '>= 0.54.0',
|
||||||
default_options : ['buildtype=debugoptimized'])
|
default_options : ['buildtype=debugoptimized'])
|
||||||
|
|
||||||
gst_version = '>= @0@'.format(meson.project_version())
|
gst_version = '>= @0@'.format(meson.project_version())
|
||||||
|
@ -311,9 +311,15 @@ if get_option('default_library') == 'static'
|
||||||
link_depends : link_deps,
|
link_depends : link_deps,
|
||||||
install : true,
|
install : true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
gst_full_dep = declare_dependency(link_with: gstfull.get_shared_lib(),
|
||||||
|
dependencies : gst_dep,
|
||||||
|
include_directories: include_directories('.')
|
||||||
|
)
|
||||||
pkgconfig.generate(gstfull,
|
pkgconfig.generate(gstfull,
|
||||||
requires: requires,
|
requires: requires,
|
||||||
subdirs : 'gstreamer-1.0')
|
subdirs : 'gstreamer-1.0')
|
||||||
|
meson.override_dependency('gstreamer-full-1.0', gst_full_dep)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
foreach custom_subproj: get_option('custom_subprojects').split(',')
|
foreach custom_subproj: get_option('custom_subprojects').split(',')
|
||||||
|
|
Loading…
Reference in a new issue