meson: Call pkgconfig.generate in the loop where we declare plugins dependencies

Removing some copy pasted code

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
This commit is contained in:
Thibault Saunier 2022-09-01 15:11:31 -04:00 committed by GStreamer Marge Bot
parent bc9c1e3956
commit 6a4425e46a
302 changed files with 12 additions and 297 deletions

View file

@ -171,6 +171,7 @@ subdir('docs')
plugin_names = [] plugin_names = []
gst_plugins = [] gst_plugins = []
foreach plugin: plugins foreach plugin: plugins
pkgconfig.generate(plugin, install_dir: plugins_pkgconfig_install_dir)
dep = declare_dependency(link_with: plugin, variables: {'full_path': plugin.full_path()}) dep = declare_dependency(link_with: plugin, variables: {'full_path': plugin.full_path()})
meson.override_dependency(plugin.name(), dep) meson.override_dependency(plugin.name(), dep)
gst_plugins += [dep] gst_plugins += [dep]

View file

@ -79,7 +79,6 @@ if not static_build
dependencies : validate_deps) dependencies : validate_deps)
plugins += gstvalidatetracer plugins += gstvalidatetracer
pkgconfig.generate(gstvalidatetracer, install_dir : plugins_pkgconfig_install_dir)
else else
warning('Statically building GstValidate as a tracer is not supported yet.') warning('Statically building GstValidate as a tracer is not supported yet.')
endif endif

View file

@ -339,6 +339,7 @@ configure_file(output: 'config.h', configuration: cdata)
plugin_names = [] plugin_names = []
gst_plugins = [] gst_plugins = []
foreach plugin: plugins foreach plugin: plugins
pkgconfig.generate(plugin, install_dir: plugins_pkgconfig_install_dir)
dep = declare_dependency(link_with: plugin, variables: {'full_path': plugin.full_path()}) dep = declare_dependency(link_with: plugin, variables: {'full_path': plugin.full_path()})
meson.override_dependency(plugin.name(), dep) meson.override_dependency(plugin.name(), dep)
gst_plugins += [dep] gst_plugins += [dep]

View file

@ -7,5 +7,4 @@ gstges = library('gstges', gstges_sources,
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstges, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstges] plugins += [gstges]

View file

@ -14,5 +14,4 @@ nle = library('gstnle', nle_sources,
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(nle, install_dir : plugins_pkgconfig_install_dir)
plugins += [nle] plugins += [nle]

View file

@ -22,5 +22,4 @@ gstlibav_plugin = library('gstlibav',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstlibav_plugin, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstlibav_plugin] plugins += [gstlibav_plugin]

View file

@ -23,6 +23,5 @@ gstaes = library('gstaes',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaes, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaes] plugins += [gstaes]
aes_dep = declare_dependency(include_directories : include_directories('.')) aes_dep = declare_dependency(include_directories : include_directories('.'))

View file

@ -8,6 +8,5 @@ if aom_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaom, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaom] plugins += [gstaom]
endif endif

View file

@ -9,6 +9,5 @@ if ass_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstassrender, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstassrender] plugins += [gstassrender]
endif endif

View file

@ -37,6 +37,5 @@ if avtp_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstavtp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstavtp] plugins += [gstavtp]
endif endif

View file

@ -12,6 +12,5 @@ if bs2b_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstbs2b, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstbs2b] plugins += [gstbs2b]
endif endif

View file

@ -15,6 +15,5 @@ if bz2_dep.found() and cc.has_header_symbol('bzlib.h', 'BZ2_bzlibVersion')
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstbz2, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstbz2] plugins += [gstbz2]
endif endif

View file

@ -9,6 +9,5 @@ if chromaprint_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstchromaprint, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstchromaprint] plugins += [gstchromaprint]
endif endif

View file

@ -21,6 +21,5 @@ if closedcaption_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstclosedcaption, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstclosedcaption] plugins += [gstclosedcaption]
endif endif

View file

@ -9,6 +9,5 @@ if lcms2_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcolormanagement, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstcolormanagement] plugins += [gstcolormanagement]
endif endif

View file

@ -27,6 +27,5 @@ if curl_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcurl, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstcurl] plugins += [gstcurl]
endif endif

View file

@ -51,6 +51,5 @@ if xml2_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdashdemux, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdashdemux] plugins += [gstdashdemux]
endif endif

View file

@ -8,6 +8,5 @@ if dc1394_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstdc1394, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstdc1394] plugins += [gstdc1394]
endif endif

View file

@ -9,6 +9,5 @@ if directfb_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdirectfb, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdirectfb] plugins += [gstdirectfb]
endif endif

View file

@ -24,6 +24,5 @@ if openssl_dep.found() and libcrypto_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdtls, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdtls] plugins += [gstdtls]
endif endif

View file

@ -36,6 +36,5 @@ if dca_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdtsdec, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdtsdec] plugins += [gstdtsdec]
endif endif

View file

@ -13,6 +13,5 @@ if faac_dep.found() and have_faac_h
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstfaac, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstfaac] plugins += [gstfaac]
endif endif

View file

@ -28,6 +28,5 @@ if faad_dep.found() and have_faad_2_7
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstfaad, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstfaad] plugins += [gstfaad]
endif endif

View file

@ -21,6 +21,5 @@ if fdkaac_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstfdkaac, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstfdkaac] plugins += [gstfdkaac]
endif endif

View file

@ -35,6 +35,5 @@ if flite_deps.length() == flite_libs.length() and have_flite_h
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstflite, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstflite] plugins += [gstflite]
endif endif

View file

@ -9,6 +9,5 @@ if fluidsynth_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstfluidsynth, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstfluidsynth] plugins += [gstfluidsynth]
endif endif

View file

@ -17,7 +17,6 @@ if have_gme
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstgme, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstgme] plugins += [gstgme]
elif get_option('gme').enabled() elif get_option('gme').enabled()
error('libgme plugin was enabled but required dependencies not found.') error('libgme plugin was enabled but required dependencies not found.')

View file

@ -17,6 +17,5 @@ if gs_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstgs, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstgs] plugins += [gstgs]
endif endif

View file

@ -24,6 +24,5 @@ if gsm_dep.found() and have_gsm_create
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstgsm, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstgsm] plugins += [gstgsm]
endif endif

View file

@ -18,6 +18,5 @@ if gtk_dep.found() and gtk_wayland_dep.found() and use_wayland
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstgtkwayland, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstgtkwayland] plugins += [gstgtkwayland]
endif endif

View file

@ -63,6 +63,5 @@ gsthls = library('gsthls',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gsthls, install_dir : plugins_pkgconfig_install_dir)
plugins += [gsthls] plugins += [gsthls]
hls_dep = declare_dependency(include_directories : include_directories('.')) hls_dep = declare_dependency(include_directories : include_directories('.'))

View file

@ -15,7 +15,6 @@ if dssim_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstiqa, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstiqa] plugins += [gstiqa]
endif endif

View file

@ -15,6 +15,5 @@ if webrtc_audio_coding_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstisac, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstisac] plugins += [gstisac]
endif endif

View file

@ -22,6 +22,5 @@ if kate_dep.found()
dependencies : [gstbase_dep, gstvideo_dep, gsttag_dep, kate_dep], dependencies : [gstbase_dep, gstvideo_dep, gsttag_dep, kate_dep],
install : true, install : true,
install_dir : plugins_install_dir) install_dir : plugins_install_dir)
pkgconfig.generate(gstkate, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstkate] plugins += [gstkate]
endif endif

View file

@ -33,6 +33,5 @@ if have_ladspa_h
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstladspa, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstladspa] plugins += [gstladspa]
endif endif

View file

@ -14,6 +14,5 @@ if ldac_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstldac, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstldac] plugins += [gstldac]
endif endif

View file

@ -14,6 +14,5 @@ if de265_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstde265, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstde265] plugins += [gstde265]
endif endif

