Meson: Generate pc file for all plugins in good

https://bugzilla.gnome.org/show_bug.cgi?id=794568
This commit is contained in:
Xavier Claessens 2018-04-24 14:06:10 -04:00 committed by Tim-Philipp Müller
parent 84831ad03d
commit edd9c8f6b8
65 changed files with 74 additions and 0 deletions

View file

@ -10,4 +10,5 @@ if cairo_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstcairo, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -17,6 +17,7 @@ if dv_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstdv, install_dir : plugins_pkgconfig_install_dir)
#executable('smpte_test',
# 'smpte_test.c', 'gstsmptetimecode.c',

View file

@ -17,4 +17,5 @@ if flac_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstflac, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -17,4 +17,5 @@ if gdkpixbuf_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstgdkpixbuf, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -50,5 +50,6 @@ if gtk_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstgtk, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -17,4 +17,5 @@ if libjack_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstjack, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -16,4 +16,5 @@ if jpeglib.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstjpeg, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -16,4 +16,5 @@ if lame_dep.found() and cc.has_header_symbol('lame/lame.h', 'lame_init')
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(lame, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -16,4 +16,5 @@ if libpng_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstpng, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -9,4 +9,5 @@ if mpg123_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmpg123, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -17,4 +17,5 @@ if libpulse_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstpulse, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -11,4 +11,5 @@ if shout2_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstshout2, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -22,4 +22,5 @@ if libsoup_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstsouphttpsrc, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -16,4 +16,5 @@ if speex_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstspeex, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -25,4 +25,5 @@ if taglib_dep.found() and add_languages('cpp', required : false)
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsttaglib, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -9,4 +9,5 @@ if twolame_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(twolame, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -57,6 +57,7 @@ if vpx_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvpx, install_dir : plugins_pkgconfig_install_dir)
install_data(sources: ['GstVP8Enc.prs'], install_dir: presetdir)
endif

View file

@ -18,4 +18,5 @@ if wavpack_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstwavpack, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -5,6 +5,7 @@ gstalpha = library('gstalpha', 'gstalpha.c',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstalpha, install_dir : plugins_pkgconfig_install_dir)
gstalphacolor = library('gstalphacolor', 'gstalphacolor.c',
c_args : gst_plugins_good_args,
@ -13,3 +14,4 @@ gstalphacolor = library('gstalphacolor', 'gstalphacolor.c',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstalphacolor, install_dir : plugins_pkgconfig_install_dir)

View file

@ -5,3 +5,4 @@ gstapetag = library('gstapetag', 'gstapedemux.c',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstapetag, install_dir : plugins_pkgconfig_install_dir)

View file

@ -44,3 +44,4 @@ gstaudiofx = library('gstaudiofx',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstaudiofx, install_dir : plugins_pkgconfig_install_dir)

View file

@ -19,3 +19,4 @@ gstaudioparsers = library('gstaudioparsers',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstaudioparsers, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstauparse = library('gstauparse',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstauparse, install_dir : plugins_pkgconfig_install_dir)

View file

@ -14,3 +14,4 @@ gstautodetect = library('gstautodetect',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstautodetect, install_dir : plugins_pkgconfig_install_dir)

View file

@ -13,3 +13,4 @@ gstavi = library('gstavi',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstavi, install_dir : plugins_pkgconfig_install_dir)

View file

@ -5,3 +5,4 @@ gstcutter = library('gstcutter', 'gstcutter.c',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstcutter, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,6 +6,7 @@ gstnavigationtest = library('gstnavigationtest',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstnavigationtest, install_dir : plugins_pkgconfig_install_dir)
gstdebug = library('gstdebug',
'gstdebug.c',
@ -25,3 +26,4 @@ gstdebug = library('gstdebug',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstdebug, install_dir : plugins_pkgconfig_install_dir)

View file

@ -40,4 +40,5 @@ gstdeinterlace = library('gstdeinterlace',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstdeinterlace, install_dir : plugins_pkgconfig_install_dir)

View file

@ -13,4 +13,5 @@ gstdtmf = library('gstdtmf',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstdtmf, install_dir : plugins_pkgconfig_install_dir)

View file

@ -12,3 +12,4 @@ gsteffectv = library('gsteffectv',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsteffectv, install_dir : plugins_pkgconfig_install_dir)

View file

@ -13,6 +13,7 @@ gstequalizer = library('gstequalizer',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstequalizer, install_dir : plugins_pkgconfig_install_dir)
install_data(sources: ['GstIirEqualizer3Bands.prs',
'GstIirEqualizer10Bands.prs'], install_dir: presetdir)

View file

@ -6,3 +6,4 @@ gstflv = library('gstflv',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstflv, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ flxdec = library('gstflxdec',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(flxdec, install_dir : plugins_pkgconfig_install_dir)

View file

@ -27,3 +27,4 @@ gstgoom = library('gstgoom',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstgoom, install_dir : plugins_pkgconfig_install_dir)

View file

@ -37,3 +37,4 @@ gstgoom2k1 = library('gstgoom2k1',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstgoom2k1, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gsticydemux = library('gsticydemux',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsticydemux, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstid3demux = library('gstid3demux',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstid3demux, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstimagefreeze = library('gstimagefreeze',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstimagefreeze, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstinterleave = library('gstinterleave',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstinterleave, install_dir : plugins_pkgconfig_install_dir)

View file

@ -25,5 +25,6 @@ gstisomp4 = library('gstisomp4',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstisomp4, install_dir : plugins_pkgconfig_install_dir)
install_data(sources: 'GstQTMux.prs', install_dir: presetdir)

View file

@ -6,6 +6,7 @@ gstalaw = library('gstalaw',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstalaw, install_dir : plugins_pkgconfig_install_dir)
gstmulaw = library('gstmulaw',
'mulaw-encode.c', 'mulaw-conversion.c', 'mulaw-decode.c', 'mulaw.c',
@ -15,3 +16,4 @@ gstmulaw = library('gstmulaw',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmulaw, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstlevel = library('gstlevel',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstlevel, install_dir : plugins_pkgconfig_install_dir)

View file

@ -22,3 +22,4 @@ gstmatroska = library('gstmatroska',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmatroska, install_dir : plugins_pkgconfig_install_dir)

View file

@ -8,3 +8,4 @@ gstmonoscope = library('gstmonoscope',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmonoscope, install_dir : plugins_pkgconfig_install_dir)

View file

@ -19,6 +19,7 @@ gstmultifile = library('gstmultifile',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmultifile, install_dir : plugins_pkgconfig_install_dir)
test_splitmuxpartreader_sources = [
'test-splitmuxpartreader.c',

View file

@ -8,3 +8,4 @@ gstmultipart = library('gstmultipart',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmultipart, install_dir : plugins_pkgconfig_install_dir)

View file

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

View file

@ -118,3 +118,4 @@ gstrtp = library('gstrtp',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstrtp, install_dir : plugins_pkgconfig_install_dir)

View file

@ -24,3 +24,4 @@ gstrtpmanager = library('gstrtpmanager',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstrtpmanager, install_dir : plugins_pkgconfig_install_dir)

View file

@ -13,3 +13,4 @@ gstrtsp = library('gstrtsp',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstrtsp, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstshapewipe = library('gstshapewipe',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstshapewipe, install_dir : plugins_pkgconfig_install_dir)

View file

@ -15,3 +15,4 @@ gstsmpte = library('gstsmpte',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstsmpte, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstspectrum = library('gstspectrum',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstspectrum, install_dir : plugins_pkgconfig_install_dir)

View file

@ -15,3 +15,4 @@ gstudp = library('gstudp',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstudp, install_dir : plugins_pkgconfig_install_dir)

View file

@ -25,3 +25,4 @@ gstvideobox = library('gstvideobox',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideobox, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstvideocrop = library('gstvideocrop',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideocrop, install_dir : plugins_pkgconfig_install_dir)

View file

@ -14,3 +14,4 @@ gstvideofilter = library('gstvideofilter',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideofilter, install_dir : plugins_pkgconfig_install_dir)

View file

@ -30,3 +30,4 @@ gstvideomixer = library('gstvideomixer',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideomixer, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gstwavenc = library('gstwavenc',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstwavenc, install_dir : plugins_pkgconfig_install_dir)

View file

@ -7,3 +7,4 @@ gstwawparse = library('gstwavparse',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstwawparse, install_dir : plugins_pkgconfig_install_dir)

View file

@ -6,3 +6,4 @@ gsty4menc = library('gsty4menc',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsty4menc, install_dir : plugins_pkgconfig_install_dir)

View file

@ -357,6 +357,13 @@ endif
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('sys')
subdir('ext')

View file

@ -21,4 +21,5 @@ if host_machine.system() == 'windows' and cc.has_header('dsound.h')
dependencies : [gstaudio_dep] + directsoundsink_dep,
install : true,
install_dir : plugins_install_dir)
pkgconfig.generate(gstdirectsoundsink, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -51,4 +51,5 @@ if cc.has_header('linux/videodev2.h') or cc.has_header('sys/videodev2.h') or cc.
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstv4l2, install_dir : plugins_pkgconfig_install_dir)
endif

View file

@ -27,4 +27,5 @@ if x11_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstximagesrc, install_dir : plugins_pkgconfig_install_dir)
endif