also I seem to be unable to build the package due to libspa-libcamera issues? This is using the latest libcamera-git
package, which is also available in the AUR
[232/724] Compiling C++ object spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o
FAILED: spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o
c++ -Ispa/plugins/libcamera/libspa-libcamera.so.p -Ispa/plugins/libcamera -I../pipewire/spa/plugins/libcamera -Ispa/include -I../pipewire/spa/include -I/usr/include/libcamera -I/usr/include/libdrm -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -fvisibility=hidden -Werror=suggest-attribute=format -Wsign-compare -Wpointer-arith -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o -MF spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o.d -o spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o -c ../pipewire/spa/plugins/libcamera/libcamera-source.cpp
In file included from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:175:
../pipewire/spa/plugins/libcamera/libcamera-utils.cpp: In function ‘int mmap_init(impl*, port*, spa_buffer**, uint32_t)’:
../pipewire/spa/plugins/libcamera/libcamera-utils.cpp:561:67: error: ‘const class libcamera::SharedFD’ has no member named ‘fd’; did you mean ‘std::shared_ptr<libcamera::SharedFD::Descriptor> libcamera::SharedFD::fd_’? (not accessible from this context)
561 | d[j].fd = bufs[i]->planes()[j].fd.fd();
| ^~
In file included from /usr/include/libcamera/libcamera/framebuffer.h:16,
from /usr/include/libcamera/libcamera/stream.h:15,
from /usr/include/libcamera/libcamera/camera.h:21,
from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:54:
/usr/include/libcamera/libcamera/base/shared_fd.h:46:37: note: declared private here
46 | std::shared_ptr<Descriptor> fd_;
| ^~~
In file included from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:175:
../pipewire/spa/plugins/libcamera/libcamera-utils.cpp:571:73: error: ‘const class libcamera::SharedFD’ has no member named ‘fd’; did you mean ‘std::shared_ptr<libcamera::SharedFD::Descriptor> libcamera::SharedFD::fd_’? (not accessible from this context)
571 | bufs[i]->planes()[j].fd.fd(),
| ^~
In file included from /usr/include/libcamera/libcamera/framebuffer.h:16,
from /usr/include/libcamera/libcamera/stream.h:15,
from /usr/include/libcamera/libcamera/camera.h:21,
from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:54:
/usr/include/libcamera/libcamera/base/shared_fd.h:46:37: note: declared private here
46 | std::shared_ptr<Descriptor> fd_;
| ^~~
[249/724] Linking target spa/plugins/alsa/libspa-alsa.so
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments