gstreamer-rs/gstreamer-gl/sys/Gir.toml
Marijn Suijten c58f2b09d2 gl/sys/gir: New buffer/memory get_type functions are only in 1.20
G-IR cannot read or represent `Since:` annotations on get_type()-like
functions, despite these being available in the source. This adds the
type requirements manually following its implementation in [1],
considering it will not be backported to 1.18.x [2]. If `get_type` is
used in manual bindings after 1.20 releases this version requirement is
easily caught.

[1]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/999
[2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1010
2021-03-02 10:20:11 +01:00

61 lines
1 KiB
TOML

[options]
girs_dir = "../../gir-files"
library = "GstGL"
version = "1.0"
min_cfg_version = "1.14"
work_mode = "sys"
extra_versions = [
"1.20",
"1.18",
"1.16",
]
ignore = [
"GstGL.GL_COLOR_CONVERT_VIDEO_CAPS",
"GstGL.GL_COLOR_CONVERT_FORMATS",
"GstGL.GL_MEMORY_VIDEO_FORMATS_STR",
]
external_libraries = [
"GLib",
"GObject",
]
[external_libraries]
gstreamer="Gst"
gstreamer-base="GstBase"
gstreamer-video="GstVideo"
#[[object]]
#name = "GstGL.GL_COLOR_CONVERT_VIDEO_CAPS"
#status = "manual"
[[object]]
name = "GstGL.GLBuffer"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"
[[object]]
name = "GstGL.GLMemory"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"
[[object]]
name = "GstGL.GLMemoryPBO"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"
[[object]]
name = "GstGL.GLRenderbuffer"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"