View file

@ -16,6 +16,5 @@ if lv2_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstlv2, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstlv2] plugins += [gstlv2]
endif endif

View file

@ -12,6 +12,5 @@ if microdns_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmicrodns, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstmicrodns] plugins += [gstmicrodns]
endif endif

View file

@ -13,6 +13,5 @@ if modplug_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstmodplug, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstmodplug] plugins += [gstmodplug]
endif endif

View file

@ -34,6 +34,5 @@ if mjpegtools_dep.found() and mpeg2enc_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmpeg2enc, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstmpeg2enc] plugins += [gstmpeg2enc]
endif endif

View file

@ -20,6 +20,5 @@ if mjpegtools_dep.found() and mplex2_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmplex2, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstmplex2] plugins += [gstmplex2]
endif endif

View file

@ -10,7 +10,6 @@ if mpcdec_dep.found() and cc.has_header_symbol('mpc/mpcdec.h', 'mpc_demux_init',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmusepack, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstmusepack] plugins += [gstmusepack]
elif get_option('musepack').enabled() elif get_option('musepack').enabled()
error('Could not find libmpcdec header files, but Musepack was enabled via options') error('Could not find libmpcdec header files, but Musepack was enabled via options')

View file

@ -9,6 +9,5 @@ if neon_dep.found()
dependencies : [gstbase_dep, neon_dep], dependencies : [gstbase_dep, neon_dep],
install : true, install : true,
install_dir : plugins_install_dir) install_dir : plugins_install_dir)
pkgconfig.generate(gstneon, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstneon] plugins += [gstneon]
endif endif

View file

@ -27,6 +27,5 @@ if onnxrt_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstonnx, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstonnx] plugins += [gstonnx]
endif endif

View file

@ -9,6 +9,5 @@ if openal_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstopenal, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstopenal] plugins += [gstopenal]
endif endif

View file

@ -26,6 +26,5 @@ if openaptx_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstopenaptx, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstopenaptx] plugins += [gstopenaptx]
endif endif

View file

@ -124,7 +124,6 @@ if opencv_found
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstopencv, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstopencv] plugins += [gstopencv]
elif get_option('opencv').enabled() elif get_option('opencv').enabled()
error('OpenCV support enabled but required dependencies were not found.') error('OpenCV support enabled but required dependencies were not found.')

View file

@ -33,6 +33,5 @@ if openexr_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstopenexr, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstopenexr] plugins += [gstopenexr]
endif endif

View file

@ -19,6 +19,5 @@ if openh264_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstopenh264, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstopenh264] plugins += [gstopenh264]
endif endif

View file

@ -22,6 +22,5 @@ if openjpeg_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstopenjpeg, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstopenjpeg] plugins += [gstopenjpeg]
endif endif

View file

@ -8,6 +8,5 @@ if openmpt_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstopenmpt, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstopenmpt] plugins += [gstopenmpt]
endif endif

View file

@ -13,6 +13,5 @@ if openni2_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstopenni2, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstopenni2] plugins += [gstopenni2]
endif endif

View file

@ -17,6 +17,5 @@ if opus_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstopus, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstopus] plugins += [gstopus]
endif endif

View file

@ -9,7 +9,6 @@ if qrencode_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstqroverlay, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstqroverlay] plugins += [gstqroverlay]
endif endif
endif endif

View file

@ -29,6 +29,5 @@ if dvdnav_dep.found() and dvdread_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstresindvd, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstresindvd] plugins += [gstresindvd]
endif endif

View file

@ -15,6 +15,5 @@ if rsvg_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstrsvg, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstrsvg] plugins += [gstrsvg]
endif endif

View file

@ -16,6 +16,5 @@ if rtmp_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstrtmp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstrtmp] plugins += [gstrtmp]
endif endif

View file

@ -15,6 +15,5 @@ if sbc_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstsbc, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstsbc] plugins += [gstsbc]
endif endif

View file

