mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
build: add meson fallbacks for use in gst-build
This commit is contained in:
parent
3f51023aca
commit
1ead809fca
4 changed files with 20 additions and 14 deletions
20
meson.build
20
meson.build
|
@ -1,3 +1,23 @@
|
|||
project('gst-examples', 'c', version : '1.17.0.1', license : 'LGPL')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
m_dep = cc.find_library('m', required : true)
|
||||
|
||||
glib_dep = dependency('glib-2.0', version: '>= 2.38',
|
||||
fallback: ['glib', 'libglib_dep'])
|
||||
gio_dep = dependency('gio-2.0',
|
||||
fallback: ['glib', 'libgio_dep'])
|
||||
gobject_dep = dependency('gobject-2.0', version: '>= 2.38',
|
||||
fallback: ['glib', 'libgobject_dep'])
|
||||
gmodule_dep = dependency('gmodule-2.0',
|
||||
fallback: ['glib', 'libgmodule_dep'])
|
||||
|
||||
gst_dep = dependency('gstreamer-1.0',
|
||||
fallback : ['gstreamer', 'gst_dep'])
|
||||
gstplayer_dep = dependency('gstreamer-player-1.0', version: '>= 1.7.1.1',
|
||||
fallback: ['gst-plugins-bad', 'gstplayer_dep'])
|
||||
gsttag_dep = dependency('gstreamer-tag-1.0',
|
||||
fallback: ['gst-plugins-base', 'tag_dep'])
|
||||
|
||||
subdir('playback')
|
||||
subdir('network')
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
gst_dep = dependency('gstreamer-1.0')
|
||||
gio_dep = dependency('gio-2.0')
|
||||
executable('http-launch', 'http-launch.c', dependencies : [gst_dep, gio_dep])
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
gst_dep = dependency('gstreamer-1.0')
|
||||
gstplayer_dep = dependency('gstreamer-player-1.0', version: '>= 1.7.1.1')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
m_dep = cc.find_library('m', required : true)
|
||||
|
||||
executable('gst-play',
|
||||
['gst-play.c',
|
||||
'gst-play-kb.c',
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
glib_dep = dependency('glib-2.0', version: '>= 2.38')
|
||||
gobject_dep = dependency('gobject-2.0', version: '>= 2.38')
|
||||
gmodule_dep = dependency('gmodule-2.0')
|
||||
gst_dep = dependency('gstreamer-1.0')
|
||||
gsttag_dep = dependency('gstreamer-tag-1.0')
|
||||
gstplayer_dep = dependency('gstreamer-player-1.0', version: '>= 1.7.1.1')
|
||||
gtk_dep = dependency('gtk+-3.0')
|
||||
x11_dep = dependency('x11', required: false)
|
||||
|
||||
|
|
Loading…
Reference in a new issue