#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 33. GNOME Libraries and Desktop

- Prev

  localsearch-3.8.2

- Next

  xdg-desktop-portal-gnome-47.3

- Up
- Home

# GSound-1.0.3

## Introduction to GSound

The gsound package contains a small library for playing system sounds.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/gsound/1.0/gsound-1.0.3.tar.xz

- Download MD5 sum: 7338c295034432a6e782fd20b3d04b68

- Download size: 24 KB

- Estimated disk space required: 864 KB

- Estimated build time: less than 0.1 SBU

### gsound Dependencies

#### Required

libcanberra-0.30

#### Recommended

GLib-2.82.5 (with GObject Introspection) and Vala-0.56.17

#### Optional

GTK-Doc-1.34.0 (for generating documentation)

## Installation of GSound

Install gsound by running the following commands:

    mkdir build &&
    cd    build &&

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

This package does not come with a test suite.

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: gsound-play
Installed Libraries: libgsound.so
Installed Directories: /usr/share/gtk-doc/html/gsound

### Short Descriptions

gsound-play | plays system sounds through the libgsound interface
`libgsound.so` | contains API functions for playing system sounds

- Prev

  localsearch-3.8.2

- Next

  xdg-desktop-portal-gnome-47.3

- Up
- Home