@ -57,6 +57,5 @@ if sctp_dep.found() and sctp_header
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstsctp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstsctp] plugins += [gstsctp]
endif endif

View file

@ -18,6 +18,5 @@ if xml28_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmss, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstmss] plugins += [gstmss]
endif endif

View file

@ -9,6 +9,5 @@ if sndfile_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstsndfile, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstsndfile] plugins += [gstsndfile]
endif endif

View file

@ -39,6 +39,5 @@ if soundtouch_dep.found()
dependencies : [gstaudio_dep, soundtouch_dep, gnustl_dep], dependencies : [gstaudio_dep, soundtouch_dep, gnustl_dep],
install : true, install : true,
install_dir : plugins_install_dir) install_dir : plugins_install_dir)
pkgconfig.generate(gstsoundtouch, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstsoundtouch] plugins += [gstsoundtouch]
endif endif

View file

@ -19,6 +19,5 @@ if spandsp_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstspandsp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstspandsp] plugins += [gstspandsp]
endif endif

View file

@ -34,6 +34,5 @@ if srt_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstsrt, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstsrt] plugins += [gstsrt]
endif endif

View file

@ -39,6 +39,5 @@ if srtp_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstsrtp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstsrtp] plugins += [gstsrtp]
endif endif

View file

@ -13,6 +13,5 @@ if svthevcenc_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstsvthevcenc, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstsvthevcenc] plugins += [gstsvthevcenc]
endif endif

View file

@ -10,6 +10,5 @@ if zvbi_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstteletext, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstteletext] plugins += [gstteletext]
endif endif

View file

@ -18,6 +18,5 @@ if libxml_dep.found() and pango_dep.found() and cairo_dep.found() and pangocairo
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstttmlsubs, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstttmlsubs] plugins += [gstttmlsubs]
endif endif

View file

@ -12,6 +12,5 @@ if voaac_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstbz2, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstbz2] plugins += [gstbz2]
endif endif

View file

@ -10,7 +10,6 @@ if voamrwbenc_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstvoamrwbenc, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstvoamrwbenc] plugins += [gstvoamrwbenc]
install_data('GstVoAmrwbEnc.prs', install_dir: presetdir) install_data('GstVoAmrwbEnc.prs', install_dir: presetdir)

View file

@ -51,5 +51,4 @@ gstvulkan_plugin = library('gstvulkan',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvulkan_plugin, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstvulkan_plugin] plugins += [gstvulkan_plugin]

View file

@ -12,6 +12,5 @@ if use_wayland
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstwaylandsink, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstwaylandsink] plugins += [gstwaylandsink]
endif endif

View file

@ -15,6 +15,5 @@ if webp_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstwebp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstwebp] plugins += [gstwebp]
endif endif

View file

@ -27,6 +27,5 @@ gstwebrtc_plugin = library('gstwebrtc',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstwebrtc_plugin, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstwebrtc_plugin] plugins += [gstwebrtc_plugin]

View file

@ -22,6 +22,5 @@ if webrtc_dep.found() and gnustl_dep.found()
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
override_options : ['cpp_std=c++11'], override_options : ['cpp_std=c++11'],
) )
pkgconfig.generate(gstwebrtcdsp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstwebrtcdsp] plugins += [gstwebrtcdsp]
endif endif

View file

@ -30,7 +30,6 @@ if wildmidi_dep.found()
install: true, install: true,
install_dir: plugins_install_dir, install_dir: plugins_install_dir,
) )
pkgconfig.generate(gstwildmidi, install_dir: plugins_pkgconfig_install_dir)
plugins += [gstwildmidi] plugins += [gstwildmidi]
elif get_option('wildmidi').enabled() elif get_option('wildmidi').enabled()
error('WildMidi plugin explicitly enabled, but required library or headers not found.') error('WildMidi plugin explicitly enabled, but required library or headers not found.')

View file

@ -38,5 +38,4 @@ if giounix_dep.found()
subdir('wpe-extension') subdir('wpe-extension')
endif endif
pkgconfig.generate(gstwpe, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstwpe] plugins += [gstwpe]

View file

@ -13,6 +13,5 @@ if x265_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstx265, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstx265] plugins += [gstx265]
endif endif

View file

@ -8,6 +8,5 @@ if zbar_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstzbar, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstzbar] plugins += [gstzbar]
endif endif

View file

@ -13,6 +13,5 @@ if zxing_dep.found()
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
override_options : ['cpp_std=c++11'], override_options : ['cpp_std=c++11'],
) )
pkgconfig.generate(gstzxing, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstzxing] plugins += [gstzxing]
endif endif

View file

@ -10,5 +10,4 @@ gstaccurip = library('gstaccurip',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaccurip, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaccurip] plugins += [gstaccurip]

View file

@ -10,5 +10,4 @@ gstadpcmdec = library('gstadpcmdec',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstadpcmdec, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstadpcmdec] plugins += [gstadpcmdec]

View file

@ -10,5 +10,4 @@ gstadpcmenc = library('gstadpcmenc',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstadpcmenc, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstadpcmenc] plugins += [gstadpcmenc]

View file

@ -10,5 +10,4 @@ gstaiff = library('gstaiff',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaiff, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaiff] plugins += [gstaiff]

View file

@ -14,5 +14,4 @@ gstasfmux = library('gstasfmux',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstasfmux, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstasfmux] plugins += [gstasfmux]

View file

@ -10,5 +10,4 @@ gstaudiobuffersplit = library('gstaudiobuffersplit',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaudiobuffersplit, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaudiobuffersplit] plugins += [gstaudiobuffersplit]

View file

@ -11,5 +11,4 @@ gstaudiofxbad = library('gstaudiofxbad',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaudiofxbad, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaudiofxbad] plugins += [gstaudiofxbad]

View file

@ -6,5 +6,4 @@ gstaudiolatency = library('gstaudiolatency',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaudiolatency, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaudiolatency] plugins += [gstaudiolatency]

View file

@ -10,5 +10,4 @@ gstaudiomixmatrix = library('gstaudiomixmatrix',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaudiomixmatrix, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaudiomixmatrix] plugins += [gstaudiomixmatrix]

View file

@ -14,5 +14,4 @@ gstaudiovisualizers = library('gstaudiovisualizers',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaudiovisualizers, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstaudiovisualizers] plugins += [gstaudiovisualizers]

View file

@ -12,5 +12,4 @@ gstautoconvert = library('gstautoconvert',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstautoconvert, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstautoconvert] plugins += [gstautoconvert]

View file

@ -32,5 +32,4 @@ gstbayer = library('gstbayer',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstbayer, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstbayer] plugins += [gstbayer]

View file

@ -16,5 +16,4 @@ gstcamerabin = library('gstcamerabin',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcamerabin, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstcamerabin] plugins += [gstcamerabin]

View file

@ -15,5 +15,4 @@ gstcodecalpha = library('gstcodecalpha',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcodecalpha, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstcodecalpha] plugins += [gstcodecalpha]

View file

@ -12,5 +12,4 @@ gstcoloreffects = library('gstcoloreffects',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcoloreffects, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstcoloreffects] plugins += [gstcoloreffects]

View file

@ -23,5 +23,4 @@ gstdebugutilsbad = library('gstdebugutilsbad',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdebugutilsbad, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdebugutilsbad] plugins += [gstdebugutilsbad]

View file

@ -26,5 +26,4 @@ gstdvbsubenc = library('gstdvbsubenc',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdvbsubenc, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdvbsubenc] plugins += [gstdvbsubenc]

View file

@ -11,5 +11,4 @@ gstdvbsuboverlay = library('gstdvbsuboverlay',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdvbsuboverlay, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdvbsuboverlay] plugins += [gstdvbsuboverlay]

View file

@ -14,5 +14,4 @@ gstdvdspu = library('gstdvdspu',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdvdspu, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdvdspu] plugins += [gstdvdspu]

Some files were not shown because too many files have changed in this diff Show more