obs-xdg-portal didn't compile with OBS 26.1.2 (messing obs-nix-platform.h file)
$ meson ..
The Meson build system
Version: 0.56.2
Source dir: /home/mikhail/packaging-work/git/obs-xdg-portal
Build dir: /home/mikhail/packaging-work/git/obs-xdg-portal/build
Build type: native build
Project name: obs-xdg-portal
Project version: undefined
C compiler for the host machine: ccache cc (gcc 11.0.0 "cc (GCC) 11.0.0 20210130 (Red Hat 11.0.0-0)")
C linker for the host machine: cc ld.bfd 2.35.1-33
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency libobs found: YES 26.1.2
Run-time dependency gio-2.0 found: YES 2.67.3
Run-time dependency gio-unix-2.0 found: YES 2.67.3
Run-time dependency libpipewire-0.3 found: YES 0.3.21
Run-time dependency libspa-0.2 found: YES 0.2
Run-time dependency xdg-desktop-portal found: YES 1.8.0
Build targets in project: 1
Found ninja-1.10.2 at /usr/bin/ninja
$ ninja
[1/5] Compiling C object obs-xdg-portal.so.p/obs-xdg-portal.c.o
FAILED: obs-xdg-portal.so.p/obs-xdg-portal.c.o
ccache cc -Iobs-xdg-portal.so.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -fPIC -D_REENTRANT -pthread -MD -MQ obs-xdg-portal.so.p/obs-xdg-portal.c.o -MF obs-xdg-portal.so.p/obs-xdg-portal.c.o.d -o obs-xdg-portal.so.p/obs-xdg-portal.c.o -c ../obs-xdg-portal.c
../obs-xdg-portal.c:24:10: fatal error: obs/obs-nix-platform.h: No such file or directory
24 | #include <obs/obs-nix-platform.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[4/5] Compiling C object obs-xdg-portal.so.p/pipewire.c.o
../pipewire.c: In function ‘on_process_cb’:
../pipewire.c:350:9: warning: implicit declaration of function ‘gs_texture_create_from_dmabuf’; did you mean ‘gs_texture_create_from_file’? [-Wimplicit-function-declaration]
350 | gs_texture_create_from_dmabuf (xdg->format.info.raw.size.width,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gs_texture_create_from_file
../pipewire.c:349:20: warning: assignment to ‘gs_texture_t *’ {aka ‘struct gs_texture *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
349 | xdg->texture =
| ^
ninja: build stopped: subcommand failed.