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

Meson: Generate pc file for all plugins in base

https://bugzilla.gnome.org/show_bug.cgi?id=794568
parent 447942c6
......@@ -18,4 +18,5 @@ if alsa_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstalsa, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -29,4 +29,5 @@ if cdparanoia_found
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstcdparanoia, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -117,4 +117,5 @@ if build_gstgl and gstgl_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstopengl, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -16,4 +16,5 @@ if libvisual_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstlibvisual, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -23,4 +23,5 @@ if ogg_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstogg, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -18,4 +18,5 @@ if opus_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstopus, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -18,4 +18,5 @@ if pango_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstpango, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -26,4 +26,5 @@ if theoradec_dep.found() or theoraenc_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsttheora, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -39,6 +39,7 @@ if vorbis_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvorbis, install_dir : plugins_pkgconfig_install_dir)
endif
if vorbisidec_dep.found()
......@@ -51,4 +52,5 @@ if vorbisidec_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstivorbisdec, install_dir : plugins_pkgconfig_install_dir)
endif
......@@ -27,3 +27,4 @@ adder = library('gstadder',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(adder, install_dir : plugins_pkgconfig_install_dir)
......@@ -6,3 +6,4 @@ adder = library('gstapp',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(adder, install_dir : plugins_pkgconfig_install_dir)
......@@ -11,3 +11,4 @@ gstaudioconvert = library('gstaudioconvert',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstaudioconvert, install_dir : plugins_pkgconfig_install_dir)
......@@ -30,3 +30,4 @@ gstaudiomixer = library('gstaudiomixer',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstaudiomixer, install_dir : plugins_pkgconfig_install_dir)
......@@ -6,3 +6,4 @@ audiorate = library('gstaudiorate',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(audiorate, install_dir : plugins_pkgconfig_install_dir)
......@@ -8,3 +8,4 @@ audioresample = library('gstaudioresample',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(audioresample, install_dir : plugins_pkgconfig_install_dir)
......@@ -6,3 +6,4 @@ audiotest = library('gstaudiotestsrc',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(audiotest, install_dir : plugins_pkgconfig_install_dir)
......@@ -12,3 +12,4 @@ gstencoding = library('gstencoding',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstencoding, install_dir : plugins_pkgconfig_install_dir)
......@@ -15,3 +15,4 @@ gstgio = library('gstgio',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstgio, install_dir : plugins_pkgconfig_install_dir)
......@@ -10,3 +10,4 @@ gstpbtypes = library('gstpbtypes',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstpbtypes, install_dir : plugins_pkgconfig_install_dir)
......@@ -26,3 +26,4 @@ gstplayback = library('gstplayback',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstplayback, install_dir : plugins_pkgconfig_install_dir)
......@@ -15,4 +15,5 @@ gstrawparse = library('gstrawparse',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstrawparse, install_dir : plugins_pkgconfig_install_dir)
......@@ -15,3 +15,4 @@ gstsubparse = library('gstsubparse',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstsubparse, install_dir : plugins_pkgconfig_install_dir)
......@@ -21,3 +21,4 @@ gsttcp = library('gsttcp',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsttcp, install_dir : plugins_pkgconfig_install_dir)
......@@ -6,3 +6,4 @@ gsttypefind = library('gsttypefindfunctions',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsttypefind, install_dir : plugins_pkgconfig_install_dir)
......@@ -10,3 +10,4 @@ gstvideoconvert = library('gstvideoconvert',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideoconvert, install_dir : plugins_pkgconfig_install_dir)
......@@ -6,3 +6,4 @@ gstvideorate = library('gstvideorate',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideorate, install_dir : plugins_pkgconfig_install_dir)
......@@ -10,3 +10,4 @@ gstvideoscale = library('gstvideoscale',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideoscale, install_dir : plugins_pkgconfig_install_dir)
......@@ -27,3 +27,4 @@ gstvideotestsrc = library('gstvideotestsrc',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvideotestsrc, install_dir : plugins_pkgconfig_install_dir)
......@@ -26,3 +26,4 @@ gstvolume = library('gstvolume', 'gstvolume.c', orc_c, orc_h,
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvolume, install_dir : plugins_pkgconfig_install_dir)
......@@ -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);' + \
'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')
subdir('ext')
......
......@@ -6,3 +6,4 @@ gstximage = library('gstximagesink',
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstximage, install_dir : plugins_pkgconfig_install_dir)
......@@ -18,4 +18,5 @@ if xvideo_dep.found()
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstxvimage, install_dir : plugins_pkgconfig_install_dir)
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