'gstplay-visualization.h',
)
+if not meson.is_subproject()
install_headers(gstplay_headers, subdir : 'gstreamer-' + api_version + '/gst/play/')
+endif
gstplay = library('gstplay-' + api_version,
gstplay_sources,
version : libversion,
soversion : soversion,
darwin_versions : osxversion,
- install : true,
+ install : not meson.is_subproject(),
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep,
gsttag_dep, gstpbutils_dep],
)
pkg_name = 'gstreamer-play-1.0'
+if not meson.is_subproject()
pkgconfig.generate(gstplay,
libraries : [gst_dep, gstvideo_dep],
variables : pkgconfig_variables,
name : pkg_name,
description : 'GStreamer Player convenience library',
)
+endif
library_def = {'lib': gstplay}
gen_sources = []
'export_packages' : pkg_name,
'includes' : ['Gst-1.0', 'GstPbutils-1.0', 'GstBase-1.0', 'GstVideo-1.0',
'GstAudio-1.0', 'GstTag-1.0'],
- 'install' : true,
+ 'install' : not meson.is_subproject(),
'extra_args' : gir_init_section + ['-DGST_USE_UNSTABLE_API'] + ['--c-include=gst/play/play.h'],
'dependencies' : [gstbase_dep, gstvideo_dep, gstaudio_dep,
gsttag_dep, gstpbutils_dep]
'gstplayer-visualization.h',
])
+if not meson.is_subproject()
install_headers(gstplayer_headers, subdir : 'gstreamer-' + api_version + '/gst/player/')
+endif
gstplayer = library('gstplayer-' + api_version,
gstplayer_sources,
version : libversion,
soversion : soversion,
darwin_versions : osxversion,
- install : true,
+ install : false,
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep, gstplay_dep,
gsttag_dep, gstpbutils_dep],
)
library_def = {'lib': gstplayer}
+
pkg_name = 'gstreamer-player-1.0'
+if not meson.is_subproject()
pkgconfig.generate(gstplayer,
libraries : [gst_dep, gstvideo_dep],
variables : pkgconfig_variables,
name : 'gstreamer-player-1.0',
description : 'GStreamer Player convenience library',
)
+endif
gen_sources = []
if build_gir
'export_packages' : pkg_name,
'includes' : ['Gst-1.0', 'GstPbutils-1.0', 'GstBase-1.0', 'GstVideo-1.0',
'GstAudio-1.0', 'GstTag-1.0'],
- 'install' : true,
+ 'install' : not meson.is_subproject(),
'extra_args' : gir_init_section + ['-DGST_USE_UNSTABLE_API'] + ['--c-include=gst/player/player.h'],
'dependencies' : [gstbase_dep, gstvideo_dep, gstaudio_dep, gstplay_dep,
gsttag_dep, gstpbutils_dep]