mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Meson: Generate pc file for all plugins in ugly
https://bugzilla.gnome.org/show_bug.cgi?id=794568
This commit is contained in:
parent
a76c63ba38
commit
6b01999087
13 changed files with 20 additions and 0 deletions
|
@ -9,4 +9,5 @@ if a52_dep.found() and cc.has_header_symbol('a52dec/a52.h', 'a52_init', prefix :
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(a52dec, install_dir : plugins_pkgconfig_install_dir)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -9,5 +9,6 @@ if amrnb_dep.found()
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(amrnb, install_dir : plugins_pkgconfig_install_dir)
|
||||||
install_data(sources: 'GstAmrnbEnc.prs', install_dir: presetdir)
|
install_data(sources: 'GstAmrnbEnc.prs', install_dir: presetdir)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -9,4 +9,5 @@ if amrwb_dep.found()
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(amrwbdec, install_dir : plugins_pkgconfig_install_dir)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -9,4 +9,5 @@ if cdio_dep.found()
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(cdio, install_dir : plugins_pkgconfig_install_dir)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -10,4 +10,5 @@ if gmodule_dep.found() and dvdread_dep.found()
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(dvdread, install_dir : plugins_pkgconfig_install_dir)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -9,4 +9,5 @@ if mpeg2_dep.found()
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(mpeg2dec, install_dir : plugins_pkgconfig_install_dir)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ if x264_dep.found()
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(gstx264, install_dir : plugins_pkgconfig_install_dir)
|
||||||
|
|
||||||
install_data(sources: 'GstX264Enc.prs', install_dir: presetdir)
|
install_data(sources: 'GstX264Enc.prs', install_dir: presetdir)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -17,3 +17,4 @@ gstasf = library('gstasf',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(gstasf, install_dir : plugins_pkgconfig_install_dir)
|
||||||
|
|
|
@ -10,3 +10,4 @@ gstdvdlpcmdec = library('gstdvdlpcmdec',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(gstdvdlpcmdec, install_dir : plugins_pkgconfig_install_dir)
|
||||||
|
|
|
@ -11,3 +11,4 @@ gstdvdsub = library('gstdvdsub',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(gstdvdsub, install_dir : plugins_pkgconfig_install_dir)
|
||||||
|
|
|
@ -21,3 +21,4 @@ gstrmdemux = library('gstrealmedia',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(gstrmdemux, install_dir : plugins_pkgconfig_install_dir)
|
||||||
|
|
|
@ -11,3 +11,4 @@ gstxingmux = library('gstxingmux',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
pkgconfig.generate(gstxingmux, install_dir : plugins_pkgconfig_install_dir)
|
||||||
|
|
|
@ -235,6 +235,14 @@ foreach extra_arg : warning_c_flags
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets')
|
presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets')
|
||||||
|
|
||||||
|
pkgconfig = import('pkgconfig')
|
||||||
|
plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig')
|
||||||
|
if get_option('default_library') == 'shared'
|
||||||
|
# If we don't build static plugins there is no need to generate pc files
|
||||||
|
plugins_pkgconfig_install_dir = disabler()
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('gst')
|
subdir('gst')
|
||||||
subdir('ext')
|
subdir('ext')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
|
|
Loading…
Reference in a new issue