mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Revert "meson: Fix invalid include flag in uninstalled gl pc file"
This reverts commit 9d719b9937
.
The old pkg-config implementation errors out if a variable specified
in the pkgconfig file is not defined, so this actually broke
uninstalled pc files.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7191>
This commit is contained in:
parent
e91ffae1f0
commit
6ce72488fa
1 changed files with 2 additions and 5 deletions
|
@ -1113,18 +1113,15 @@ if build_gstgl
|
|||
'gl_winsys=' + ' '.join(enabled_gl_winsys),
|
||||
'gl_apis=' + ' '.join(enabled_gl_apis),
|
||||
]
|
||||
pkgconfig_installed_variables = [
|
||||
'libinc=-I${libdir}/gstreamer-1.0/include',
|
||||
]
|
||||
|
||||
library_def = {'lib': gstgl}
|
||||
pkg_name = 'gstreamer-gl-1.0'
|
||||
pkgconfig.generate(gstgl,
|
||||
libraries : [gstvideo, gst_base_dep, gst_dep],
|
||||
variables : pkgconfig_variables + pkgconfig_gl_variables + pkgconfig_installed_variables,
|
||||
variables : pkgconfig_variables + pkgconfig_gl_variables,
|
||||
uninstalled_variables : pkgconfig_gl_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
extra_cflags : ['${libinc}'],
|
||||
extra_cflags : ['-I${libdir}/gstreamer-1.0/include'],
|
||||
name : pkg_name,
|
||||
description : 'Streaming media framework, OpenGL plugins libraries',
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue