Meson: Generate pc file for all plugins in base

https://bugzilla.gnome.org/show_bug.cgi?id=794568
This commit is contained in:
Xavier Claessens 2018-04-24 14:05:57 -04:00 committed by Tim-Philipp Müller
parent 447942c63d
commit 201e7c7803
32 changed files with 39 additions and 0 deletions

View file

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

View file

@ -29,4 +29,5 @@ if cdparanoia_found
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstcdparanoia, install_dir : plugins_pkgconfig_install_dir)
endif endif

View file

@ -117,4 +117,5 @@ if build_gstgl and gstgl_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstopengl, install_dir : plugins_pkgconfig_install_dir)
endif endif

View file

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

View file

@ -23,4 +23,5 @@ if ogg_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstogg, install_dir : plugins_pkgconfig_install_dir)
endif endif

View file

@ -18,4 +18,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)
endif endif

View file

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

View file

@ -26,4 +26,5 @@ if theoradec_dep.found() or theoraenc_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gsttheora, install_dir : plugins_pkgconfig_install_dir)
endif endif

View file

@ -39,6 +39,7 @@ if vorbis_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvorbis, install_dir : plugins_pkgconfig_install_dir)
endif endif
if vorbisidec_dep.found() if vorbisidec_dep.found()
@ -51,4 +52,5 @@ if vorbisidec_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstivorbisdec, install_dir : plugins_pkgconfig_install_dir)
endif endif

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -26,3 +26,4 @@ gstvolume = library('gstvolume', 'gstvolume.c', orc_c, orc_h,
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
pkgconfig.generate(gstvolume, install_dir : plugins_pkgconfig_install_dir)

View file

@ -311,6 +311,13 @@ gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' +
'g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);' + \ 'g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);' + \
'gst_init(NULL,NULL);' ] 'gst_init(NULL,NULL);' ]
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-libs') subdir('gst-libs')
subdir('gst') subdir('gst')
subdir('ext') subdir('ext')

View file

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

View file

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