Difference between revisions of "Xine Libraries"

From CBLFS
Jump to navigationJump to search
m
m
Line 5: Line 5:
 
|-
 
|-
 
!Download Patch:
 
!Download Patch:
| http://svn.cross-lfs.org/svn/repos/patches/xine-lib/xine-lib-1.1.8-headers-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/xine-lib/xine-lib-{{Xine Libraries-Version}}-headers-1.patch
 
|-
 
|-
 
|}
 
|}
Line 61: Line 61:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../xine-lib-1.1.8-headers-1.patch &&
+
  patch -Np1 -i ../xine-lib-{{Xine Libraries-Version}}-headers-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 75: Line 75:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../xine-lib-1.1.8-headers-1.patch &&
+
  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 91:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../xine-lib-1.1.8-headers-1.patch &&
+
  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 107:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../xine-lib-1.1.8-headers-1.patch &&
+
  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 10:14, 4 November 2007

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-headers-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-headers-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-headers-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-headers-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-headers-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