xine-lib-1.2.9

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  x265-3.1.2

- Next

  XviD-1.3.5

- Up
- Home

# xine-lib-1.2.9

## Introduction to Xine Libraries

The Xine Libraries package contains xine libraries. These are useful for interfacing with external plug-ins that allow the flow of information from the source to the audio and video hardware.

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

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/xine/xine-lib-1.2.9.tar.xz

- Download (FTP): ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/xine-lib-1.2.9.tar.xz

- Download MD5 sum: cd42d2ba92f943d17736d9bca712b3d1

- Download size: 5.0 MB

- Estimated disk space required: 96 MB (add 130 MB for API documentation)

- Estimated build time: 1.5 SBU (add 0.1 SBU for API documentation)

### Xine Libraries Dependencies

#### Required

X Window System, FFmpeg-4.2, and at least one of: ALSA-1.1.9, PulseAudio-12.2 or JACK

#### Recommended

libdvdnav-6.0.0

#### Optional

AAlib-1.4rc5, FAAD2-2.8.8, FLAC-1.3.3, gdk-pixbuf-2.38.1, GLU-9.0.1, ImageMagick-7.0.8-60, liba52-0.7.4, libmad-0.15.1b, libmng-2.0.3, libtheora-1.1.1, libva-2.5.0 (requires GLU-9.0.1), libvdpau-1.2, libvorbis-1.3.6, libvpx-1.8.1, Mesa-19.1.4, Samba-4.10.7, SDL-1.2.15, Speex-1.2.0, Doxygen-1.8.16 (to create the API documentation), v4l-utils-1.16.6 DirectFB, libbluray, libcaca, libdca, libFAME, libmodplug, musepack, VCDImager, and WavPack,

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xine-lib

## Installation of Xine Libraries

Install Xine Libraries by running the following commands:

    sed -e 's|wand/magick_wand.h|MagickWand/MagickWand.h|' \
        -i src/video_dec/image.c &&

    sed -e 's/\(xcb-shape >= 1.0\)/xcb \1/' \
        -i m4/video_out.m4 &&

    ./configure --prefix=/usr          \
                --disable-vcd          \
                --with-external-dvdnav \
                --docdir=/usr/share/doc/xine-lib-1.2.9 &&
    make

To create the API documentation, Doxygen must be installed and issue the following command:

    doxygen doc/Doxyfile

This package does not come with a test suite.

Now, as the `root` user:

    make install

### Note

When installing, the Makefile does some additional linking. If you do not have Xorg in /usr, the LIBRARY_PATH variable needs to be defined for the root user. If using sudo to assume root, use the -E option to pass your current environment variables for the install process.

If you built the API documentation, issue the following commands as the `root` user to install it:

    install -v -m755 -d /usr/share/doc/xine-lib-1.2.9/api &&
    install -v -m644    doc/api/* \
                        /usr/share/doc/xine-lib-1.2.9/api

## Command Explanations

sed ...: These commands enable the package to be built with ImageMagick-7.0.8-60 and libxcb-1.13.1.

`--disable-vcd`: This switch is required to compile Xine Lib without VCDImager installed. Remove this option if you have installed VCDImager.

`--with-external-dvdnav`: This switch is required, because internal libraries cannot decrypt DVD.

`--docdir=/usr/share/doc/xine-lib-1.2.9`: This switch causes the documentation to be installed into a versioned directory instead of the default `/usr/share/doc/xine-lib`.

`--disable-vaapi`: use this switch if libva-2.5.0 is installed and GLU-9.0.1 is not, to prevent a build failure.

## Contents

Installed Programs: xine-config and xine-list-1.2
Installed Libraries: libxine.so and numerous plugin modules and video extensions under /usr/lib/xine/plugins/2.7
Installed Fonts: Output display engine fonts located in /usr/share/xine-lib/fonts
Installed Directories: /usr/include/xine, /usr/lib/xine, /usr/share/xine-lib, and /usr/share/doc/xine-lib-1.2.9

### Short Descriptions

xine-config | provides information to programs trying to link with the xine libraries.
xine-list-1.2 | is used to get supported filetype information from xine-lib.
`libxine.so` | provides the API for processing audio/video files.

Last updated on 2019-08-18 18:01:59 -0700

- Prev

  x265-3.1.2

- Next

  XviD-1.3.5

- Up
- Home