Difference between revisions of "Xine Libraries"

From CBLFS
Jump to navigationJump to search
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://prdownloads.sourceforge.net/xine/xine-lib-{{Xine Libraries-Version}}.tar.bz2
 
| http://prdownloads.sourceforge.net/xine/xine-lib-{{Xine Libraries-Version}}.tar.bz2
 +
|-
 +
| http://svn.cross-lfs.org/svn/repos/patches/xine-lib/xine-lib-{{Xine Libraries-Version}}-HEADERFIX-1.patch
 
|}
 
|}
  
Line 57: Line 59:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-HEADERFIX-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 70: Line 73:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-HEADERFIX-1.patch &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure \
Line 85: Line 89:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-HEADERFIX-1.patch &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" ./configure \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" ./configure \
Line 100: Line 105:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-HEADERFIX-1.patch &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure \

Revision as of 09:42, 29 October 2008

Download Source: http://prdownloads.sourceforge.net/xine/xine-lib-1.1.18.1.tar.bz2
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