Commit e9b740d8 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

meson: set info variables in gstreamer-gl .pc file

parent 656886e7
...@@ -22,7 +22,6 @@ pkgconf.set('rtsplibdir', join_paths(meson.build_root(), gst_rtsp.outdir())) ...@@ -22,7 +22,6 @@ pkgconf.set('rtsplibdir', join_paths(meson.build_root(), gst_rtsp.outdir()))
pkgconf.set('sdplibdir', join_paths(meson.build_root(), gstsdp.outdir())) pkgconf.set('sdplibdir', join_paths(meson.build_root(), gstsdp.outdir()))
pkgconf.set('taglibdir', join_paths(meson.build_root(), gsttag.outdir())) pkgconf.set('taglibdir', join_paths(meson.build_root(), gsttag.outdir()))
pkgconf.set('videolibdir', join_paths(meson.build_root(), gstvideo.outdir())) pkgconf.set('videolibdir', join_paths(meson.build_root(), gstvideo.outdir()))
pkgconf.set('gllibdir', join_paths(meson.build_root(), gstgl.outdir()))
pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir')) pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
...@@ -39,9 +38,17 @@ pkg_files = [ ...@@ -39,9 +38,17 @@ pkg_files = [
'gstreamer-sdp', 'gstreamer-sdp',
'gstreamer-tag', 'gstreamer-tag',
'gstreamer-video', 'gstreamer-video',
'gstreamer-gl',
] ]
# XXX: requires the meson.build to be parsed/executed after gst-libs/gl/meson.build
if build_gstgl
pkgconf.set('gllibdir', join_paths(meson.build_root(), gstgl.outdir()))
pkg_files += ['gstreamer-gl']
pkgconf.set('GL_APIS', ' '.join(enabled_gl_apis))
pkgconf.set('GL_WINDOWS', ' '.join(enabled_gl_winsys))
pkgconf.set('GL_PLATFORMS', ' '.join(enabled_gl_platforms))
endif
foreach p : pkg_files foreach p : pkg_files
infile = p + '.pc.in' infile = p + '.pc.in'
outfile = p + '-1.0.pc' outfile = p + '-1.0.pc'
......
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