Xine Libraries

From CBLFS
Revision as of 09:43, 29 October 2008 by Oppiz (talk | contribs)
Jump to navigationJump to search
Download Source:
http://prdownloads.sourceforge.net/xine/xine-lib-1.1.18.1.tar.bz2
Download Patch:
http://svn.cross-lfs.org/svn/repos/patches/xine-lib/xine-lib-1.1.18.1-HEADERFIX-1.patch

Introduction to Xine Libraries

The Xine Libraries package contains Xine libraries. These are useful for interfacing with external plugins that allow the flow of information from the source to the screen and speakers.

Project Homepage: http://www.xinehq.de/

Dependencies

Required

Recommended

Optional

Configuration Information

--with-internal-vcdlibs: Use this option if vcdplugin build fails with vcdimager.
--enable-directfb: Add DirectFB support
--with-w32-path: Specify where win32 codecs are installed. See MPlayer.

Non-Multilib

Compile the package:

patch -Np1 -i ../xine-lib-1.1.18.1-HEADERFIX-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../xine-lib-1.1.18.1-HEADERFIX-1.patch &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure \
    --prefix=/usr --enable-static --build=${CLFS_TARGET32} \
    --with-xv-path=${XORG_PREFIX} &&
make

Install the package

make install &&
mv -v /usr/bin/xine-config{,-32}

N32

Compile the package:

patch -Np1 -i ../xine-lib-1.1.18.1-HEADERFIX-1.patch &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" ./configure \
    --prefix=/usr --libdir=/usr/lib32 \
    --enable-static --with-xv-path=${XORG_PREFIX} &&
make

Install the package

make install &&
mv -v /usr/bin/xine-config{,-n32}

64Bit

Compile the package:

patch -Np1 -i ../xine-lib-1.1.18.1-HEADERFIX-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure \
    --prefix=/usr --libdir=/usr/lib64 \
    --enable-static --with-xv-path=${XORG_PREFIX} &&
make

Install the package

make install &&
mv -v /usr/bin/xine-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/xine-config

Contents

Installed Programs: xine-config
Installed Libraries: libxine.{la,so}
Installed Directory: /usr/share/doc/xine-lib, /usr/share/xine, /usr/include/xine, /usr/lib/xine/plugins/1.1.18.1