Difference between revisions of "Xine Libraries"

From CBLFS
Jump to navigationJump to search
m
(remove patch - build fix with new version)
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
|-
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/xine-lib/xine-lib-{{Xine Libraries-Version}}-headers-1.patch
 
|-
 
 
|}
 
|}
  
Line 61: Line 57:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-headers-1.patch &&
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 75: Line 70:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-headers-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 91: Line 85:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-headers-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 107: Line 100:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-headers-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 12:46, 7 January 2008

Download Source: http://prdownloads.sourceforge.net/xine/xine-lib-1.1.18.1.tar.bz2

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:

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

Install the package

make install

Multilib

32Bit

Compile the package:

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:

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:

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