| 105 | |
| 106 | == Libcamera support == |
| 107 | |
| 108 | GNOME Snapshot (a replacement for Cheese) needs a functional pipewire daemon (i. e. requiring wireplumber) built with libcamera. |
| 109 | |
| 110 | libcamera dependencies are listed at https://libcamera.org/getting-started.html. |
| 111 | Everything required all recommended is in BLFS, except a Python module named ply. |
| 112 | |
| 113 | Install ply (https://files.pythonhosted.org/packages/source/p/ply/ply-3.11.tar.gz): |
| 114 | |
| 115 | {{{ |
| 116 | pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD |
| 117 | sudo pip3 install --no-index --find-links=dist --no-cache-dir --no-user ply |
| 118 | }}} |
| 119 | |
| 120 | There is no website for libcamera release tarballs. Clone the git repository and checkout the latest release tag: |
| 121 | |
| 122 | {{{ |
| 123 | git clone https://git.libcamera.org/libcamera/libcamera.git |
| 124 | git checkout v0.1.0 |
| 125 | }}} |
| 126 | |
| 127 | Now install it: |
| 128 | |
| 129 | {{{ |
| 130 | mkdir build |
| 131 | cd build |
| 132 | meson setup --prefix=/usr --buildtype=release --wrap-mode=nodownload -Dwerror=false |
| 133 | ninja |
| 134 | sudo ninja install |
| 135 | }}} |
| 136 | |
| 137 | Then (re)build pipewire and libcamera should be automatically detected and enabled. |