Difference between revisions of "X264"

From CBLFS
Jump to navigationJump to search
Line 12: Line 12:
  
 
=== Optional ===
 
=== Optional ===
 +
* [[GIT]]
 
* [[Subversion]]
 
* [[Subversion]]
 
* [[NASM]] (X86 only)
 
* [[NASM]] (X86 only)

Revision as of 17:22, 8 August 2009

Download Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20100513-2245.tar.bz2

Introduction to X264

Project Homepage: Unknown

Dependencies

Optional

Configuration Information

--enable-mp4-output enables mp4 output.
--enable-gtk build GTK+ interface.
--enable-visualize enables visualization (X11 only).

Non-Multilib

If you have a X Window System installed and intend to pass --enable-visualize then run the following command:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" configure

Compile the package:

./configure --prefix=/usr --enable-shared --enable-pic \
    --extra-cflags="-I${XORG_PREFIX-/usr}/include" &&
make

Install the package

make install

Multilib

32Bit

If you have a X Window System installed and intend to pass --enable-visualize then run the following command:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" configure

Compile the package:

CC="gcc ${BUILD32}" ./configure --host=$CLFS_TARGET32 \
    --prefix=/usr --enable-shared --enable-pic \
    --extra-cflags="-I${XORG_PREFIX-/usr}/include" &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" make

Install the package

make install

N32

If you have a X Window System installed and intend to pass --enable-visualize then run the following command:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" configure

Compile the package:

sed -i "s@/lib@&32@g" configure &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 \
    --enable-shared --enable-pic \
    --extra-cflags="-I${XORG_PREFIX-/usr}/include" &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" make

Install the package

make install

64Bit

If you have a X Window System installed and intend to pass --enable-visualize then run the following command:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" configure

Compile the package:

sed -i "s@/lib@&64@g" configure &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr\
    --libdir=/usr/lib64 \
    --enable-shared --enable-pic \
    --extra-cflags="-I${XORG_PREFIX-/usr}/include" &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" make

Install the package

make install

Contents

Installed Programs: None
Installed Libraries: libx264.{a,so}
Installed Directory: None
Retrieved from "?title=X264&oldid=18854"