Snapshot-45.0

Introduction to Snapshot

The Snapshot package contains a program that takes pictures and videos from a Webcam.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Snapshot Dependencies

Required

libadwaita-1.4.0, gst-plugins-bad-1.22.7, and rustc-1.74.0

Required at runtime

pipewire-1.0.0

Installation of Snapshot

[Note]

Note

This package takes a long time to build because LTO is enabled, and the LTO pass is not parallelized.

First, remove a check against the system Pango version that is too strict:

sed '/pango.v1_52/,+1d' -i vendor/pango-sys/Cargo.toml &&

cat >> Cargo.toml << EOF
[patch.crates-io.pango-sys]
path = "vendor/pango-sys"
EOF

Install Snapshot by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=/usr --buildtype=release .. &&
ninja

To test the results, issue: ninja test.

Now, as the root user:

ninja install

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

Contents

Installed Programs: snapshot
Installed Libraries: None
Installed Directories: /usr/share/snapshot

Short Descriptions

snapshot

is a program used to take pictures and videos from a Webcam