Commit edd9c8f6 authored by Xavier Claessens's avatar Xavier Claessens Committed by Tim-Philipp Müller

Meson: Generate pc file for all plugins in good

https://bugzilla.gnome.org/show_bug.cgi?id=794568
parent 84831ad0
...@@ -10,4 +10,5 @@ if cairo_dep.found() ...@@ -10,4 +10,5 @@ if cairo_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcairo, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -17,6 +17,7 @@ if dv_dep.found() ...@@ -17,6 +17,7 @@ if dv_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdv, install_dir : plugins_pkgconfig_install_dir)
#executable('smpte_test', #executable('smpte_test',
# 'smpte_test.c', 'gstsmptetimecode.c', # 'smpte_test.c', 'gstsmptetimecode.c',
......
...@@ -17,4 +17,5 @@ if flac_dep.found() ...@@ -17,4 +17,5 @@ if flac_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstflac, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -17,4 +17,5 @@ if gdkpixbuf_dep.found() ...@@ -17,4 +17,5 @@ if gdkpixbuf_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstgdkpixbuf, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -50,5 +50,6 @@ if gtk_dep.found() ...@@ -50,5 +50,6 @@ if gtk_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstgtk, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -17,4 +17,5 @@ if libjack_dep.found() ...@@ -17,4 +17,5 @@ if libjack_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstjack, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -16,4 +16,5 @@ if jpeglib.found() ...@@ -16,4 +16,5 @@ if jpeglib.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstjpeg, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -16,4 +16,5 @@ if lame_dep.found() and cc.has_header_symbol('lame/lame.h', 'lame_init') ...@@ -16,4 +16,5 @@ if lame_dep.found() and cc.has_header_symbol('lame/lame.h', 'lame_init')
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(lame, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -16,4 +16,5 @@ if libpng_dep.found() ...@@ -16,4 +16,5 @@ if libpng_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstpng, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -9,4 +9,5 @@ if mpg123_dep.found() ...@@ -9,4 +9,5 @@ if mpg123_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmpg123, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -17,4 +17,5 @@ if libpulse_dep.found() ...@@ -17,4 +17,5 @@ if libpulse_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstpulse, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -11,4 +11,5 @@ if shout2_dep.found() ...@@ -11,4 +11,5 @@ if shout2_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstshout2, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -22,4 +22,5 @@ if libsoup_dep.found() ...@@ -22,4 +22,5 @@ if libsoup_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstsouphttpsrc, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -16,4 +16,5 @@ if speex_dep.found() ...@@ -16,4 +16,5 @@ if speex_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstspeex, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -25,4 +25,5 @@ if taglib_dep.found() and add_languages('cpp', required : false) ...@@ -25,4 +25,5 @@ if taglib_dep.found() and add_languages('cpp', required : false)
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gsttaglib, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -9,4 +9,5 @@ if twolame_dep.found() ...@@ -9,4 +9,5 @@ if twolame_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(twolame, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -57,6 +57,7 @@ if vpx_dep.found() ...@@ -57,6 +57,7 @@ if vpx_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvpx, install_dir : plugins_pkgconfig_install_dir)
install_data(sources: ['GstVP8Enc.prs'], install_dir: presetdir) install_data(sources: ['GstVP8Enc.prs'], install_dir: presetdir)
endif endif
...@@ -18,4 +18,5 @@ if wavpack_dep.found() ...@@ -18,4 +18,5 @@ if wavpack_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstwavpack, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -5,6 +5,7 @@ gstalpha = library('gstalpha', 'gstalpha.c', ...@@ -5,6 +5,7 @@ gstalpha = library('gstalpha', 'gstalpha.c',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstalpha, install_dir : plugins_pkgconfig_install_dir)
gstalphacolor = library('gstalphacolor', 'gstalphacolor.c', gstalphacolor = library('gstalphacolor', 'gstalphacolor.c',
c_args : gst_plugins_good_args, c_args : gst_plugins_good_args,
...@@ -13,3 +14,4 @@ gstalphacolor = library('gstalphacolor', 'gstalphacolor.c', ...@@ -13,3 +14,4 @@ gstalphacolor = library('gstalphacolor', 'gstalphacolor.c',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstalphacolor, install_dir : plugins_pkgconfig_install_dir)
...@@ -5,3 +5,4 @@ gstapetag = library('gstapetag', 'gstapedemux.c', ...@@ -5,3 +5,4 @@ gstapetag = library('gstapetag', 'gstapedemux.c',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstapetag, install_dir : plugins_pkgconfig_install_dir)
...@@ -44,3 +44,4 @@ gstaudiofx = library('gstaudiofx', ...@@ -44,3 +44,4 @@ gstaudiofx = library('gstaudiofx',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaudiofx, install_dir : plugins_pkgconfig_install_dir)
...@@ -19,3 +19,4 @@ gstaudioparsers = library('gstaudioparsers', ...@@ -19,3 +19,4 @@ gstaudioparsers = library('gstaudioparsers',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstaudioparsers, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstauparse = library('gstauparse', ...@@ -6,3 +6,4 @@ gstauparse = library('gstauparse',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstauparse, install_dir : plugins_pkgconfig_install_dir)
...@@ -14,3 +14,4 @@ gstautodetect = library('gstautodetect', ...@@ -14,3 +14,4 @@ gstautodetect = library('gstautodetect',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstautodetect, install_dir : plugins_pkgconfig_install_dir)
...@@ -13,3 +13,4 @@ gstavi = library('gstavi', ...@@ -13,3 +13,4 @@ gstavi = library('gstavi',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstavi, install_dir : plugins_pkgconfig_install_dir)
...@@ -5,3 +5,4 @@ gstcutter = library('gstcutter', 'gstcutter.c', ...@@ -5,3 +5,4 @@ gstcutter = library('gstcutter', 'gstcutter.c',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcutter, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,6 +6,7 @@ gstnavigationtest = library('gstnavigationtest', ...@@ -6,6 +6,7 @@ gstnavigationtest = library('gstnavigationtest',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstnavigationtest, install_dir : plugins_pkgconfig_install_dir)
gstdebug = library('gstdebug', gstdebug = library('gstdebug',
'gstdebug.c', 'gstdebug.c',
...@@ -25,3 +26,4 @@ gstdebug = library('gstdebug', ...@@ -25,3 +26,4 @@ gstdebug = library('gstdebug',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdebug, install_dir : plugins_pkgconfig_install_dir)
...@@ -40,4 +40,5 @@ gstdeinterlace = library('gstdeinterlace', ...@@ -40,4 +40,5 @@ gstdeinterlace = library('gstdeinterlace',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdeinterlace, install_dir : plugins_pkgconfig_install_dir)
...@@ -13,4 +13,5 @@ gstdtmf = library('gstdtmf', ...@@ -13,4 +13,5 @@ gstdtmf = library('gstdtmf',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstdtmf, install_dir : plugins_pkgconfig_install_dir)
...@@ -12,3 +12,4 @@ gsteffectv = library('gsteffectv', ...@@ -12,3 +12,4 @@ gsteffectv = library('gsteffectv',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gsteffectv, install_dir : plugins_pkgconfig_install_dir)
...@@ -13,6 +13,7 @@ gstequalizer = library('gstequalizer', ...@@ -13,6 +13,7 @@ gstequalizer = library('gstequalizer',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstequalizer, install_dir : plugins_pkgconfig_install_dir)
install_data(sources: ['GstIirEqualizer3Bands.prs', install_data(sources: ['GstIirEqualizer3Bands.prs',
'GstIirEqualizer10Bands.prs'], install_dir: presetdir) 'GstIirEqualizer10Bands.prs'], install_dir: presetdir)
...@@ -6,3 +6,4 @@ gstflv = library('gstflv', ...@@ -6,3 +6,4 @@ gstflv = library('gstflv',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstflv, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ flxdec = library('gstflxdec', ...@@ -6,3 +6,4 @@ flxdec = library('gstflxdec',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(flxdec, install_dir : plugins_pkgconfig_install_dir)
...@@ -27,3 +27,4 @@ gstgoom = library('gstgoom', ...@@ -27,3 +27,4 @@ gstgoom = library('gstgoom',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstgoom, install_dir : plugins_pkgconfig_install_dir)
...@@ -37,3 +37,4 @@ gstgoom2k1 = library('gstgoom2k1', ...@@ -37,3 +37,4 @@ gstgoom2k1 = library('gstgoom2k1',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstgoom2k1, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gsticydemux = library('gsticydemux', ...@@ -6,3 +6,4 @@ gsticydemux = library('gsticydemux',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gsticydemux, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstid3demux = library('gstid3demux', ...@@ -6,3 +6,4 @@ gstid3demux = library('gstid3demux',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstid3demux, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstimagefreeze = library('gstimagefreeze', ...@@ -6,3 +6,4 @@ gstimagefreeze = library('gstimagefreeze',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstimagefreeze, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstinterleave = library('gstinterleave', ...@@ -6,3 +6,4 @@ gstinterleave = library('gstinterleave',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstinterleave, install_dir : plugins_pkgconfig_install_dir)
...@@ -25,5 +25,6 @@ gstisomp4 = library('gstisomp4', ...@@ -25,5 +25,6 @@ gstisomp4 = library('gstisomp4',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstisomp4, install_dir : plugins_pkgconfig_install_dir)
install_data(sources: 'GstQTMux.prs', install_dir: presetdir) install_data(sources: 'GstQTMux.prs', install_dir: presetdir)
...@@ -6,6 +6,7 @@ gstalaw = library('gstalaw', ...@@ -6,6 +6,7 @@ gstalaw = library('gstalaw',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstalaw, install_dir : plugins_pkgconfig_install_dir)
gstmulaw = library('gstmulaw', gstmulaw = library('gstmulaw',
'mulaw-encode.c', 'mulaw-conversion.c', 'mulaw-decode.c', 'mulaw.c', 'mulaw-encode.c', 'mulaw-conversion.c', 'mulaw-decode.c', 'mulaw.c',
...@@ -15,3 +16,4 @@ gstmulaw = library('gstmulaw', ...@@ -15,3 +16,4 @@ gstmulaw = library('gstmulaw',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmulaw, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstlevel = library('gstlevel', ...@@ -6,3 +6,4 @@ gstlevel = library('gstlevel',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstlevel, install_dir : plugins_pkgconfig_install_dir)
...@@ -22,3 +22,4 @@ gstmatroska = library('gstmatroska', ...@@ -22,3 +22,4 @@ gstmatroska = library('gstmatroska',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmatroska, install_dir : plugins_pkgconfig_install_dir)
...@@ -8,3 +8,4 @@ gstmonoscope = library('gstmonoscope', ...@@ -8,3 +8,4 @@ gstmonoscope = library('gstmonoscope',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmonoscope, install_dir : plugins_pkgconfig_install_dir)
...@@ -19,6 +19,7 @@ gstmultifile = library('gstmultifile', ...@@ -19,6 +19,7 @@ gstmultifile = library('gstmultifile',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmultifile, install_dir : plugins_pkgconfig_install_dir)
test_splitmuxpartreader_sources = [ test_splitmuxpartreader_sources = [
'test-splitmuxpartreader.c', 'test-splitmuxpartreader.c',
......
...@@ -8,3 +8,4 @@ gstmultipart = library('gstmultipart', ...@@ -8,3 +8,4 @@ gstmultipart = library('gstmultipart',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstmultipart, install_dir : plugins_pkgconfig_install_dir)
...@@ -14,4 +14,5 @@ gstreplaygain = library('gstreplaygain', ...@@ -14,4 +14,5 @@ gstreplaygain = library('gstreplaygain',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstreplaygain, install_dir : plugins_pkgconfig_install_dir)
...@@ -118,3 +118,4 @@ gstrtp = library('gstrtp', ...@@ -118,3 +118,4 @@ gstrtp = library('gstrtp',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstrtp, install_dir : plugins_pkgconfig_install_dir)
...@@ -24,3 +24,4 @@ gstrtpmanager = library('gstrtpmanager', ...@@ -24,3 +24,4 @@ gstrtpmanager = library('gstrtpmanager',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstrtpmanager, install_dir : plugins_pkgconfig_install_dir)
...@@ -13,3 +13,4 @@ gstrtsp = library('gstrtsp', ...@@ -13,3 +13,4 @@ gstrtsp = library('gstrtsp',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstrtsp, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstshapewipe = library('gstshapewipe', ...@@ -6,3 +6,4 @@ gstshapewipe = library('gstshapewipe',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstshapewipe, install_dir : plugins_pkgconfig_install_dir)
...@@ -15,3 +15,4 @@ gstsmpte = library('gstsmpte', ...@@ -15,3 +15,4 @@ gstsmpte = library('gstsmpte',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstsmpte, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstspectrum = library('gstspectrum', ...@@ -6,3 +6,4 @@ gstspectrum = library('gstspectrum',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstspectrum, install_dir : plugins_pkgconfig_install_dir)
...@@ -15,3 +15,4 @@ gstudp = library('gstudp', ...@@ -15,3 +15,4 @@ gstudp = library('gstudp',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstudp, install_dir : plugins_pkgconfig_install_dir)
...@@ -25,3 +25,4 @@ gstvideobox = library('gstvideobox', ...@@ -25,3 +25,4 @@ gstvideobox = library('gstvideobox',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvideobox, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstvideocrop = library('gstvideocrop', ...@@ -6,3 +6,4 @@ gstvideocrop = library('gstvideocrop',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvideocrop, install_dir : plugins_pkgconfig_install_dir)
...@@ -14,3 +14,4 @@ gstvideofilter = library('gstvideofilter', ...@@ -14,3 +14,4 @@ gstvideofilter = library('gstvideofilter',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvideofilter, install_dir : plugins_pkgconfig_install_dir)
...@@ -30,3 +30,4 @@ gstvideomixer = library('gstvideomixer', ...@@ -30,3 +30,4 @@ gstvideomixer = library('gstvideomixer',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvideomixer, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gstwavenc = library('gstwavenc', ...@@ -6,3 +6,4 @@ gstwavenc = library('gstwavenc',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstwavenc, install_dir : plugins_pkgconfig_install_dir)
...@@ -7,3 +7,4 @@ gstwawparse = library('gstwavparse', ...@@ -7,3 +7,4 @@ gstwawparse = library('gstwavparse',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstwawparse, install_dir : plugins_pkgconfig_install_dir)
...@@ -6,3 +6,4 @@ gsty4menc = library('gsty4menc', ...@@ -6,3 +6,4 @@ gsty4menc = library('gsty4menc',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gsty4menc, install_dir : plugins_pkgconfig_install_dir)
...@@ -357,6 +357,13 @@ endif ...@@ -357,6 +357,13 @@ endif
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('sys') subdir('sys')
subdir('ext') subdir('ext')
......
...@@ -21,4 +21,5 @@ if host_machine.system() == 'windows' and cc.has_header('dsound.h') ...@@ -21,4 +21,5 @@ if host_machine.system() == 'windows' and cc.has_header('dsound.h')
dependencies : [gstaudio_dep] + directsoundsink_dep, dependencies : [gstaudio_dep] + directsoundsink_dep,
install : true, install : true,
install_dir : plugins_install_dir) install_dir : plugins_install_dir)
pkgconfig.generate(gstdirectsoundsink, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -51,4 +51,5 @@ if cc.has_header('linux/videodev2.h') or cc.has_header('sys/videodev2.h') or cc. ...@@ -51,4 +51,5 @@ if cc.has_header('linux/videodev2.h') or cc.has_header('sys/videodev2.h') or cc.
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstv4l2, install_dir : plugins_pkgconfig_install_dir)
endif endif
...@@ -27,4 +27,5 @@ if x11_dep.found() ...@@ -27,4 +27,5 @@ if x11_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstximagesrc, install_dir : plugins_pkgconfig_install_dir)
endif endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment