Difference between revisions of "Xine Libraries"

From CBLFS
Jump to navigationJump to search
(Multilib)
(32Bit)
Line 58: Line 58:
 
  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 \
     --prefix=/usr --enable-static --with-xv-path=${XORG_PREFIX} &&
+
     --prefix=/usr --enable-static --build=${CLFS_TARGET32} \
 +
    --with-xv-path=${XORG_PREFIX} &&
 
  make
 
  make
  

Revision as of 16:23, 10 October 2006

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

Dependencies

Required

Optional

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