FreeBSD Bugzilla – Attachment 237598 Details for
Bug 267100
graphics/gstreamer1-plugins-gl: fails to build if graphics/libdrm is installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Guard against masked token in gst-libs/gst/allocators/meson.build
patch-gst-libs_gst_gl_meson.build (text/plain), 3.82 KB, created by
Bryan Baldwin
on 2022-10-25 04:06:37 UTC
(
hide
)
Description:
Guard against masked token in gst-libs/gst/allocators/meson.build
Filename:
MIME Type:
Creator:
Bryan Baldwin
Created:
2022-10-25 04:06:37 UTC
Size:
3.82 KB
patch
obsolete
>--- gst-libs/gst/gl/meson.build.orig 2022-06-15 22:36:22.000000000 +0000 >+++ gst-libs/gst/gl/meson.build 2022-10-25 02:24:06.775647000 +0000 >@@ -554,9 +554,11 @@ > gl_platform_deps += egl_dep > glconf.set('GST_GL_HAVE_PLATFORM_EGL', 1) > >- if cc.has_header('libdrm/drm_fourcc.h') >- gl_misc_deps += allocators_dep >- glconf.set('GST_GL_HAVE_DMABUF', 1) >+ if get_option('allocators').enabled() >+ if cc.has_header('libdrm/drm_fourcc.h') >+ gl_misc_deps += allocators_dep >+ glconf.set('GST_GL_HAVE_DMABUF', 1) >+ endif > endif > > egl_includes = ''' >@@ -1049,7 +1051,7 @@ > soversion : soversion, > darwin_versions : osxversion, > install : true, >- dependencies : [gst_base_dep, video_dep, allocators_dep, gmodule_dep, >+ dependencies : [gst_base_dep, dependency('gstreamer-video-1.0'), dependency('gstreamer-allocators-1.0'), gmodule_dep, > gl_lib_deps, gl_platform_deps, gl_winsys_deps, gl_misc_deps], > # don't confuse EGL/egl.h with gst-libs/gl/egl/egl.h on case-insensitive file systems > implicit_include_directories : false) >@@ -1060,10 +1062,10 @@ > 'gl_apis=' + ' '.join(enabled_gl_apis), > ] > >- library_def = {'lib': pbutils} >+ library_def = {'lib': library('gstpbutils-@0@'.format(api_version))} > pkg_name = 'gstreamer-gl-1.0' > pkgconfig.generate(gstgl, >- libraries : [gstvideo, gst_base_dep, gst_dep], >+ libraries : [library('gstvideo-@0@'.format(api_version)), gst_base_dep, gst_dep], > variables : pkgconfig_variables + pkgconfig_gl_variables, > uninstalled_variables : pkgconfig_gl_variables, > subdirs : pkgconfig_subdirs, >@@ -1095,7 +1097,7 @@ > 'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'], > 'install' : true, > 'extra_args' : gir_init_section + ['--c-include=gst/gl/gl.h'], >- 'dependencies' : [video_dep, gst_dep, gst_base_dep], >+ 'dependencies' : [dependency('gstreamer-video-1.0'), gst_dep, gst_base_dep], > } > library_def += {'gir': [gir]} > if not static_build >@@ -1107,7 +1109,7 @@ > gstgl_dep = declare_dependency(link_with : gstgl, > include_directories : [libsinc, compat_includes], > sources: gen_sources, >- dependencies : [video_dep, gst_base_dep]) >+ dependencies : [dependency('gstreamer-video-1.0'), gst_base_dep]) > gstglproto_dep = declare_dependency(dependencies : [gstgl_dep] + gl_lib_deps) > meson.override_dependency('gstreamer-gl-1.0', gstgl_dep) > meson.override_dependency('gstreamer-gl-prototypes-1.0', gstglproto_dep) >@@ -1134,7 +1136,7 @@ > 'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'], > 'install' : true, > 'extra_args' : gir_init_section + ['--c-include=gst/gl/x11/x11.h'], >- 'dependencies' : [video_dep, gst_dep, gst_base_dep] >+ 'dependencies' : [dependency('gstreamer-video-1.0'), gst_dep, gst_base_dep] > } > gir_dict = gir + {'includes': gir['includes'] + ['GstGL-1.0']} > libraries += [[pkg_name, {'gir': gir_dict}]] >@@ -1170,7 +1172,7 @@ > 'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'], > 'install' : true, > 'extra_args' : gir_init_section + ['--c-include=gst/gl/wayland/wayland.h'], >- 'dependencies' : [video_dep, gst_dep, gst_base_dep] >+ 'dependencies' : [dependency('gstreamer-video-1.0'), gst_dep, gst_base_dep] > } > > gir_dict = gir + {'includes': gir['includes'] + ['GstGL-1.0']} >@@ -1206,7 +1208,7 @@ > 'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'], > 'install' : true, > 'extra_args' : gir_init_section + ['--c-include=gst/gl/egl/egl.h'], >- 'dependencies' : [video_dep, gst_dep, gst_base_dep] >+ 'dependencies' : [dependency('gstreamer-video-1.0'), gst_dep, gst_base_dep] > } > gir_dict = gir + {'includes': gir['includes'] + ['GstGL-1.0']} > libraries += [[pkg_name, {'gir': gir_dict}]]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267100
:
237598
|
237599
|
237600