libvorbis-1.3.7

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 7. Audio

- Prev

  libogg-1.3.6

- Next

  FLAC-1.5.0

- Up
- Home

# libvorbis-1.3.7

## Introduction to libvorbis

The libvorbis package contains a general purpose audio and music encoding format. This is useful for creating (encoding) and playing (decoding) sound in an open (patent free) format.

- Download: https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.tar.xz

### libvorbis Dependencies

Required
libogg-1.3.6
Optional
doxygen and texlive (or install-tl-unx) (specifically, pdflatex and htlatex) to build the PDF documentation

## Installation of libvorbis

Install libvorbis by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

Now, as the `root` user:

    make install &&
    install -vDm644 doc/Vorbis* \
      -t /usr/share/doc/libvorbis-1.3.7/

## lib32 Installation of libvorbis

Install lib32-libvorbis by running the following commands:

    make distclean &&
    CC="gcc -m32" CXX="g++ -m32"         \
    ./configure --prefix=/usr            \
                --libdir=/usr/lib32      \
                --host=i686-pc-linux-gnu \
                --disable-static &&

    make

Now, as the `root` user:

    make DESTDIR=$PWD/DESTDIR install     &&
    cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
    rm -rf DESTDIR                        &&
    ldconfig

## Command Explanations

### Note

Run ./configure --help for a full list of options.

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--enable-docs`: This switch enables building the documentation in formats other than the supplied html.

## Contents

Installed Programs: None
Installed Libraries: libvorbis, libvorbisenc, and libvorbisfile
Installed Directories: /usr/include/vorbis and /usr/share/doc/libvorbis-1.3.7

### Short Descriptions

`libvorbis` | provides the functions used to read and write sound files

- Prev

  libogg-1.3.6

- Next

  FLAC-1.5.0

- Up
- Home