libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz
Download SHA256 Sum: c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
Download MD5 sum: 34cb7e4430afaf6f447c4ebdb9b42072
Download size: 2,277.5 KB
Estimated disk space required: 5,399.2 KB
Estimated build time: less than 0.5 SBU
Required patch: https://www.linuxfromscratch.org/patches/downloads/libcanberra/libcanberra-0.30-wayland-1.patch
Patch SHA256 Sum: e48ce8f952c2b71e38866b95aa21e02437924ed6f9c4409b64e8e4cb392b9013
the section called “libvorbis-1.3.7”
alsa-lib-1.2.14, gstreamer-1.26.9, and GTK-3.24.51
First, apply a patch to fix an issue causing some applications to crash in Wayland-based desktop environments:
patch -Np1 -i ../libcanberra-0.30-wayland-1.patch
Prepare libcanberra by running the following commands:
./configure --prefix=/usr --disable-oss
Now Build the package, issue:
make
This package does not come with a test suite.
Now Install the package, as the root user:
make docdir=/usr/share/doc/libcanberra-0.30 install
--disable-oss: disables optional deprecated OSS
support
--disable-gtk3: disables optional support for GTK+-3