2016-08-12 15:51:45 +00:00
|
|
|
urid_sources = [
|
|
|
|
'gstfragment.c',
|
|
|
|
'gsturidownloader.c',
|
|
|
|
]
|
|
|
|
urid_headers = [
|
2018-03-13 13:05:45 +00:00
|
|
|
'uridownloader-prelude.h',
|
2016-08-12 15:51:45 +00:00
|
|
|
'gstfragment.h',
|
|
|
|
'gsturidownloader.h',
|
|
|
|
'gsturidownloader_debug.h',
|
|
|
|
]
|
|
|
|
install_headers(urid_headers, subdir : 'gstreamer-1.0/gst/uridownloader')
|
|
|
|
|
2020-06-27 04:39:00 +00:00
|
|
|
pkg_name = 'gstreamer-downloader-1.0'
|
2016-08-12 15:51:45 +00:00
|
|
|
gsturidownloader = library('gsturidownloader-' + api_version,
|
|
|
|
urid_sources,
|
2021-10-01 14:31:18 +00:00
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_URI_DOWNLOADER', '-DG_LOG_DOMAIN="GStreamer-UriDownloader"'],
|
2016-08-12 15:51:45 +00:00
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
version : libversion,
|
|
|
|
soversion : soversion,
|
2018-08-31 09:07:46 +00:00
|
|
|
darwin_versions : osxversion,
|
2016-08-12 15:51:45 +00:00
|
|
|
install : true,
|
|
|
|
dependencies : [gstbase_dep],
|
|
|
|
)
|
|
|
|
|
|
|
|
gsturidownloader_dep = declare_dependency(link_with : gsturidownloader,
|
|
|
|
include_directories : [libsinc],
|
|
|
|
dependencies : [gstbase_dep])
|
2020-06-27 04:39:00 +00:00
|
|
|
|
2022-09-01 15:51:48 +00:00
|
|
|
gst_libraries += [[pkg_name, {'lib': gsturidownloader}]]
|
2020-06-27 04:39:00 +00:00
|
|
|
meson.override_dependency(pkg_name, gsturidownloader_dep)
|